

Then there are user-defined functions (like update_animations or play_animation). You have to call these yourself, but what they do is pre-defined and isn’t meant to be changed. Basically all of these will be prefaced by the name of the library that they are in, like: go.get_position() (from the Game Object library), msg.post() (from the Message library), or vmath.length() (from the Vector Math library).
#STENCYL WHEN UPDATING CODE#
All the code in your game will branch out from these functions. They won’t actually do anything until you add code to them. These functions will be called by the engine at certain points during the life of the script instance and your game. on_reload - called when the script is hot reloaded.

#STENCYL WHEN UPDATING HOW TO#
So I did a little reading and found an idea of how the animations might work but not quite sure how to apply them to the code Thank you for the reply, however I still seem to be facing the same problem.
