I'm working on a simple (for fun) physics game that I'm hoping I can knock out in a week or so. Unfortunately, I'm struggling a little with the physics. Could someone maybe give me some tips to get me started?
What I need:
I plan to have a vertical scrolling topdown screen. It will look like a road and I have some ideas to help me *suggest* that there is a flat part, and then a fairly steep ICY hill. The goal of the game is to drive as high up the hill as you can.
UP ARROW = accelerate
LEFT ARROW = turn left
RIGHT ARROW = turn right
As the car moves up the hill I'd like for it to get harder and harder to control, turning slightly right and left as the tires slip on the ice.
Eventually, the car should stop, due to gravity. (And I might even have it slide back down the hill.)
HOW?
To simulate the hill should I increase the world gravity every 0.0x seconds? Or should I use one of the other physics properties?
For the car I'm currently applying a vertical force (270 degrees??) to "drive" the car forward. I may randomly introduce rotational force that players will need to counteract with the controls.
Am I approaching this the right way?