Adrian V. Posted September 29, 2020 Share Posted September 29, 2020 Hello again, I implemented another mini game using p5.js / p5.play and in-code defined sprites (e.g. text format) on the codeguppy.com platform. The game is still basic, however I didn't construct the game to be a polished game, but instead teach various game building techniques. This is the game https://codeguppy.com/run.html?mars_attack/program And this is how it was made: Part 1 - Generating mountains from random lineshttps://codeguppy.com/code.html?mars_attack/mountains Part 2 - Adding a landing ramp at the endhttps://codeguppy.com/code.html?mars_attack/mountains2 Part 3 - Solid mountains, Stars and Stop at Ramphttps://codeguppy.com/code.html?mars_attack/mountains3 Part 4 - Adding player ship using in-code defined spriteshttps://codeguppy.com/code.html?mars_attack/mountains4 Part 5 - Adding enemy, collisions with enemyhttps://codeguppy.com/code.html?mars_attack/mountains5 Part 6 - Tune scrolling speed. Scroll faster when acceleratinghttps://codeguppy.com/code.html?mars_attack/mountains6 Part 7 - Ship shoots rocketshttps://codeguppy.com/code.html?mars_attack/mountains7 Part 8 - Adding explosions. Ship can now land!https://codeguppy.com/code.html?mars_attack/mountains8 Part 9 - Ability to restart the gamehttps://codeguppy.com/code.html?mars_attack/mountains9 Part 10 - Adding intro screen. Option to collide with mountainshttps://codeguppy.com/code.html?mars_attack/mountains10 Comments welcomed! Quote Link to comment Share on other sites More sharing options...
Pav Posted June 16, 2023 Share Posted June 16, 2023 How can I get it to work locally on my computer I'm trying but I can't Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.