Skip to content

Commit

Permalink
Adding proper images for joystick.
Browse files Browse the repository at this point in the history
  • Loading branch information
lanceewing committed Mar 19, 2024
1 parent 572aabf commit 354b09f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions core/src/main/java/com/agifans/agile/GameScreen.java
Original file line number Diff line number Diff line change
Expand Up @@ -139,8 +139,8 @@ public GameScreen(Agile agile, AgileRunner agileRunner, DialogHandler dialogHand

protected Touchpad createTouchpad() {
Skin touchpadSkin = new Skin();
touchpadSkin.add("touchBackground", new Texture("png/touchBackground.png"));
touchpadSkin.add("touchKnob", new Texture("png/touchKnob.png"));
touchpadSkin.add("touchBackground", new Texture("png/joystick_background.png"));
touchpadSkin.add("touchKnob", new Texture("png/joystick_knob.png"));
TouchpadStyle touchpadStyle = new TouchpadStyle();
Drawable touchBackground = touchpadSkin.getDrawable("touchBackground");
Drawable touchKnob = touchpadSkin.getDrawable("touchKnob");
Expand Down

0 comments on commit 354b09f

Please sign in to comment.