Lisp HUG Maillist Archive

2048 game and question about FPS in games with CAPI

Hello - 
As an exercise I wrote a version of 2048 game for Lispworks.
 You can find it here
http://www.obrezan.com/lisp/2048/ 
While coding gui with CAPI I run into some difficulties such as how to keep a constant FPS and how to create a game loop with CAPI. Does anyone have some experiences on how to keep FPS on a constant rate while using only CAPI? Also, any examples or thought on how to implement a proper main game loop in CAPI? 
Best, 
 Art 

_______________________________________________
Lisp Hug - the mailing list for LispWorks users
lisp-hug@lispworks.com
http://www.lispworks.com/support/lisp-hug.html


Updated at: 2020-12-10 08:34 UTC