PDA

View Full Version : Cops and cows


yrjkw56
04-18-2009, 09:55 AM
I am making 1 brand new game-cops and robbers- and working on an old game called the friendly cow-


1 I need to figure out how to set the camera to follow you like any car game. I know this wont be easy but I'm up for a challenge! :rolleyes:

2 I need my cop to be able to pursue the car throughout the level and to make it where if the cop gets, say, 5 yards away you lose. i do not know how this works so all help is appreasheated.

3.I need to allso make it if you hit the finish block you win but I also do not know how.

4 I'm makeing a funny cow game but need to make it when the cow exits the door the door will open for him. Got anything?

pingu
05-03-2009, 12:02 PM
hi there,

ok,
1) you could get the camera to use the car as a vehicle, or in the events tab, have the arrow keys move the camera.
2) this uses an if/else method. it should read:

if - some proximity setting to do with the camera being within 5 yards of the car
-do nothing
else
- write a method that brings up a game over message.

3) is similar to 2, but obviously change the settings...

4) again, another if/else proximity method

i hope that helps, leave me a message if it doesn't,
pingu :)