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