How does using the LCL stop you from using D3D or OpenGL? Anyways you can use the TPainbox inside of Lazarus just like you would in Delphi. Make sure that you set the component style to Opaque and that you double buffer the drawing stuff. Other then that its fairly simple, itterate your "Playing Field", draw it to the back buffer, and on the next refresh of the paintbox set the paintboxes canvas pointer to your backbuffer pointer (also remember to set the old pointer to the backbuffer).Originally Posted by marcov
If you look at my website I have a sample for Delphi, their is also a version of FPC if I can find it some place
Bookmarks