Yo so its done now.
If there's any level that's impossible, let me know and I will try to fix it.
Theres a bug where when you first load it you spawn at (0,0), to fix it just use the reset data option in the menu :)
Select EDIT which will appear beneath your post, @piman3.14.
... and from that new page at the top please change CATEGORY to one of:
- "PICO-8: Workshop" if it is just information.
- "PICO-8: Work In Progress" if it is an incomplete cart.
- "PICO-8: Cartridges" if it is fully complete.
Then at the bottom of your edited post, select "PUBLISH CHANGES."
Hope This Helps !
to me this was not obvious when I started!
the key idea is that
mget is only working with map data as you can see it in the editor, it has no idea about parts of the map displayed on screen (if any).
so the typical collision code that does
dget(mget(hero_x/8, hero_y/8)) works only when there is a call like
map() to get map corner 0,0 on screen corner 0,0.
[Please log in to post a comment]