Gamestudio Links
Zorro Links
Newest Posts
Zorro 2.70
by jcl. 09/29/25 09:24
optimize global parameters SOLVED
by dBc. 09/27/25 17:07
ZorroGPT
by TipmyPip. 09/27/25 10:05
assetHistory one candle shift
by jcl. 09/21/25 11:36
Plugins update
by Grant. 09/17/25 16:28
AUM Magazine
Latest Screens
Rocker`s Revenge
Stug 3 Stormartillery
Iljuschin 2
Galactic Strike X
Who's Online Now
3 registered members (NewbieZorro, TipmyPip, AndrewAMD), 14,749 guests, and 7 spiders.
Key: Admin, Global Mod, Mod
Newest Members
krishna, DrissB, James168, Ed_Love, xtns
19168 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
several scripts #159177
10/06/07 19:25
10/06/07 19:25
Joined: Apr 2006
Posts: 28
S
sky Offline OP
Newbie
sky  Offline OP
Newbie
S

Joined: Apr 2006
Posts: 28
Does a game use many script files or just 1?

Re: several scripts [Re: sky] #159178
10/06/07 19:35
10/06/07 19:35
Joined: Jul 2002
Posts: 4,436
Germany, Luebeck
Xarthor Offline
Expert
Xarthor  Offline
Expert

Joined: Jul 2002
Posts: 4,436
Germany, Luebeck
Well you can use one script file.
But you can also use some more

You can even write your whole code into one single line.

Re: several scripts [Re: Xarthor] #159179
10/06/07 20:02
10/06/07 20:02
Joined: Jan 2003
Posts: 4,305
Damocles Offline
Expert
Damocles  Offline
Expert

Joined: Jan 2003
Posts: 4,305
The compiler actually gets one skript!

But before the script is compiled, several scripts are combined to one.

The command include <...wdl>;
"inserts" other skripts at that position.

So you can seperate your game into various wdl (or c) scripts.

Seperating skripts is a good manner to keep
your project managable.
Single skript-files should not be too big.


Gamestudio download | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1