Simple animator oversleeps in Preview

Found a bug? Post information about it here so we can fix it!

Moderator: Moderators

User avatar
rrTea
Posts: 292
Joined: Sat Feb 15, 2014 9:54 am

Simple animator oversleeps in Preview

Postby rrTea » Sat Dec 27, 2014 6:46 am

If you start the example below (with F9, or as an exe), you'll see the square changing colors as expected. But if started inside the preview, it takes some 5 seconds before anything starts happening.

Code: Select all

<?xml version="1.0" encoding="iso-8859-1" ?>
<ZApplication Name="App" Caption="ZGameEditor application" NoSound="1">
  <OnUpdate>
    <AnimatorSimple Duration="0.5" AutoStart="255" Target="MonoColor.Color.G" RepeatCount="-1" ToValue="1" Smooth="255"/>
  </OnUpdate>
  <OnRender>
    <UseMaterial Material="MonoColor"/>
    <RenderSprite/>
  </OnRender>
  <Content>
    <Material Name="MonoColor" Color="0.0548 0.9042 1 1"/>
  </Content>
</ZApplication>


Edit: Tested it on my other (Windows 7) computer and there it sometimes works without delay.

User avatar
VilleK
Site Admin
Posts: 1883
Joined: Mon Jan 15, 2007 4:50 pm
Location: Stockholm, Sweden
Contact:

Postby VilleK » Sat Dec 27, 2014 8:44 pm

This was a bug. It is fixed now and updated in the latest beta. Thanks for reporting the problem.


Return to “Bug reports”

Who is online

Users browsing this forum: No registered users and 1 guest