Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to create own level? #2

Open
Silerqin opened this issue Oct 13, 2019 · 3 comments
Open

How to create own level? #2

Silerqin opened this issue Oct 13, 2019 · 3 comments

Comments

@Silerqin
Copy link

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

@PfAndrey
Copy link
Owner

PfAndrey commented Oct 27, 2019

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.

@jjjLang
Copy link

jjjLang commented Feb 4, 2020

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.

@LuridHound
Copy link

@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.)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants