Search the Community

Showing results for tags 'triggers'.



More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • HTML5 Game Coding
    • News
    • Game Showcase
    • Facebook Instant Games
    • Web Gaming Platform
    • Coding and Game Design
  • Frameworks
    • Phaser 3
    • Phaser 2
    • Pixi.js
    • Babylon.js
    • Panda 2
    • melonJS
    • Haxe JS
    • Kiwi.js
  • General
    • General Talk
  • Business
    • Collaborations (un-paid)
    • Jobs (Hiring and Freelance)
    • Services Offered

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


Website URL


Twitter


Skype


Location


Interests

Found 2 results

  1. Hey guys... while refactoring some code, I ran off down the path of changing my old picking method (Raycasting, etc) to use actions... specifically OnPickTrigger with ExecuteCodeAction. But... I was a bit confused when I could not find the picked point on the mesh in the event data. Am I missing something?
  2. Hi there, I have been working on porting a Phaser game onto Amazon's Fire TV and am having problems with getting button and axis input from the fire controllers. The left analog stick shows up as being on axis 0 and 1 (and is fully functional), but the right analog stick does not show up on any axis between 1-100. Similarly, both triggers do not show up on any buttons or axis' between 1-100. I have tried using Xbox 360 controllers on the Fire TV and the same issues are present. I have also tried creating the APK with both CocoonJS and Crosswalk, with the issue remaining on both. Has anyone else had any luck with getting the Fire controllers working with Phaser? Or does anyone have any pointers on where I could be going wrong? Below is the code I am using to display any active buttons or axis if(this.gamepad.connected){ this.debugTxt.text = ""; for(var i = 0; i<100; i++) { if(this.gamepad.axis(i) > 0.1) { this.debugTxt.text += " A"+i; } if(this.gamepad.getButton(i)!=null) { if(this.gamepad.getButton(i).isDown) this.debugTxt.text += " B"+i; } }}Any help is much appreciated!