landgreen / n-gon

2-d physics rogue-lite platformer shooter
https://landgreen.github.io/n-gon/
GNU General Public License v3.0
151 stars 222 forks source link

How do you make community levels? #184

Closed BannanaPants closed 4 months ago

BannanaPants commented 6 months ago

I noticed that you can enable community levels but I don't know how to make my own. I can't find a level creator mode or information in the respiratory to make it. Can someone please explain how you make one to me?

kgurchiek commented 6 months ago

Here's a quick rundown: download the source code and open it in a code editor of your choice. I personally used VS Code to make mine. The go in level.js (in the js folder) and find "template() {. That is the function that creates a basic template level. To easily test out the level, I'd recommend copying it into initial() (the first level).

If you need any more explanation or help it'll be a lot easier to communicate on the community discord server, there's a dedicated channel to map-making with plenty of people to help you: https://discord.gg/bJdKZUYT

corneeme commented 6 months ago

I also remember in a old "issue" someone made a link to help with that type of stuff, I cant remember what issue its in

kgurchiek commented 6 months ago

@corneeme are you talking about this? https://n-documentation.glitch.me/

corneeme commented 6 months ago

oh yeah! I have been looking for that, thanks

AnnonymousNerd87 commented 5 months ago

should this issue be closed as stale/solved or should we keep it for new players?

corneeme commented 5 months ago

lets leave it open it could be helpful in the future