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

data uri to import other maps #143

Open
zz-ha-dum opened this issue Sep 30, 2018 · 6 comments
Open

data uri to import other maps #143

zz-ha-dum opened this issue Sep 30, 2018 · 6 comments

Comments

@zz-ha-dum
Copy link

map geometry, and enemy flows.

Share maps via email, jabber texting, or free hosted wiki. No filesystem interface required

another app to make levels or webtool

@mjaun
Copy link
Owner

mjaun commented Oct 1, 2018

Sounds good, but the editor probably requires more effort than the game itself.

@LienRag
Copy link

LienRag commented Aug 13, 2019

Indeed, but couldn't you just explain the desired format and let people make it themselves if they have enough motivation?
You just need to include a way to install these new maps.

@cyphase
Copy link

cyphase commented Aug 13, 2019

@LienRag Here's the map data for reference. It shouldn't be too difficult to create a tool to make it easier to create maps (versus hand-typing JSON). How have you done it in the past @reloZid?

Once a map is created, maybe you could get it merged. Worst case you could build your own version of the app.

Open source +1.

@mjaun
Copy link
Owner

mjaun commented Aug 14, 2019

I always edited the JSON by hand and I guess the other contributors did too. I'm always open for new map proposal via pull request. But yes, this means that you need the full development environment to create maps.

@LienRag
Copy link

LienRag commented Aug 14, 2019

You mean this one for example? https://github.com/reloZid/android-anuto/blob/master/app/src/main/res/raw/map_cloverleaf.json
Each (x,y) of name "basic" is a block?
I don't get negative coordinates for waypoints, though.

What would happen if height and width differed from (15,10)?
Bigger maps would be interesting if they are easy to navigate (I guess sliding only in one direction, else it gets very messy)...

@mjaun
Copy link
Owner

mjaun commented Aug 15, 2019

Each (x,y) of name "basic" is a block?

Correct. It's called "basic" because one could implement special types of blocks.

I don't get negative coordinates for waypoints, though.

Each path should start and end outside the visible area (otherwise you'll see how the enemies spawn or disappear). Therefore negative coordinates are needed.

What would happen if height and width differed from (15,10)?

You can choose any width/height but for bigger maps the tiles will get smaller such that the map fits the screen which might become an issue on small screens. Currently there is no sliding implemented.

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

No branches or pull requests

4 participants