2D Side Scroller

In this quest, you will build a 2D Side Scrolling game – think Super Mario Brothers on NES.

Product of Learning

In this quest, you must build a 2D Side Scrolling game. You may “fork” your shadow bots game if you’d like, or you can build something new from scratch. One suggestion is to consider using a silhouette effect for your characters to save time. One of the hardest parts of this game will be figuring out the camera script.

You will have to build your game for playability and complete the reflection below.

silhouette-game-badgeResources

You are welcome to use any resources you want. The list below is simply a starting point and in no way represents a chronological list of steps. You WILL have to conduct research to figure out how this works.

The Loughran Camera Script

Directions: Add the script below to your Main Camera. This script allows you to set minimum and maximum X, Y, and Z coordinates to a 2D side scroller to prevent the camera from moving to far left, right, up, and down. The script also adds a drift effect after your player stops moving.

Notice: if using unity’s 2D Standard Assets, deactivate the Camera2DFollow script on the main camera. The two do not work together.

 

Reflection

Upon completion of this quest you must answer the following questions in any of the following ways: as a video log entry (post to YouTube), as a blog post via Medium.com), or as an essay via Google Docs (you may propose another response if you so choose).

  • What did you do (brief summary)?
  • What did you learn?
  • What was challenging?
  • What is the product of your learning (this can be an embedded screenshot or two, screencast (if doing video), or link to relevant content)?
  • What suggestions do you have for future students embarking on this challenge?