|
Forum Index : Microcontroller and PC projects : CMM2: How should I do the following?
| Author | Message | ||||
| mkopack73 Senior Member Joined: 03/07/2020 Location: United StatesPosts: 261 |
Hey gang, So, cousin is interested in getting back into programming after I showed him my CMM2 a couple weeks ago. He hasn't really done anything programming-wise since the 80's. We were looking for a project to work on together so I could help him, and we're leaning towards making something similar to the old "Racing Destruction Set" game we used to play together on the C64. Racing Destruction Set I've figured out how to represent the high level map, and I've got some thoughts on how to represent the individual cells of each map tile. The sprites should be relatively easy to make since there's only like 8-16 for each vehicle type. What I'm struggling with is how to handle the detection of the car colliding with the edge of the track? Do I simply check the X/Y coordinate of the center of the car and consider if that's outside the dimension of the track tile? It can't really be a sprite-background collision since the projection is isometric so the top/left of the car will overlap the background some when the car is near the edges. |
||||
| The Back Shed's forum code is written, and hosted, in Australia. | © JAQ Software 2025 |