3 ms·
Want some fun? Play Breakout and Snake at the same time! :) First, take the Breakout code from here: http://labs.phaser.io/edit.html?src=src\games\breakout\b
by fit2rule 7y ago
Want some fun? Play Breakout and Snake at the same time! :)
First, take the Breakout code from here:
http://labs.phaser.io/edit.html?src=src\games\breakout\breakout.js http://labs.phaser.io/edit.html?src=src\games\breakout\break...
And paste it into the Snake game here:
http://labs.phaser.io/edit.html?src=src\games\snake\part7.js http://labs.phaser.io/edit.html?src=src\games\snake\part7.js
I discovered this trick when I introduced a classroom full of kids to PhaserIO, and happened to notice an 8-year old playing both games simultaneously .. I asked him how, and he said "I just copied the game code together" .. NEAT! :)