Hey,
2D topview car "game" (well, not yet...). The car should be controlled like this: A key to give it some speed, and a key to break/reverse. And two keys to make it turn. I need to rotate the car, and make it go in the direction the car is rotated. I hope you understand.. :)
I need some inspiration, as to how the hell this is achieved, because I simply don't know where to begin. I tried something like this:
Just to try something.. I didn't get any farther than this, because apparrently Dim can't be used in conjunction with images.. And I cant Rotate the image 'on the fly', because that's just way too slow..
How is this done? Can someone maybe point me to some relevant example codes, or something?
2D topview car "game" (well, not yet...). The car should be controlled like this: A key to give it some speed, and a key to break/reverse. And two keys to make it turn. I need to rotate the car, and make it go in the direction the car is rotated. I hope you understand.. :)
I need some inspiration, as to how the hell this is achieved, because I simply don't know where to begin. I tried something like this:
Dim car(2) car(1)=LoadImage("car.png")
Just to try something.. I didn't get any farther than this, because apparrently Dim can't be used in conjunction with images.. And I cant Rotate the image 'on the fly', because that's just way too slow..
How is this done? Can someone maybe point me to some relevant example codes, or something?