paulkite
2004.10.21, 05:18 AM
Hello all,
I'm pretty new to the C programming language in general. One of the problems I've come across is referencing my map array to base the collision detection for my sprites off of.
I understand that I need to be able to convert my array into coordinates and tag them as to whether or not they are walkable or not. I'm just not sure exactly how to do this, or really where to begin. If someone were to be able to post a small tutorial or post a few code snippets and explain how they relate to each other, I'd be grateful.
Just to explain where I am, I understand how to build my map array, read a tiled bitmap into my app and display my tiles according to my array. I just don't know where to go from there.
Thanks in advance!
I'm pretty new to the C programming language in general. One of the problems I've come across is referencing my map array to base the collision detection for my sprites off of.
I understand that I need to be able to convert my array into coordinates and tag them as to whether or not they are walkable or not. I'm just not sure exactly how to do this, or really where to begin. If someone were to be able to post a small tutorial or post a few code snippets and explain how they relate to each other, I'd be grateful.
Just to explain where I am, I understand how to build my map array, read a tiled bitmap into my app and display my tiles according to my array. I just don't know where to go from there.
Thanks in advance!