Question on Organisation 3DGS A7

Posted By: Omighty

Question on Organisation 3DGS A7 - 04/08/10 00:14

Just wondering if there is a way of organising your codes? ATM I am on line 524 with codes all over the place. I was looking at level changing tutorial which was on the free resourses website. It looks like they are able to load other scripts while in a game and load the level as well. But this was in A6 am using A7. Is it possible to do the same thing in A7??

Is there a limit on how much lines, while loops,if Statements you can use? (Noob question but Just wanted to know)
Posted By: darkinferno

Re: Question on Organisation 3DGS A7 - 04/08/10 00:49

well i dont knw the exact limits, if any, my game with A7 so far has over 10,000 lines of code, consisting of while loops, if statements, the works so i dont think you should worry about that for now, hmm, you may wanna use different script files for different purposes also, like you could have a, for exmaple:

GAMENAME_ACTIONS.c //shortening the gamename is good, so you would have something like

gn_actions.c

and you put all your actions in that then include it in your main project, now am not sure if am answering your question correctly but this is what i got but as usual, someone will clarify if am offtrack
Posted By: Omighty

Re: Question on Organisation 3DGS A7 - 04/08/10 01:54

wooow thanks, A7 is a really powerfull tool uh! So what line of code will I need to load a different script file.


Posted By: Omighty

Re: Question on Organisation 3DGS A7 - 04/08/10 02:06

Darkinferno nice vids on youtube "3rd person shooter play test" looks a lot of fun, luv that song as well lool grin
Posted By: DJBMASTER

Re: Question on Organisation 3DGS A7 - 04/08/10 02:24

You can use a '#include "scriptname.c"' statement at the top of your script to load a seperate script file.
Posted By: Omighty

Re: Question on Organisation 3DGS A7 - 04/08/10 20:32

thanks DJBMASTER
© 2024 lite-C Forums