FLTK logo

Re: [fltk.general] OpenGL Update and Render loop or Game loop

FLTK matrix user chat room
(using Element browser app)   FLTK gitter user chat room   GitHub FLTK Project   FLTK News RSS Feed  
  FLTK Apps      FLTK Library      Forums      Links     Login 
 All Forums  |  Back to fltk.general  ]
 
Previous Message ]New Message | Reply ]Next Message ]

Re: OpenGL Update and Render loop or Game loop imm Oct 12, 2020  
 
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 ]
 
     
Previous Message ]New Message | Reply ]Next Message ]
 
 

Comments are owned by the poster. All other content is copyright 1998-2024 by Bill Spitzak and others. This project is hosted by The FLTK Team. Please report site problems to 'erco@seriss.com'.