1 Instance Or Many
Posted 27 January 2010 - 03:20 PM
this regarding just 1 step, a 1 time thing.
obj_controller code: with (obj_block) motion_set(dir,speed);
obj_block user0 event: motion_set(dir,speed);
imagine there is 1 obj_controller and 500 obj_block
(that is just an example it's not something i'm doing)
Posted 27 January 2010 - 03:30 PM
I suspect that each object with the code will be (ever so, ever so, slightly!) faster, but really the two will probably work out more or less the same as the overhead of calling the code from an another object will be negligble. The real reason for doing it one way or the other is comfort and ease of use for you personally...
Posted 27 January 2010 - 03:38 PM
anyway i'm not confortable with dll's on game maker as i've never used any. so i'm skipping that. i was affraid that with (objects) 500 times to perform on the same step the game could get slower, by your answer i can see that's not the case.
thanks for the help.
Posted 27 January 2010 - 04:17 PM
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users