Ok, i have two effects I'm trying to get into two separate sections of a game I'm making (but have been thus far unsuccessful!)
First effect is turbulence. In the game, you're in a fighter cockpit, and you're aim is to bring your crosshair onto a target long enough to lock your missiles on (which is when you pass this level). However, I want the crosshair to randomly move and 'buck' about to simulate the turbulence that your aircraft is experiencing. I have a very VERY primitive version working, where the crosshair randomly and statically flicks about the screen which is useless. What I need is the crosshair to be randomly trying to move in a different direction from the target (and you have to try and counter this independent movement) and accelerating (as opposed to instantly boosting off at a given velocity!). And every random amount of time, slowing and accelerating in a different direction. I want the acceleration and ultimate velocity to increase as well of the frequency of direction change to increase as the game goes on, and thus your level of control decrease. I have a pic below (this is game 2)
And the next game is easier. I just want the target circle to bounce off the edges of screen at a 45 degree trajectory while you try and keep your target on it (game 1)
The crosshairs .etc are only to represent the underlying mechanics of the game, I'll add the eye candy later
Thanks in advance for any help!