Controls:

  • A/D -  Move left/right
  • W/Space - Jump

Description:
I made this single level platformer to test out systems and architecture in Unity. The architecture in particular makes it easy to extend the game with anything from enemies to item mechanics. For the demo I borrowed the layout of World 1-1 from Super Mario Bros, but I will continue to add my own maps and other fun things.


Architecture rant:
Entities are self contained prefabs, which can be dropped into any scene. When two entities collide, an entity system identifies their types and routes to a dedicated interaction file, following the Mediator pattern. Entities never know about each other, and if there is no interaction file they won't interact. Also adding new ones means never editing existing code. Game state and larger systems live in ScriptableObject variables and events that broadcast to any listener, keeping everything decoupled.
Diagram coming soon.

Assets:

Movement system is from Sebastian Lague: 

(630) [Unity] Creating a 2D Platformer (E01. set-up) - YouTube

Collision system is a modified version of the movement system.

All assets from Kenney: https://kenney.nl/

Map layout is from Super Mario Bros by Nintendo

Updated 13 days ago
Published 17 days ago
StatusPrototype
PlatformsHTML5
AuthorPatrekurTH
GenrePlatformer
Made withUnity
TagsNo AI, Short
Average sessionA few seconds
InputsKeyboard
ContentNo generative AI was used

Download

Download
platformer.zip 13 MB

Leave a comment

Log in with itch.io to leave a comment.