Skip to content

lRichyl/NES-Mario

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

61 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NES Mario

This is a clone of the original Mario for the NES, it's made only for educational purposes. All the sounds and images used belong to Nintendo.

How the level editor works.

First select an object from the left, then you can choose a layer on which you want to place it using the scrollwheel, the layer number shows on then top right corner of the screen. The layers are drawn in ascending order, which means that layer 0 is first, so it can be used for background objects. Layer 2 is different because it the one in which collision are checked and the player and any dynamic object should be placed here. If Mario is placed in the layer 0, you won't be able to move him, same with enemies, they just won't update. Layers 1 and 3 are just to give more control over the depth of the level.

For the item blocks you can select which object will appear when it is hit by mario with the keys Q and E. Currently you can select between fire flower and mushroom.

To place an object press the mouse left button, and the right mouse button to remove them. The layer where the object was placed needs to be selected in order to remove it.

To go between play mode and the level editor press SPACE.

Controls:

  • Move mario with the arrows.
  • Jump with B.
  • AWSD to move camera.
  • Right click to delete a tile in the current layer.

Here's a brief video showing a small level. https://www.youtube.com/watch?v=I0_fCcebxfc

mario_editor_fire_flower

mario_editor_mushroom

mario_editor_level

Compilation

To compile first you need to have Visual Studio intalled then open a command prompt, run the startup.bat to initiallize the compiler and then run build2.bat

About

A clone of the original Mario Bros.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages