OttoRobba Posted October 17, 2014 Share Posted October 17, 2014 Hey fellas, I made a cheatsheet for Phaser (partly because I forget, partly because I wanted to learn more). It is filled with quick examples that link back to specific parts of the documentation. A sample of one of the cheats: Keyboard inputReference: http://docs.phaser.io/Phaser.Keyboard.htmlKeycodes: http://docs.phaser.io/Keyboard.js.html#sunlight-1-line-557if (game.input.keyboard.justReleased(Phaser.Keyboard.SPACEBAR, 10000)) { console.log("Spacebar has been pressed in the last 10 seconds.");}//Assigning Up, Down, Left and Right to a variablevar arrow = game.input.keyboard.createCursorKeys();if (arrow.up.isDown) { console.log("You are pressing the up arrow!");}//This will stop the arrow keys from scrolling the pagegame.input.keyboard.addKeyCapture(arrow); I'm open to contributions and suggestions - I'll keep improving it based on the feedback that I get. Let me know what you think!Shh, show me the cheatsheet PhaserEditor2D, valueerror, totallybueno and 6 others 9 Link to comment Share on other sites More sharing options...
harrywatson Posted October 18, 2014 Share Posted October 18, 2014 Hey that looks, "'#&**3@'" fantastic, I haven't had a go at phaser yet, when I do, this will be my bible. Cheat sheet such a good idea... Link to comment Share on other sites More sharing options...
valueerror Posted October 18, 2014 Share Posted October 18, 2014 you could also link it to an example (if available) - just a suggestion.. great cheatsheet !! Link to comment Share on other sites More sharing options...
oliversb Posted October 18, 2014 Share Posted October 18, 2014 Good thinking and this is a great contribution to the Phaser community. Link to comment Share on other sites More sharing options...
OttoRobba Posted October 19, 2014 Author Share Posted October 19, 2014 Hey that looks, "'#&**3@'" fantastic, I haven't had a go at phaser yet, when I do, this will be my bible. Cheat sheet such a good idea... Thanks mate you could also link it to an example (if available) - just a suggestion.. great cheatsheet !!That is a pretty good idea - I'll try to implement it Good thinking and this is a great contribution to the Phaser community.Thanks Link to comment Share on other sites More sharing options...
rdnOutput Posted October 28, 2014 Share Posted October 28, 2014 Thank you for the cheat sheet. Very handy as a reference. I learned a few things too. Link to comment Share on other sites More sharing options...
ArcticLlama Posted March 23, 2015 Share Posted March 23, 2015 Been using all video tutorial. It feels so nice to have something printed out as a refresher. Thanks for putting this cheatsheet together. Link to comment Share on other sites More sharing options...
tysonlt Posted August 11, 2015 Share Posted August 11, 2015 Hello, I am running a programming group at my school and we were relying heavily on this wonderful page - thank you for making it. The invrse.co domain has expired! Does anyone have another copy of the page somewhere? I tried wayback but it is empty due to robots.txt. Link to comment Share on other sites More sharing options...
bobonthenet Posted September 9, 2015 Share Posted September 9, 2015 Does anyone have a copy of this cheat sheet? I would love to be able to use this. Link to comment Share on other sites More sharing options...
Recommended Posts