supermariohd icon indicating copy to clipboard operation
supermariohd copied to clipboard

How to create own level?

Open Silerqin opened this issue 6 years ago • 3 comments

Hi, This is a awesome project. Can I know how to create my own level in ".tmx"

Silerqin avatar Oct 13 '19 13:10 Silerqin

Hi. Yes, You can. But before creating yours own level you should try to modifying existing ones.

You need to use Tiled (https://www.mapeditor.org/). Each level file has two layers:

  • Tile layer 1: blocks (Brick, Empty Question etc) and background decorations (clouds, trees, hills etc).
  • Objects: Enemies, Pickups, Items (Jumpers, Elavators, Level portals).

There is "presets.tmx" file in the "res/Levels" directory. You can open this file in the secondary tab, and copy/past object from it to originally level file.

PfAndrey avatar Oct 27 '19 21:10 PfAndrey

Hi, I have a mac and there is a problem with the last line in the terminal command "./SuperMario" where it says there is no such file or directory. I actually was confused about this line too since we did not make such a file in the pervious lines.

jjjLang avatar Feb 04 '20 01:02 jjjLang

@jjjLang, Hello. It's not necessary to find anything with this name in the previous commands, because Cmake will generate executable file for you. Read logs from Cmake and also check CMakeLists.txt in the repository(There are a lot of potential problems. [For future]Also better to create another issue, because the topic of this issue doesn't fit to your question.)

LuridHound avatar Mar 26 '20 13:03 LuridHound