net8floz
Topic Author
Posts: 27
Joined: 16 Dec 2025, 02:34

timers and animations not incrementing

16 Dec 2025, 23:50

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.
 
net8floz
Topic Author
Posts: 27
Joined: 16 Dec 2025, 02:34

Re: timers and animations not incrementing

16 Dec 2025, 23:58

oh woops i misread the source material, the time should be an elapsed ticks since "game start" or whenever you want that to be.
 
User avatar
jsantos
Site Admin
Posts: 4825
Joined: 20 Jan 2012, 17:18
Contact:

Re: timers and animations not incrementing

17 Dec 2025, 00:23

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