• Hey Guest! Ever feel like entering a Game Jam, but the time limit is always too much pressure? We get it... You lead a hectic life and dedicating 3 whole days to make a game just doesn't work for you! So, why not enter the GMC SLOW JAM? Take your time! Kick back and make your game over 4 months! Interested? Then just click here!

GameMaker variable_instance... VS ds_map

F

FrancisClase

Guest
Hi guys,

Which is faster?
Functions variable_instance... or ds_map?

I did some small tests, but I'm still not sure ...
 
Last edited by a moderator:

Hyomoto

Member
The instance variables are probably faster in most cases, but at the same time you lose the built-in indexing and searching that maps allow so ... they are completely different options that are suitable for different tasks. But in pure speed: well it depends on the size of the map. But I'm guessing instance variables are faster 99% of the time.
 
Top