Page 1 of 1

timers and animations not incrementing

Posted: 16 Dec 2025, 23:50
by net8floz
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
    if (!view->Update(deltaTime))
    {
        return;
    }
    view->GetRenderer()->UpdateRenderTree();
    view->GetRenderer()->RenderOffscreen();
// some prep
view->GetRenderer()->Render(); 
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.

Re: timers and animations not incrementing

Posted: 16 Dec 2025, 23:58
by net8floz
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

Posted: 17 Dec 2025, 00:23
by jsantos
Yes, exactly! This is a common mistake and probably not an ideal choice in our original API. Happy to see you fixed it!