i-programmer Posted May 24, 2015 Share Posted May 24, 2015 Hi! I found some strange thing when I started to use phaser) If I hold any button on keyborad with UP ARROW on keyboard and trying to move left using arrow " <- " - player doesn't move. But if I press RIGHT ARROW " ->" - player moving wellSo, when I want to use UP ARROW for hero jumping, shoot to enemies and move - I can't to do this You can to test this thing here, for example: http://phaser.io/examples/v2/arcade-physics/platformer-basics Link to comment Share on other sites More sharing options...
lewster32 Posted May 24, 2015 Share Posted May 24, 2015 This is a problem with some keyboards and not with Phaser itself. See the description at the top of this page: https://phaser.io/docs/2.2.2/Phaser.Keyboard.html Link to comment Share on other sites More sharing options...
i-programmer Posted May 24, 2015 Author Share Posted May 24, 2015 This is a problem with some keyboards and not with Phaser itself. See the description at the top of this page: https://phaser.io/docs/2.2.2/Phaser.Keyboard.html I understood. Thanks.Some players will be surprised ))))))) Link to comment Share on other sites More sharing options...
lewster32 Posted May 25, 2015 Share Posted May 25, 2015 Try different keys - start off trying a different key for shoot. Cursors don't tend to play well with other keys (especially modifier keys like CTRL) but it depends on the keyboard. If all else fails, you can try adding WASD or a similar standard combination of keys for movement in addition to cursors so players have a choice. Link to comment Share on other sites More sharing options...
Recommended Posts