[SDL] Sprite, collision with tiles

Salvatore Di Fazio salvatore.difazio at gmail.com
Sat Sep 2 23:44:13 PDT 2006


2006/9/2, Torsten Giebl <wizard at syntheticsw.com>:
> Hello !
>
>
> In my game i use this function
> to detect collisions with the map :

But your code check if the sprite is in the middle of two tiles, where
one is unwalkable and another is walkable?

Tnx




More information about the SDL mailing list