Searched refs:gameWidth (Results 1 - 15 of 15) sorted by relevance
/external/replicaisland/src/com/replica/replicaisland/ |
H A D | ContextParameters.java | 26 public int gameWidth; field in class:ContextParameters
|
H A D | LevelBuilder.java | 92 final int idealSize = (int)Math.max(params.gameWidth * 1.5f, params.gameHeight * 1.5f); 104 final float scrollSpeedX = Math.min((float)(width - params.gameWidth) / (levelWidth - params.gameWidth), 1.0f);
|
H A D | DebugSystem.java | 62 + (params.gameWidth / 2)); 66 if (mWorkVector.x + width >= 0.0f && mWorkVector.x < params.gameWidth
|
H A D | RenderComponent.java | 62 + (params.gameWidth / 2));
|
H A D | DrawableFactory.java | 95 result.setViewSize(params.gameWidth, params.gameHeight);
|
H A D | GameRenderer.java | 64 public GameRenderer(Context context, Game game, int gameWidth, int gameHeight) { argument 67 mWidth = gameWidth; 69 mHalfWidth = gameWidth / 2;
|
H A D | HudSystem.java | 245 mFlyButtonLocation.set(params.gameWidth - FLY_BUTTON_WIDTH - FLY_BUTTON_X, FLY_BUTTON_Y); 246 mStompButtonLocation.set(params.gameWidth - STOMP_BUTTON_WIDTH - STOMP_BUTTON_X, STOMP_BUTTON_Y); 388 mCoinLocation.x = (params.gameWidth / 2.0f) - tex.width / 2.0f; 408 mRubyLocation.x = (params.gameWidth / 2.0f) + 100.0f; 427 mFPSLocation.set(params.gameWidth - 10.0f - ((count + 1) * (mDigitDrawables[0].getWidth() / 2.0f)), 10.0f); 454 bitmap.setWidth(params.gameWidth);
|
H A D | ScrollerComponent.java | 80 mHalfWidth = sSystemRegistry.contextParameters.gameWidth / 2.0f; //width / 2.0f;
|
H A D | CameraSystem.java | 173 final float width = sSystemRegistry.contextParameters.gameWidth / 2.0f; 190 final float width = sSystemRegistry.contextParameters.gameWidth;
|
H A D | Game.java | 62 public void bootstrap(Context context, int viewWidth, int viewHeight, int gameWidth, int gameHeight, int difficulty) { argument 64 mRenderer = new GameRenderer(context, this, gameWidth, gameHeight); 74 params.gameWidth = gameWidth; 76 params.viewScaleX = (float)viewWidth / gameWidth;
|
H A D | LevelSystem.java | 147 scrollSpeed, params.gameWidth, params.gameHeight,
|
H A D | LifetimeComponent.java | 95 if (dx > context.gameWidth || dy > context.gameHeight) {
|
H A D | InputGameInterface.java | 205 flyButtonRegionX = params.gameWidth - ButtonConstants.FLY_BUTTON_REGION_WIDTH - ButtonConstants.FLY_BUTTON_REGION_X; 206 stompButtonRegionX = params.gameWidth - ButtonConstants.STOMP_BUTTON_REGION_WIDTH - ButtonConstants.STOMP_BUTTON_REGION_X;
|
H A D | PatrolComponent.java | 212 if (dx > context.gameWidth / 2.0f || dy > context.gameHeight / 2.0f) {
|
H A D | GameObjectFactory.java | 194 final float halfWidth2 = (context.gameWidth * 0.5f) * (context.gameWidth * 0.5f); 6490 object.width = params.gameWidth;
|
Completed in 540 milliseconds