Search the Community
Showing results for tags 'jsfiddle'.
Found 3 results
Hello I started to study this tutorial: Advanced Phaser and TypeScript Projects I want to write a code on JSFiddle. I started here: https://jsfiddle.net/8Observer8/bjss7bwj/ But I see the error in console: _super is not defined Please, help me.
In hopes of getting better collaboration and feedback on the forum, I set up a simple jsFiddle. http://jsfiddle.net/hALaA/4/ It currently uses Phaser 2.0.2. It's not quite barebones, it imports the assets from the main Phaser Tutorial, and sets up Preload, Create, Update, Render, Pause, and Resume event handlers. It also creates some objects in the scene and you can simply comment out the ones you don't need. If you have never used jsFiddle before, you can simply click the "Fork" button, make the changes that demonstrate your idea, and problem, and share the new URL in a forum post. I hope that this post can get stickied and help avoid so many "I have a problem/Well then post some code" topics. If you have any suggestions on features that should be added to the basic fiddle, please let me know.
Text fixed to camera, with the camera following the sprite, the text shifts 2-3 pixels in whatever direction the sprite is moving. Its hard to load external images to a canvas, so I left the player sprite blank, it should show up as a green rectangle and function without the image. The background is also blank, but if you move around with the arrow keys you will see the text at the top start shifting around. Any Ideas? http://jsfiddle.net/paperelectron/qVH4u/8/