Remember me
You are here: HomeForumCyberix3D ForumGeneral DiscussionLinux / ChromeOS version beta testing
Welcome, Guest
Username: Password: Remember me

TOPIC: Animation frames

Animation frames 3 weeks 3 days ago #3184

Is there a way to get animations to consistently play on their first frames? Cause it seems to play at a random point in the animation or the previous frame it was played at instead of starting at the beginning.
The administrator has disabled public write access.

Animation frames 3 weeks 2 days ago #3185

  • ViraX
  • ViraX's Avatar
  • OFFLINE
  • Expert Boarder
  • Posts: 152
  • Thank you received: 113
yes it's possible, it probably comes from your algorithm,

test this:
<GameMaker3D>
  <Plane x="" y="0" z="0" name="test_frames" static="1" rotationX="-90" scaleU="0.1" width="550" height="350" scaleV="0.1" texture="your_anim_frames(spritesheet)">
    <Var var="key" value="1"/>
    <Loop>
      <If var="key" eq="1">
        <Wait seconds="0.3">
          <Increment var="offsetU" value="0.1"/>
          <If var="offsetU" eq="0.9" gt="0.9">
            <Set var="offsetU" value="0"/>
            <Increment var="offsetV" value="0.1"/>
            <If var="offsetV" eq="0.9" gt="0.9">
              <Set var="offsetU" value="0.9"/>
              <Set var="offsetV" value="0.9"/>
              <Set var="key" value="-1"/>
            </If>
          </If>
        </Wait>
      </If>
    </Loop>
  </Plane>
</GameMaker3D>

adjusted scaleU & scaleV (plane) in order to have the first image correctly centered, also modify scaleU & scaleV and offsetU & offsetV in the algorithm.
normally the animation will play from the first frame to the last ...
Last Edit: 3 weeks 2 days ago by ViraX.
The administrator has disabled public write access.
The following user(s) said Thank You: Symbiotic Interactives

Animation frames 3 weeks 2 days ago #3186

Thank you for the help but I should've clarified that I meant md5 animation frames, sorry :lol:
The administrator has disabled public write access.

Animation frames 3 weeks 2 days ago #3187

  • ViraX
  • ViraX's Avatar
  • OFFLINE
  • Expert Boarder
  • Posts: 152
  • Thank you received: 113
:lol: :lol: it is true that your request may be confusing :lol:
The administrator has disabled public write access.
The following user(s) said Thank You: Symbiotic Interactives
Time to create page: 0.117 seconds