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 / The balls won't move down...

Author
Message
Crazy Ninja
19
Years of Service
User Offline
Joined: 27th Aug 2005
Location: Awesometon
Posted: 12th Sep 2006 12:53
Hey guys. I'm working on my first game for DBP but i've run into a small problem. In the game you have to dodge these balls that come down from the sky. If you get hit by a ball then you lose the game. Unfortunately you can't get hit by a ball because the balls don't move down. I'm sure it just a small problem but i can't seem to find it. Help is greatly appreaciated.

And my code:


____ ____ ____ ___ _ _ __ _ _ __ _ _ ____
|___ |--< |--| /__ Y | \| | | \| ___| |--|
Prosaic
18
Years of Service
User Offline
Joined: 5th Aug 2006
Location: Athens
Posted: 12th Sep 2006 13:33 Edited at: 12th Sep 2006 13:39
First
Make colision spheres at size of 2 and half scale them...
Then
above the score#=0 add a loop to position them...
Disable your collision code temporarily
and use this in the positions loop
Prosaic
18
Years of Service
User Offline
Joined: 5th Aug 2006
Location: Athens
Posted: 12th Sep 2006 13:51
Here is the full code.
Collision im not good at.its yours...

...
Crazy Ninja
19
Years of Service
User Offline
Joined: 27th Aug 2005
Location: Awesometon
Posted: 12th Sep 2006 14:59
thanks prosiac! I'll look at it more later, i'm a little tired right now.

____ ____ ____ ___ _ _ __ _ _ __ _ _ ____
|___ |--< |--| /__ Y | \| | | \| ___| |--|
RUCCUS
19
Years of Service
User Offline
Joined: 11th Dec 2004
Location: Canada
Posted: 12th Sep 2006 15:04
Maybe this'll help you out a bit;



Just some basic stuff to get you started, not tested but it should work.

Your signature has been erased by a mod because it's larger than 600x120...
CattleRustler
Retired Moderator
21
Years of Service
User Offline
Joined: 8th Aug 2003
Location: case modding at overclock.net
Posted: 12th Sep 2006 15:26
Quote: "The balls won't move down..."

I would have answered "Give it time"
Luckily the people above are not as cheeky.

good luck

Prosaic
18
Years of Service
User Offline
Joined: 5th Aug 2006
Location: Athens
Posted: 12th Sep 2006 16:18
...yeah luckily..
nice and simple Ruccus.
H4ck1d
18
Years of Service
User Offline
Joined: 27th Dec 2005
Location: Yes
Posted: 12th Sep 2006 23:12
@CattleRustler - muahaha I was gonna say that but you beat me to it...

There are 10 types of people, those who understand binary and those that don't.
The programmer's national anthem is 'AAAAAAAAHHHHHHHH'
Never forget: 2 + 2 = 5 for extremely large values of 2.
Zotoaster
19
Years of Service
User Offline
Joined: 20th Dec 2004
Location: Scotland
Posted: 13th Sep 2006 01:24
Damn you both. I was going to say it

CattleRustler
Retired Moderator
21
Years of Service
User Offline
Joined: 8th Aug 2003
Location: case modding at overclock.net
Posted: 13th Sep 2006 01:31
Crazy Ninja
19
Years of Service
User Offline
Joined: 27th Aug 2005
Location: Awesometon
Posted: 14th Sep 2006 14:55
Thanks Ruccus and prosiac its running great now.

@everyone else: Ya i thought about that before i posted, I guess i got lucky on my replies lol

____ ____ ____ ___ _ _ __ _ _ __ _ _ ____
|___ |--< |--| /__ Y | \| | | \| ___| |--|

Login to post a reply

Server time is: 2024-09-25 09:26:30
Your offset time is: 2024-09-25 09:26:30