keyframes

Methods

(inner) keyframe_system(group) → {keyframe_system}

Description:
  • Creates a keyframe system
Source:
Parameters:
Name Type Description
group group Group of objects to animate
Returns:
Type
keyframe_system

Type Definitions

keyframe(x, y, duration, curve, close, easing)

Description:
  • Creates a single keyframe at a specific position
Source:
Parameters:
Name Type Description
x number X position of keyframe
y number Y position of keyframe
duration number Duration of keyframe
curve boolean Whether to make the keyframe curved
close boolean Whether to set the keyframe as the last one + loop back to first keyframe
easing easing How smoothly the keyframe moves

keyframe_system

Description:
  • Represents a keyframe system in GD
Source:
Properties:
Name Type Description
keyframe keyframe Creates a single keyframe at a specific position
start start Starts a keyframe system
anim_id number ID of animation
Represents a keyframe system in GD
Type:
  • object

start()

Description:
  • Starts a keyframe system
Source: