Shortstuff81000 Posted October 23, 2015 Share Posted October 23, 2015 I started this thread to share my modified Phaser game examples, ask for help with them, and share the code for the complete versions. Visual Studio 2015 is my preferred IDE, so just ignore the web.config file when you open the .zip file. Invaders.zip Link to comment Share on other sites More sharing options...
Shortstuff81000 Posted October 25, 2015 Author Share Posted October 25, 2015 I recently modified the Breakout clone. Aside from everything being a little bigger and closer together, the only modification I made was to make the blocks drop after they'd been hit. That's where the game freezes. The Invaders clone crashes when an enemy's bullet hits the player. The issue has something to do with the player's explosion, but I'm not sure what it is. Breakout.zip Link to comment Share on other sites More sharing options...
chongdashu Posted October 26, 2015 Share Posted October 26, 2015 Hey, this is neat. Have you considered uploading these examples either on the Phaser Sandbox or jsFiddle? Being able to play it in the browser would definitely allow people to take a look much more easily! Shortstuff81000 1 Link to comment Share on other sites More sharing options...
Shortstuff81000 Posted October 27, 2015 Author Share Posted October 27, 2015 Hey, this is neat. Have you considered uploading these examples either on the Phaser Sandbox or jsFiddle? Being able to play it in the browser would definitely allow people to take a look much more easily! That was a great idea! :-D I uploaded the Breakout clone, but I'm not entirely sure I did it right. How does the Sandbox handle external images? and other functions? Do you have any ideas? http://phaser.io/sandbox/UozLvgWh EDIT: OK, I fixed something... LOL! I was getting a blank black canvas when I posted this reply. It took starting a template with images to make me realize that I'd forgotten the game's variables. Oops! LOL! Now I am getting green squares with diagonal lines drawn through them. I guess I'd better find another site other than Dropbox to store them. Anybody have any suggestions? Link to comment Share on other sites More sharing options...
Recommended Posts