timers and animations not incrementing
hi i have a custom engine it is rendering fine, mouse events and buttons fine, but storyboads and even adding a timer view->CreateTimer i never get a callback.
my loop is very simple
I dont have Noesis.pdb so i cannot step into update and see what is going wrong. noesis log handler is not reporting anything. Animations and all work fine in studio but I cannot figure out why timers dont increment here.
I am using highrestimer::ticks and Seconds() to calculate the DT and it is sane values
What can i possibly look into to solve this, thank you.
my loop is very simple
Code: Select all
if (!view->Update(deltaTime))
{
return;
}
view->GetRenderer()->UpdateRenderTree();
view->GetRenderer()->RenderOffscreen();
// some prep
view->GetRenderer()->Render();
I am using highrestimer::ticks and Seconds() to calculate the DT and it is sane values
What can i possibly look into to solve this, thank you.
Re: timers and animations not incrementing
oh woops i misread the source material, the time should be an elapsed ticks since "game start" or whenever you want that to be.
Re: timers and animations not incrementing
Yes, exactly! This is a common mistake and probably not an ideal choice in our original API. Happy to see you fixed it!
Who is online
Users browsing this forum: No registered users and 4 guests