User Tools

Site Tools


set_animation_speed

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
set_animation_speed [2017/05/09 15:00] justinset_animation_speed [2017/05/09 16:17] justin
Line 15: Line 15:
 ====Example:==== ====Example:====
 <code python> <code python>
-set_animation_speed(self, "anim_name", 10)+set_animation_speed(entity["purple_slime"], "idle", 12)
 </code> </code>
-//Results://+//Results:// The purple slime's idle animation is updated to a speed of 12 frames per second.
  
 <WRAP center round tip 100%> <WRAP center round tip 100%>
-Use the **Set Animation Speed** function to ...+Use the **Set Animation Speed** function (for the "walk" animation) in conjunction with [[Set Movement Speed]] to speed up or slow down a character's movement.
 </WRAP> </WRAP>
  
set_animation_speed.txt · Last modified: 2021/04/21 18:49 by justin