HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

How much is too much?

08-25-2002, 09:44 PM#1
Guest
I'm creating what I believe will be a really fun, original game, but I'm starting to worry about things like efficiency and memory usage and all that. For instance, I have an array with over 100 elements and I'll probably have around 50 to 60 triggers when all is said and done.

At what point does it become an issue? Numbers like 100 and 50 to 60 are really very small figures for today's computers, but I still want to be sure before I continue down the road I'm on with this map...

AV
08-25-2002, 10:32 PM#2
weaaddar
100? 50 60?

Dude Its not QUANTITY That matters its quality. I can have a hero arena with a 150 triggers and a 100 vars that doesn't make it l337 or exciting.

Always go for the lower number. The lesser globals the beter I always say (Use as many locals as you want though!) Take those 60 and turn it in to 6 then i'll impressed.
08-25-2002, 10:47 PM#3
Orzokiki
yea i woulndt worry about that many trigs...now fo units that could lag the game but all in all it will proably work!
08-25-2002, 11:02 PM#4
Guest
Yah, I know that weadder. I'm in no way bragging about having 50 to 60 triggers -- I'm a little annoyed about it in fact -- but I don't want to mess the functionality up trying to cut it down unless it's necessary, which is what I'm asking. I'm just wondering at what point does the game start to suffer from having extraneous triggers, variables, etc. At some point, it's worth it to reorganize the logic in order to cut back on the number of triggers and globals.

Incidentally, how do you create a local variable?

AV
08-25-2002, 11:37 PM#5
weaaddar
local variabletype variablename = initialvalue
Custom text only ofcourse and custom text is ussually the cure to all massive trigger issues
08-25-2002, 11:50 PM#6
Guest
K, thanks.
08-25-2002, 11:57 PM#7
dataangel
The two maps I've made both had over a hundred triggers, and niether of them had performance problems.

(Well, actually the first one did, but that's only because I neglected to destroy special effects =P)
08-26-2002, 01:13 AM#8
weaaddar
why does battle dome have over a 100 triggers it seems rather wasteful no?