Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Newcomers DBPro Corner / Making a safe zone

Author
Message
Nef
16
Years of Service
User Offline
Joined: 3rd Nov 2008
Location:
Posted: 3rd Nov 2008 18:05
Im currently working on a chase based game, in which the player has to make it to a safe zone, in order to get to the next level, but am having trouble comming up with ideas on how to make it, if anyone could throw me some ideas or tips on the best way to construct one of these, i would greatly appreciate it.
Venge
18
Years of Service
User Offline
Joined: 13th Sep 2006
Location: Iowa
Posted: 3rd Nov 2008 18:57
I would just make a hidden box object in the "safe zone" and check for collision from the player.

I have CDO. It's like OCD, but the letters are in alphabetical order, like they should be.
Tom0001
18
Years of Service
User Offline
Joined: 30th Dec 2005
Location:
Posted: 4th Nov 2008 12:58
Good idea, Venge -- Nef, just create a limb from the player object, have it offset slightly from the player object by a few pixels or so and check for collision between the player object and the limb by the box object created in the safe zone and, if collision is detected, point the program to the portion of code for the next level.

Good luck,

Tom

Login to post a reply

Server time is: 2024-11-24 19:57:52
Your offset time is: 2024-11-24 19:57:52