supermariohd
supermariohd copied to clipboard
How to create own level?
Hi, This is a awesome project. Can I know how to create my own level in ".tmx"
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.
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, 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.)