Would this be a problem?

Blitz3D Forums/Blitz3D Beginners Area/Would this be a problem?

Apollonius(Posted 2003) [#1]
Ok, I'm thinking of using a "Type"
to store the Player's Character Info.
And lets just say theres alot... Since theres more then one player... thats why I wana use a type...

I was wondering would storing Type in an Include(meaning another .bb file) cause any problem?

Or should I use an Array? What would be the advanges ? Faster? Can transfer the whole array to the client side?


Nebula(Posted 2003) [#2]
If you place the include <file> section at the correct point it would not matter.

Arrays are slightly faster in my experience. Though types have their advantages to. Its up to you what to choose.


Who was John Galt?(Posted 2003) [#3]
Includes are just equivalent to pasting the include code into the main file - no speed issues at all.


Apollonius(Posted 2003) [#4]
What are Types' advantages, except they have a readable Field Name... lol unlike arrays :P ?