jach / lgame Goto Github PK
View Code? Open in Web Editor NEWlgame is a pygame-inspired library for making simple games in Common Lisp using cl-sdl2
License: The Unlicense
lgame is a pygame-inspired library for making simple games in Common Lisp using cl-sdl2
License: The Unlicense
There are currently two problems with using cl-sdl-ttf.
("libffi.so")
and load that, but this isn't acceptable.1 can be solved by waiting, I think, cffi is more active and the fix is already in, even if not yet distributed to quicklisp. 2 is more tricky. I think I may need to do the foreign bindings myself. Well, whatever, this issue is just for my notes. I'll close it if at least 1 is resolved and I no longer have an error when quickloading. On the off chance that I need to make this public before it's fixed, I'll find some other workaround, like dropping sdl-ttf entirely...
After seeing the SDL3 migration guide I'm pretty confident I don't want to touch it. I'd be surprised if pygame smoothly migrates to it anytime soon, though the pygame-ce project is worth keeping an eye on. I think it's time to give up on SDL.
Probably should follow Kandria and use OpenGL / GLFW as a base layer. Or perhaps finally dig into Trial and see if a pygame-esque interface can be easily built on top of it? (And how about using godot as a backend instead?)
Well, for the time being, I'll probably do nothing. SDL2 isn't going anywhere.
If I do do anything, I should prioritize using fewer direct SDL calls, symbols, and data objects and instead go through the trouble of making Lisp native versions that get translated later.
e.g. an actual rect class instead of sdl-rect, whose int behavior has given me trouble before, actual Lisp render functions that can be inlined to the sdl render ones but also potentially in the future behave as just staging a render to be executed on a separate correct thread (that won't crash), and actual Lisp keyword symbols for events instead of the constants brought in from the sdl header (that are renamed now in sdl3). I get a lot of productivity by being able to tab-complete, though.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.