J
Justin911
Guest
I'm creating a game based on bullying. It's about a bully (obj_bully) stealing a kid's phone and running away with it. So the victim (obj_player) chases the bully (obj_bully).
While chasing the bully the player sees some power-ups (bicycle, skateboard), so when he comes in contact with those power-ups his speed increases.
As the game goes on a teacher (obj_teacher) would appear, what I want the teacher to do it to chase the player only if he is using a power-up (like normal teachers when using bikes in school).
The teacher should check if the player's speed is more than 5 (5 is the original speed). If the speed is more than 5 (hence he is using a power-up) the teacher should chase him at a speed of 8.
When the teacher starts chasing and catches (collides with obj_player), the game will move to another room (game_over room).
This is the coding I'm trying to do, I've tried all I can and can't get it together. Please could help, it would be greatly appreciated.
While chasing the bully the player sees some power-ups (bicycle, skateboard), so when he comes in contact with those power-ups his speed increases.
As the game goes on a teacher (obj_teacher) would appear, what I want the teacher to do it to chase the player only if he is using a power-up (like normal teachers when using bikes in school).
The teacher should check if the player's speed is more than 5 (5 is the original speed). If the speed is more than 5 (hence he is using a power-up) the teacher should chase him at a speed of 8.
When the teacher starts chasing and catches (collides with obj_player), the game will move to another room (game_over room).
This is the coding I'm trying to do, I've tried all I can and can't get it together. Please could help, it would be greatly appreciated.