Home
JAQForum Ver 24.01
Log In or Join  
Active Topics
Local Time 04:03 15 Nov 2025 Privacy Policy
Jump to

Notice. New forum software under development. It's going to miss a few functions and look a bit ugly for a while, but I'm working on it full time now as the old forum was too unstable. Couple days, all good. If you notice any issues, please contact me.

Forum Index : Microcontroller and PC projects : CMM2: How should I do the following?

Author Message
mkopack73
Senior Member

Joined: 03/07/2020
Location: United States
Posts: 261
Posted: 05:16pm 11 Oct 2020
Copy link to clipboard 
Print this post

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.
 
Print this page


To reply to this topic, you need to log in.

The Back Shed's forum code is written, and hosted, in Australia.
© JAQ Software 2025