Deprecated: str_replace(): Passing null to parameter #1 ($search) of type array|string is deprecated in /var/www/vhosts/gamedevstudiogame.com/httpdocs/classes/client.php on line 124

Deprecated: str_replace(): Passing null to parameter #2 ($replace) of type array|string is deprecated in /var/www/vhosts/gamedevstudiogame.com/httpdocs/classes/client.php on line 124
Game dev studio

Classes

Concepts

Libraries

Objects

contractor »

conversationAnswerData »

engineStatData »

issueData »

playerPlatformSpecialistData »

projectReviewConclusion »

projectReviewRemark »

randomEventData »

statusIcon »

setCycle

Description

Sets the progress of the animation. Range of 0 - 1.

Arguments

1 number progress

the progress to set the animation to.

Example

tdas:setCycle(0.75) -- set the progress to 75% done. if there are 10 frames in the animation, this will be the 7th frame; 20 frames - 15th frame.