Would this be a problem?
Blitz3D Forums/Blitz3D Beginners Area/Would this be a problem?
| ||
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? |
| ||
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. |
| ||
Includes are just equivalent to pasting the include code into the main file - no speed issues at all. |
| ||
What are Types' advantages, except they have a readable Field Name... lol unlike arrays :P ? |