Log In  
Follow
Slimeyy-8
[ :: Read More :: ]

I'm new to pico-8 and when trying to check if a boolean is false with

if is_point_in_rect(coin.x,coin.y,left,top,right,bottom) and not coin.is_collected() then

it returns an error
(I tried removing the "and not coin.is_collected" to see if the error was with the is_point_in_rect() function, and it didn't bring up an error)

Cart #hagomiyewa-0 | 2022-02-15 | Code ▽ | Embed ▽ | No License

P#106976 2022-02-15 15:46

Follow Lexaloffle:          
Generated 2024-04-20 01:09:19 | 0.079s | Q:9