top of page
Screenshot 2022-11-20 221313.png

Super Mario Land Recreation

Student Project
2D based game. A recreation of the game Super Mario Land within the Unity engine.

Platform

-Windows

Project Type

-Unity C#

-Team of 3

Duration

January 28th 2022 - February 13th 2022

(2 Weeks)

Role

​

-Programmer

Summery of contributions

As the only Coder for this project, I was responsible for all player mechanics and all scoring/ ui systems such as

-2D Side Scroller Player Movement

- In game Coin and power up pick ups

-Question Mark Cubes

-Enemy AI and functionality

- Player Score and World Timer functionality and UI

A Closer Look

2D Player Controller

The player controller I created simulates all of the players’ movement to a traditional side scroller. The player is able to move side to side and jump.

Video Example
Click on Images for a closer look
Player Controller Code.png
Example of Player Controller within unity inspector
Pick Up Code Example
Power Up PickUps and QuestionMark Blocks

-Question mark block system allows for designers to insert any object they would like into spawning when hit by the player, two versions of the block was invented with one being specifically for power up objects and the other for coin collection.

​

-The first Pick up developed was the mushroom object that visually made the player appear to grow, this was done by changing the player’s sprite when collected. The players’ health value is also raised allowing them to take more than one hit with the sprite and health going back down when taking damage while in this grown state.

​

-The second pick up developed was the flower power up which gave the player the ability to shoot out projectiles that bounce around the play area while being able to kill enemies and collect coins. While having the same mechanics of the mushroom pick up of changing its sprite height and increasing health.

Coins and Scoring

Coming in contact with coin pick ups will increase the players score and will update the score Ui in tandem. The pickup functions utilizing unity’s OnTriggerEnter code component to trigger these updates.  

​

Coin Script In Inspector
Coin Script Example
Sphinx Example.png
Sphinx AI Code
Enemy AI

Goomba and Koopa AI: The Ai consistently moves forward until colliding into a wall or into a player. Once the AI collides with either one of these the Enemy itself will flip 180 degrees and proceed to walk in the opposite direction.

​

Sphinx AI: The Ai works as a turret with a circular radius waiting for the player to get within range, while in range the Sphinx will proceed to fire projectiles at the player while playing its animations.

bottom of page