Log In  


Cart #cantbeseen-13 | 2022-04-08 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
2


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 :)

2


idk if i used the right tags for the post btw, idk how else to do it sorry


1

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 !


you are displaying map starting at cell 0/48 without changing collide (eg mget) reference position (should be y+48).
that’s not a pico bug…


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]