Mario Style Coinbox

Here’s a basic example of a Mario style coinbox.  This is the type of box that you’d jump at from underneath and bump your head on and a coin comes out of the top.

HTML5 Demo

Controls:

  • Left & Right Arrows – Move
  • Up Arrow – Jump

DOWNLOAD

Advertisements

One thought on “Mario Style Coinbox”

  1. Really cool. I made mine silly mode. The game was creating an invisible rectangle under each box that the player could collide with. The rectangle was slightly bigger than the box so on collision -> coin appears.

    But thanks for your example 😉

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s