kunbr0 / SE102-Super-Mario-Game

A project in school, when I was asked to clone 2 maps ( World 1.1 and 1.4 ) in Mario Game.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Super Mario Bros. 3 (NES) with Direct

  • OS: Windows 10
  • Graphic Libary: DirectX 9
  • Language(s): C/C++ (main), Javascript (NodeJS) for tool building

Introduction

  • My project in the subject "Introduction to Game Development" at my university, using DirectX 9 library. The requirement is to manually build a Game Framework and create SMB3 based on a self-made Framework instead of using Game Engine.

Product Demo

Instruction

Tools

  • Map editor: Tiled Map Editor
  • Data reader: TinyXML library for reading XML
  • Data generation for Grid: Excel

Technique

  • SweptAABB: for detecting collisions of physical movement
  • AABB: for detecting overlapped collisions
  • Grid: for space partitioning

Control

Main Menu

  • Select options: Up/Down arrow key
  • Decision: "W" key

Overworld Map

  • Movement (select level): Arrow keys (left, right, up, down)
  • Enter level: "S" key

Play Scene

  • Ground movement: Left/Right arrow
  • Run: Hold "A" key and move
  • Jump: Press "X" for press jump, Press "S" for long-press jump
  • Duck (crouch): Down arrow
  • Warp to Pipes: An Arrow key on a respective direction (left, right, up, down)

About

A project in school, when I was asked to clone 2 maps ( World 1.1 and 1.4 ) in Mario Game.


Languages

Language:C++ 99.4%Language:C 0.6%