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.

Author
Message
TEH_CODERER
21
Years of Service
User Offline
Joined: 12th Nov 2003
Location: Right behind you!
Posted: 12th Feb 2004 11:21
I am trying to make a game like Worms 3D. I seem to be having a problem with loading time. Whenever I play it, it takes about 2 minutes to load a small level. Is there any way round this?

Jess T
Retired Moderator
21
Years of Service
User Offline
Joined: 20th Sep 2003
Location: Over There... Kablam!
Posted: 12th Feb 2004 13:05
It depends on what code you are using to load the level... If you are using HUGE amounts of loops then it could be the reason..

We need to see some code before we can help you properly...

Jess.


Team EOD :: Programmer/Logical Engineer/All-Round Nice Guy
Sjakie
21
Years of Service
User Offline
Joined: 17th Dec 2003
Location: Netherlands - Delft
Posted: 15th Feb 2004 13:33
dont load objects like this

for obj = 1 to 1000
load object "blablabla.x",obj
next obj

but do this:

load mesh "blablabla.x",1
for obj=1 to 1000
make object obj,1,0
next obj

Now the object is duplicated by the mesh instead of reloading, oh, and if you want to apply texture, replace the 0 at the end for the image number of the texture

Juzt a dude who likez progging - Me loves RTS games
Benjamin
22
Years of Service
User Offline
Joined: 24th Nov 2002
Location: France
Posted: 15th Feb 2004 13:55
Thats a good idea, i never thought of that

Always have, never will =)
JoelJ
21
Years of Service
User Offline
Joined: 8th Sep 2003
Location: UTAH
Posted: 16th Feb 2004 05:10
woh, i didnt even know that existed...

Login to post a reply

Server time is: 2025-05-23 05:51:47
Your offset time is: 2025-05-23 05:51:47