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 / My little spheres disappear when I want them to stay!!!!

Author
Message
Hockey07
21
Years of Service
User Offline
Joined: 18th Dec 2002
Location: United States
Posted: 10th Feb 2003 03:53
Here is the code for this:



With that code, my sphere appears, and then disappears after a second. How can I get my little sphere dude to stay on the screen and follow me, as that code makes it do? That last part obout pointing and moving the object is to get the objects to follow me. But the objects do not stay!!! I made a player model, a sphere for now which will be replaced later by a real DarkMatter model, but my player just appears for that second and then disappears. Can someone please help me do this, because with out this working, Dark Wars will have no allies with you, and you'll be alone which is not how the game should be. Thanks for all your help (if you help me )!!
Current Project: Dark Wars
166 lines of code so far
http://hometown.aol.com/Hockeycow07/rebel.html - The official ReBel Games website!
Puffy
22
Years of Service
User Offline
Joined: 4th Sep 2002
Location: United States
Posted: 10th Feb 2003 03:57
O_O Jedi you have no loop...

AMD Athlon XP 2100+ OC to 3Ghz/1.5gigs ram/128mb ti4200/120gigs hd/19" monitor/Sound Blaster Audigy Platinum EX/3072kbs Sat Con... I joined in!
Puffy
22
Years of Service
User Offline
Joined: 4th Sep 2002
Location: United States
Posted: 10th Feb 2003 03:58
or timer... O_O see what is happening is that your object is moveing 1 time then your game ends... o_O it runs through all the code... youll see what I mean here...



AMD Athlon XP 2100+ OC to 3Ghz/1.5gigs ram/128mb ti4200/120gigs hd/19" monitor/Sound Blaster Audigy Platinum EX/3072kbs Sat Con... I joined in!
Hockey07
21
Years of Service
User Offline
Joined: 18th Dec 2002
Location: United States
Posted: 10th Feb 2003 04:16
No but listen.. I DO have a loop. I'll try that code, but I do have a loop at the end of the code. I only took a code segment, which was what you saw, and posted it here. But at the very end of the code I do and did have:

sync
loop

I'll try your code but I did have one.. Thanks though!

Current Project: Dark Wars
166 lines of code so far
http://hometown.aol.com/Hockeycow07/rebel.html - The official ReBel Games website!
Puffy
22
Years of Service
User Offline
Joined: 4th Sep 2002
Location: United States
Posted: 10th Feb 2003 04:23
o_O you should have pasted all of it... how was I supposed to help you fix your code if I got something with no problems...

AMD Athlon XP 2100+ OC to 3Ghz/1.5gigs ram/128mb ti4200/120gigs hd/19" monitor/Sound Blaster Audigy Platinum EX/3072kbs Sat Con... I joined in!
Hockey07
21
Years of Service
User Offline
Joined: 18th Dec 2002
Location: United States
Posted: 10th Feb 2003 04:26
Look at the code in the post below this one. That post is about getting my bullets to shoot like a machine gun. It has the FULL code in it, so check that out.

Current Project: Dark Wars
166 lines of code so far
http://hometown.aol.com/Hockeycow07/rebel.html - The official ReBel Games website!
Puffy
22
Years of Service
User Offline
Joined: 4th Sep 2002
Location: United States
Posted: 10th Feb 2003 04:27
np...

AMD Athlon XP 2100+ OC to 3Ghz/1.5gigs ram/128mb ti4200/120gigs hd/19" monitor/Sound Blaster Audigy Platinum EX/3072kbs Sat Con... I joined in!
Hockey07
21
Years of Service
User Offline
Joined: 18th Dec 2002
Location: United States
Posted: 10th Feb 2003 04:31
You code doesnt work from where I put it in the full code. So, can you please take a look at the full code and tell me just exactly where I need to place the codes you just gave me? Thanks!

Current Project: Dark Wars
166 lines of code so far
http://hometown.aol.com/Hockeycow07/rebel.html - The official ReBel Games website!
Puffy
22
Years of Service
User Offline
Joined: 4th Sep 2002
Location: United States
Posted: 10th Feb 2003 04:34
O_O... I couldn't get your code to run... I truncated it and deleted all your sounds etc... so it would run... O_O BUT it would blink a matrix on a black background then end... AND I know what you probably did... o_O you see the spheres go to that sphere... but they are all the same size... so they are all on top of eachother... O_O if you make one of them a cube you'll see what I mean...

AMD Athlon XP 2100+ OC to 3Ghz/1.5gigs ram/128mb ti4200/120gigs hd/19" monitor/Sound Blaster Audigy Platinum EX/3072kbs Sat Con... I joined in!
Hockey07
21
Years of Service
User Offline
Joined: 18th Dec 2002
Location: United States
Posted: 10th Feb 2003 04:47
Yes, I know they are ontop of eachother. But they disappear before I even have a chance to move myself. But what do you mean by what you just said?

Current Project: Dark Wars
166 lines of code so far
http://hometown.aol.com/Hockeycow07/rebel.html - The official ReBel Games website!
Puffy
22
Years of Service
User Offline
Joined: 4th Sep 2002
Location: United States
Posted: 10th Feb 2003 05:03
Do you hide them??? Do they go off the screen???...

AMD Athlon XP 2100+ OC to 3Ghz/1.5gigs ram/128mb ti4200/120gigs hd/19" monitor/Sound Blaster Audigy Platinum EX/3072kbs Sat Con... I joined in!
Hockey07
21
Years of Service
User Offline
Joined: 18th Dec 2002
Location: United States
Posted: 10th Feb 2003 05:13
No they just appear infront of me on my matrix fine, and then they disappear.

Current Project: Dark Wars
166 lines of code so far
http://hometown.aol.com/Hockeycow07/rebel.html - The official ReBel Games website!
Puffy
22
Years of Service
User Offline
Joined: 4th Sep 2002
Location: United States
Posted: 10th Feb 2003 05:17
o_O Get your code to work without sounds and models and upload it... OR upload a zip with everything in it... I don't have db installed... only dbpro...

AMD Athlon XP 2100+ OC to 3Ghz/1.5gigs ram/128mb ti4200/120gigs hd/19" monitor/Sound Blaster Audigy Platinum EX/3072kbs Sat Con... I joined in!
Hockey07
21
Years of Service
User Offline
Joined: 18th Dec 2002
Location: United States
Posted: 10th Feb 2003 14:15
K, Ill do that.... Later.I have other things to work on right now

Current Project: Dark Wars
166 lines of code so far
http://hometown.aol.com/Hockeycow07/rebel.html - The official ReBel Games website!

Login to post a reply

Server time is: 2024-11-24 01:50:59
Your offset time is: 2024-11-24 01:50:59