• R/O
  • SSH

Commit

Tags
No Tags

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

Commit MetaInfo

Revisión2048f66df884fd49bc1d97f2d2b25c4b10081a03 (tree)
Tiempo2022-01-21 04:57:38
Autorsebastian_bugiu
Commitersebastian_bugiu

Log Message

Changed controls to be relative to current position.

Cambiar Resumen

Diferencia incremental

diff -r c2baf83f34a1 -r 2048f66df884 core/src/com/headwayent/spacerocket/InGameInputProcessor.java
--- a/core/src/com/headwayent/spacerocket/InGameInputProcessor.java Fri Jan 14 17:32:15 2022 +0200
+++ b/core/src/com/headwayent/spacerocket/InGameInputProcessor.java Thu Jan 20 21:57:38 2022 +0200
@@ -361,6 +361,7 @@
361361 // (yPos > yTopArrows) && (yPos < yBottomArrows)) {
362362 float xDiff = screenX - arrowPointerInitialPos.x;
363363 float yDiff = screenY - arrowPointerInitialPos.y;
364+ arrowPointerInitialPos.set(screenX, screenY);
364365 xDiff = Utility.clamp(xDiff, -GraphicsManager.ARROWS_X_OFFSET, GraphicsManager.ARROWS_X_OFFSET);
365366 yDiff = Utility.clamp(yDiff, -GraphicsManager.ARROWS_X_OFFSET, GraphicsManager.ARROWS_X_OFFSET);
366367 gfx.resetArrowSpritePosition();
diff -r c2baf83f34a1 -r 2048f66df884 ios/robovm.properties
--- a/ios/robovm.properties Fri Jan 14 17:32:15 2022 +0200
+++ b/ios/robovm.properties Thu Jan 20 21:57:38 2022 +0200
@@ -2,5 +2,5 @@
22 app.id=com.headwayent.spacerocket
33 app.mainclass=com.headwayent.spacerocket.IOSLauncher
44 app.executable=IOSLauncher
5-app.build=12
5+app.build=13
66 app.name=Hotshot 2D