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 / an auto unstuck with cooldown? please help

Author
Message
Acolyte Entertainment
19
Years of Service
User Offline
Joined: 28th Dec 2004
Location: Oregon, US
Posted: 12th Jan 2006 16:48
hey everyone!
in my game sometimes you get stuck with the collision. I was wondering
how to make it so when you hit the returnkey you go shooting
backward a tiny bit and then it prints 100, 99... and counts down and you
cant use the return key untell that timer reaches 0.

thanks in advaneced,
-Marlin Studios

O
M
G!
smallg
Valued Member
18
Years of Service
User Offline
Joined: 8th Dec 2005
Location: steam
Posted: 12th Jan 2006 17:06
well as far as moving backwards is concerned just use

and for a timer put a varible outside the do-loop, like;
used=0 : time_until_ready=100
then in the do-loop put something like


ok, hope that works/helps.

life's one big game
crighton
18
Years of Service
User Offline
Joined: 5th Nov 2005
Location: In your soup.
Posted: 16th Jan 2006 13:54 Edited at: 16th Jan 2006 13:55
how are you getting stuck with the collision?

is it sliding ****edit***(spelling lessons needed) collision?

try this


this would cause sliding collision.
then if your x value hits then it never goes thru.
and same for ur z value.

hope this helps.


Why are the forgotten always remembered? But no-one remembers me?!

Login to post a reply

Server time is: 2024-09-24 13:33:32
Your offset time is: 2024-09-24 13:33:32