Revisión | 2048f66df884fd49bc1d97f2d2b25c4b10081a03 (tree) |
---|---|
Tiempo | 2022-01-21 04:57:38 |
Autor | sebastian_bugiu |
Commiter | sebastian_bugiu |
Changed controls to be relative to current position.
@@ -361,6 +361,7 @@ | ||
361 | 361 | // (yPos > yTopArrows) && (yPos < yBottomArrows)) { |
362 | 362 | float xDiff = screenX - arrowPointerInitialPos.x; |
363 | 363 | float yDiff = screenY - arrowPointerInitialPos.y; |
364 | + arrowPointerInitialPos.set(screenX, screenY); | |
364 | 365 | xDiff = Utility.clamp(xDiff, -GraphicsManager.ARROWS_X_OFFSET, GraphicsManager.ARROWS_X_OFFSET); |
365 | 366 | yDiff = Utility.clamp(yDiff, -GraphicsManager.ARROWS_X_OFFSET, GraphicsManager.ARROWS_X_OFFSET); |
366 | 367 | gfx.resetArrowSpritePosition(); |
@@ -2,5 +2,5 @@ | ||
2 | 2 | app.id=com.headwayent.spacerocket |
3 | 3 | app.mainclass=com.headwayent.spacerocket.IOSLauncher |
4 | 4 | app.executable=IOSLauncher |
5 | -app.build=12 | |
5 | +app.build=13 | |
6 | 6 | app.name=Hotshot 2D |