Log In  

Has anyone achieved accurate sprite to sprite collision with Pico-8? I know I can use the overlapping bounding box method, but I'd like to be able to check on a pixel perfect level to see if a sprite touches another sprite.

Is this doable, without getting too convoluted? Or should I just stick with bounds (maybe multiple bounds for extra resolution) ??

Oh, I'm new to Pico-8, so bear with me. I usually tinker with C64 retro coding (which has hardware sprite collision detection).

P#45607 2017-10-29 20:02 ( Edited 2017-10-30 09:15)

1

Searching the forum will yield more results than you might think :)

"pixel perfect"

https://www.lexaloffle.com/bbs/?tid=2179

P#45618 2017-10-29 23:04 ( Edited 2017-10-30 03:05)

OOh thanks. It's a bit of a lottery when searching on forums, usually :)

P#45626 2017-10-30 05:15 ( Edited 2017-10-30 09:15)

Long time later......

I forgot to say at the time, I ended up using multiple bounds represent each entity. I could then get pretty accurate (certainly good enough) collision to detect when my spaceman hit an asteroid.

P#68154 2019-09-26 08:12

[Please log in to post a comment]

Follow Lexaloffle:          
Generated 2024-04-18 07:04:25 | 0.007s | Q:14