I was thinking of creating item system based on multi dimensional arrays. The only problem is Im not sure will it cause lagg or some problems if you use too big of an arrays (It will probly greate great number of variables too).
Meaning is it ok to make variable like this:
Integer = 0 [6][20][50] (global variable)
I was also thinking of saving those stats later so will that be a problem?
I really think this would be good way to go for me, if it doesnt cause problems :E
edit* Im already laughing at myself for making some weird stuff again :D
Im currently using a rather large 2d array of images, and its been causing me problems nonstop. though i think thats just me or my images, cause the problem literally goes away without me fixing it... but every other time i add a new immage to the array, the map wount load the first couple attempts, then works fine... maybe its the editor. but ints are small and simple, i dont think ull have a problem.
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
I was thinking of creating item system based on multi dimensional arrays. The only problem is Im not sure will it cause lagg or some problems if you use too big of an arrays (It will probly greate great number of variables too).
Meaning is it ok to make variable like this: Integer = 0 [6][20][50] (global variable)
I was also thinking of saving those stats later so will that be a problem?
I really think this would be good way to go for me, if it doesnt cause problems :E
@zenx1: Go
Im currently using a rather large 2d array of images, and its been causing me problems nonstop. though i think thats just me or my images, cause the problem literally goes away without me fixing it... but every other time i add a new immage to the array, the map wount load the first couple attempts, then works fine... maybe its the editor. but ints are small and simple, i dont think ull have a problem.