Go Back   Zune Boards > Zune Discussions > Zune Games and Applications > Development Discussions

Development Discussions All developers who are coding games may stop by here for any help, suggestions, and everything development related.

Reply
 
Thread Tools
Old 03-18-2011, 07:25 AM   #1
LDawg
Squirt
 
LDawg's Avatar
 
Join Date: Feb 2011
Posts: 10
LDawg is on a distinguished road
Default Collision Detection not working

Im trying to port my first XNA game that I made for Windows a year ago, to a ZuneHD. I just got my ZuneHD for less than a week, so it's my first time programming for ZuneHD.

Everything works fine, except for 1 (important) thing.
The collision detection. I use collision detection to determine if I'm on the road, or in the grass. If I cross a cheackpoint and if I cross the finish. So it's the whole point of the game.

I tried the game on Windows and the col. detection worked fine. But as soon as I changed the controls to touch + accel and debug on my ZuneHD, the collision detection stops working.

I used the collision detection from this tutorial:
The Road Not Taken
It's an underlay with colors (gray = road, red = finish, green = checkpoint, white = grass) but the Zune ignores everything.

Can't the Zune read the colors or something?

I hope this awesome community can help



LDawg is offline   Reply With Quote

Advertisement [Remove Advertisement]

Reply

Bookmarks

Thread Tools
no new posts