Android Open Source - Layrd Layrd Logic






From Project

Back to project page Layrd.

License

The source code is released under:

MIT License

If you think the Android project Layrd listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.

Java Source Code

/* This class load from a file and hold all the setting of the game system
 * // www .j ava 2s  .co m
 * 
 * Game Setting:
 * This provide field where user can change the setting at any given time
 * 
 * 
 * Game Constant:
 * This provide the flexibility change based on size of the screen (hopefully)
 * 
 */

package com.Voltronics.game;

public class LayrdLogic {
  
  public static float SCREEN_WIDTH;
  public static float SCREEN_HEIGHT;
  
  public static float PLAYER_WIDTH;
  public static float PLAYER_HEIGHT;
  
  public static int LOSE_COUNT_WARNING = 5;
  public static float PLAY_TIME_WARNING = 10000;
  
  public static float FRAME_RATE = 60;
  public static float SEC_PER_FRAME = 1.0f/FRAME_RATE;
  
  
  
  
  
  

}




Java Source Code List

com.Voltronics.game.GameObject.java
com.Voltronics.game.LayrdGame.java
com.Voltronics.game.LayrdGoogleGameInterface.java
com.Voltronics.game.LayrdGraphics.java
com.Voltronics.game.LayrdInput.java
com.Voltronics.game.LayrdLogic.java
com.Voltronics.game.LayrdPhysics.java
com.Voltronics.game.LayrdScreenGame.java
com.Voltronics.game.LayrdScreenMainMenu.java
com.Voltronics.game.LayrdSound.java
com.Voltronics.game.LayrdWorld.java
com.Voltronics.game.Player.java
com.Voltronics.game.TutorialScreen.java
com.Voltronics.game.android.AndroidLauncher.java
com.google.example.games.basegameutils.BaseGameActivity.java
com.google.example.games.basegameutils.GameHelperUtils.java
com.google.example.games.basegameutils.GameHelper.java