behavior vs class performace
by Eyal Erez · in Torque Game Builder · 02/27/2009 (11:02 am) · 0 replies
I'm in the process of converting my classes into behavior.
I have a space invaders style game where bullets class is colliding with enemy class.
it seems like behavior are a bit slower than class.
onUpdate() callback is disabled. it's a simple behavior/class with a collision callback.
Have you notice performance difference between the two?
I have a space invaders style game where bullets class is colliding with enemy class.
it seems like behavior are a bit slower than class.
onUpdate() callback is disabled. it's a simple behavior/class with a collision callback.
Have you notice performance difference between the two?