ismaPC95

GAMEPAD JUST DOWN

Recommended Posts

Hello guys,

 

how can I control the download event with a gamepad? I just want an action while pressing the button. To do the same action, I'm going to press the button again.

I need this action, but with a gamepadd button. 

Tahnk you all :)

(Phaser.Input.Keyboard.JustDown(cursors.up)
 
 
//the gamepad
pad = this.input.gamepad.getPad(0);

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.