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 / Problem with code - DBC

Author
Message
CdPirate
20
Years of Service
User Offline
Joined: 16th Mar 2004
Location:
Posted: 24th Mar 2004 21:37
Hey, can anyone take a look at this code for me? You can download it:

[href]home.eircom.net/~intergames/code.zip[/href]

Pentium4 3.06Ghz 512MB ddr ram 120 GB hard drive...

And Winblows XP.
FROGGIE!
21
Years of Service
User Offline
Joined: 4th Oct 2003
Location: in front of my computer
Posted: 25th Mar 2004 16:51
it seems to be a link to no-where?

my games are only as good as the people who play them...
so if my game is crap then its your f******g fault!
CdPirate
20
Years of Service
User Offline
Joined: 16th Mar 2004
Location:
Posted: 26th Mar 2004 20:07
I'll write up a download page, see if that works.

Pentium4 3.06Ghz 512MB ddr ram 120 GB hard drive...

And Winblows XP.
GenTekZ
20
Years of Service
User Offline
Joined: 30th Dec 2003
Location: Virtual Reality
Posted: 27th Mar 2004 06:22 Edited at: 27th Mar 2004 06:22
there is a section under the mseeage box that says "Code"
i suggest you put your "Code" there so people can actually see the "Code"
example...


http://www.GenTekZ.tk
Code Ninja
20
Years of Service
User Offline
Joined: 17th Dec 2003
Location: AZ, U.S.
Posted: 27th Mar 2004 07:44
GenTekZ is right. ppl are more likely to read yer code if you just post it as a code snippet or as source code.

PC: Pentium II, 333Mhz, 128 Mb SDRAM, 20 & 4Gb hard drives, 8Mb Videocard, Windows XP, Direct X 9, half-dead CD burner, crappy moniter (15inch), DBC 1.13
~Dragael Software
CdPirate
20
Years of Service
User Offline
Joined: 16th Mar 2004
Location:
Posted: 27th Mar 2004 14:03
It uses external media, so I thought I should post it all in a Zip, but the code is attached.

Pentium4 3.06Ghz 512MB ddr ram 120 GB hard drive...

And Winblows XP.
Night Giant
21
Years of Service
User Offline
Joined: 26th Jul 2003
Location:
Posted: 27th Mar 2004 21:19
take everything except

if upkey()=1 : hide object 1 : play object 2 : show object 2 : endif

and

sync

out of your do...while loop. that is just loading the model and doing all that stuff over and over again. you don't need to, and really really shouldn't, do that. you only need to do that stuff once, then the stuff like state changes and event handling goes in the do...while loop (i.e. checking for keypresses, repositioning models, etc.).

oh, wow. insignificantpunks.cjb.net. we like orange treble clef notes, just for future reference.

no: website for progs yet.
CdPirate
20
Years of Service
User Offline
Joined: 16th Mar 2004
Location:
Posted: 28th Mar 2004 17:57
Thanks!

Pentium4 3.06Ghz 512MB ddr ram 120 GB hard drive...

And Winblows XP.

Login to post a reply

Server time is: 2024-11-26 10:42:08
Your offset time is: 2024-11-26 10:42:08