Sign in to follow this  
Adrian V.

Mars Attack - Making a game with retro sprites in 10 steps

Recommended Posts

Hello again,

I implemented another mini game using p5.js / and in-code defined sprites (e.g. text format) on the 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


And this is how it was made:


Part 1 - Generating mountains from random lines

Part 2 - Adding a landing ramp at the end

Part 3 - Solid mountains, Stars and Stop at Ramp

Part 4 - Adding player ship using in-code defined sprites

Part 5 - Adding enemy, collisions with enemy 

Part 6 - Tune scrolling speed. Scroll faster when accelerating 

Part 7 - Ship shoots rockets 

Part 8 - Adding explosions. Ship can now land!

Part 9 - Ability to restart the game

Part 10 - Adding intro screen. Option to collide with mountains


Comments welcomed!





Share this post

Link to post
Share on other sites

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.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.