ID:1809686
 
Redundant
Applies to:DM Language
Status: Redundant

This feature has already been implemented, or is already achievable with existing methods.
I don't want to turn Dream Maker into Unity, but something I don't like about while() loops on DM is that it take a lot of CPU. This is pretty inconvenient for objects that are constantly updating, like AI's. I was thinking, maybe if users had access to the code that's called on every frame instead of calling multiple while() loops, it would cause a noticeable performance boost in most games.


Thanks
Similar to the Stat() proc?
Yeah, but the Stat() proc is only client-side AFAIK.
This is completely doable by rolling your own event system. Although writing one in such a way as to see any performance benefit would involve having master loops for certain things, which avoid unnecessary proc calls.
Lummox JR resolved issue (Redundant)
Yeah, but the Stat() proc is only client-side AFAIK.

Stat() isn't client side, BTW.