Quantcast
Channel: nesdev.org
Viewing all articles
Browse latest Browse all 746

Tile collision detection successfull !!!

$
0
0
NO radius, direction involved or bounding box. Just the sprite x,y and a tile index #

Very crude, dont work well for edges and corners but it works we for floors so FAR:D


Basically what I did, I fetch directly into vram the tile index under p1 sprites , if is solid, set a flag to interrupt my gravity routine. 

Untitled2.png

Statistics: Posted by v.depatie — Sat Jan 25, 2025 9:56 pm — Replies 0 — Views 60



Viewing all articles
Browse latest Browse all 746

Trending Articles