This week I quickly wrote a 3D pool table simulator for Linux using Free Pascal and the Lazarus IDE. You can check out an action clip of it here https://cache.getlazarus.org/videos/linux-pool.mp4. It's FOSS and the git repo for this and other examples projects are hosted here https://github.com/sysrpl/Raylib.4.0.Pascal.
This was just a quick project in preparation for a 3D pinball program I want to write for Linux using Pascal. If you want to test the pool program out on x86_64, a binary is in the example table project folder.
Use the mouse to aim, press spacebar to shoot, Keys 1-9 rerack the balls, C switches the camera mode, arrow keys move the cue and alter the hitting strength. Hold shift down for finer control of aiming and strength
Oh and, I did write a nice glsl shader syntax highlighter for Lazarus that greatly aids writing glsl code in the Lazarus IDE. If anyone wants to put it in the official Lazarus list of highlighters let me know. -------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20250209/c6f7ee33/attachment.htm>
