Skip to content

Commit

Permalink
add accept and cancel buttons
Browse files Browse the repository at this point in the history
  • Loading branch information
Geokureli committed Oct 30, 2024
1 parent 16de61c commit f897537
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
Binary file added Input/GamepadTest/assets/Accept.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Input/GamepadTest/assets/Cancel.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions Input/GamepadTest/source/GamepadSprite.hx
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,9 @@ class GamepadSprite extends FlxSpriteGroup
createInputSprite(395, 123, "A", A);
createInputSprite(433, 84, "B", B);

createInputSprite(483, 90, "Cancel", CANCEL);
createInputSprite(483, 130, "Accept", ACCEPT);

createInputSprite(357, 234, "Extra0", EXTRA_0, Invisible);
createInputSprite(395, 234, "Extra1", EXTRA_1, Invisible);
createInputSprite(433, 234, "Extra2", EXTRA_2, Invisible);
Expand Down

0 comments on commit f897537

Please sign in to comment.