|
|
On Sun, 11 Oct 2020 at 10:26, FOSS Dev wrote:
>
> I am new to fltk.
> I want to know how can i implement a game loop in Fl_Gl_Window class.
> I want to update() and render() functions called by my game loop.
> I also want to calculate elapsed time since last game loop to find deltaTime.
>
Though you can do this in fltk, I am not sure I would - there are
other libraries that are more focussed on gaming, so if that is your
objective then they might well be a better fit for your needs.
Fltk's main strengths lie in other areas, it was not meant to be a
game engine...!
That said, there are a few examples, so a poke about the links page
https://www.fltk.org/links.php might find something - I used "play" as
the search term and got a fair number of hits!
--
You received this message because you are subscribed to the Google Groups "fltk.general" group.
To unsubscribe from this group and stop receiving emails from it, send an email to fltkgeneral+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/fltkgeneral/CAGFM6dbY1AOVX62eWHZNKT8wGU-DBtKEaYUiZXBYWbNM9kGGqg%40mail.gmail.com.
[ Direct Link to Message ] | |
|
| |