Log In  
Follow
scrimpy
[ :: Read More :: ]

Cart #feyazidigi-0 | 2022-05-27 | Code ▽ | Embed ▽ | No License


I followed a tutorial on collision and cant figure out what's going wrong. its also making another player sprite when I go to the top left of the screen. I'm pretty new to coding and just want to find a not too complicated collision system. any help would be appreciated, thanks.

wall=0

function is_tile(tile_type,x,y)
    tile=mget(x,y)
    has_flag=fget(tile,tile_type)
    return has_flag
end

function can_move(x,y)
    return not is_tile(wall,x,y)
end
P#112357 2022-05-27 03:31 ( Edited 2022-05-27 03:35)

[ :: Read More :: ]

I've been trying to import a tile set from Aesprite to Pico 8 and I cant seem to figure it out. The tile set is saved as a PNG and I put it in the Pico 8 carts folder. I tried importing it with the Import command and that wouldn't work. What might I be doing wrong? is there another way of doing this?

P#93106 2021-06-06 14:05 ( Edited 2021-06-06 14:05)

Follow Lexaloffle:          
Generated 2024-04-20 01:44:24 | 0.102s | Q:10