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

P#108991 2022-03-21 23:49 ( Edited 2022-04-08 15:35)

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

P#108992 2022-03-21 23:54
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 !

P#108998 2022-03-22 02:44 ( Edited 2022-03-22 16:38)

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…

P#109005 2022-03-22 07:07 ( Edited 2022-03-22 18:01)

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.

P#109014 2022-03-22 16:30 ( Edited 2022-03-22 16:31)

[Please log in to post a comment]

Follow Lexaloffle:          
Generated 2024-03-29 06:54:27 | 0.042s | Q:24