trial
c-mera
trial | c-mera | |
---|---|---|
10 | 7 | |
832 | 383 | |
2.0% | - | |
9.9 | 0.0 | |
6 days ago | over 1 year ago | |
Common Lisp | Common Lisp | |
zlib License | GNU General Public License v3.0 or later |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
trial
- Trial Game Engine Issue
-
Submissions to Spring Lisp Game Jam 2023
Little Spark - made with Trial
- Show HN: Kandria, an action RPG made in Common Lisp is now out
-
Kandria, an action RPG written in Common Lisp releases in a week on January 11!
The engine is called Trial. https://github.com/shirakumo/trial.
- Lisp-Stick on a Python
-
interested in learning lisp, (specifically for games, but also for everything else including tui and gui applications for linux. currently have next to no programming knowledge, can i get forwarded some resources and some tips on what exactly i should do? any videos i should watch?
I don't know what the situation is like for 3D game programming in CL. Shinmera recently kickstarted a game but it's 2D I think and I don't know if his engine (https://github.com/Shirakumo/trial) does 3D. But regardless of what you're using, going into learning how to program while also trying to learn how to use the game engines available in the CL world will probably be a recipe for getting overwhelmed and discouraged. I'd recommend going through the Steve Losh post first and reading A Gentle Introduction to Symbolic Computation and/or Practical Common Lisp to get some solid general familiarity with using CL. Both are available online for free. You can also browse through the Cookbook: https://lispcookbook.github.io/cl-cookbook/
-
Common lisp game development libraries
For graphics there's a lot of different variants and options. I use Trial, but that doesn't have any docs yet, I'm afraid.
- Trial: A fully-fledged Common Lisp game engine
-
Our Lisp game, Eternia: Pet Whisperer is now out on Steam!
Kandria and Eternia both are built on top of the game engine Trial, which I and a few others at Shirakumo have been working on for some years now. Trial itself makes use of a bunch of lower level libraries like cl-opengl, GLFW, pngload, harmony, etc. but a huge amount of the codebase was written by me. If you're interested in its development, I recommend hopping by the #shirakumo channel on the Freenode IRC network. I'd be happy to answer questions there!
-
Idiomatic way to handle non GC objects, i.e. OpenGL textures ?
A good way to do it is to keep a staging area of sorts that keeps track of the manually allocated objects and their state. When you allocate you batch all objects to allocate together and then execute the load in one go, updating the records in the staging area. Then, when you're ready to switch to a different scene or whatever, you diff the staging area against the current set of objects that need to be live and deallocate everything else in one go.
c-mera
-
Submissions to Spring Lisp Game Jam 2023
Arguably Pacman Clone - it uses WISP (non s-exps syntax for any lisp) + C-Mera which is some kind of mix of C and CL, and is written mostly in CL.
-
Is there a language with lisp syntax but C semantics?
c-mera does exist.
-
jc - Meta-program C/C++ with JavaScript
Thanks, you're right. I chose JS because it is so well-known, but I think it does have some other advantages as well. For example, if you need to run a lot of compatibility test commands, or need to generate code via external programs, or even make network requests to get config values or something, you can do all of that in parallel with JS async instead of sequentially like configure. You might find https://github.com/kiselgra/c-mera interesting. It's similar to this project but uses Lisp and a unified syntax.
-
Generate C code
I used https://github.com/kiselgra/c-mera for this purpose and it worked very well.
-
Carp – A statically typed Lisp, without a GC, for real-time applications
That's a Lisp preprocessor for a non-Lisp language.
If you program in C using the Common Lisp c-mera preprocessor, or any of the other similar systems, it's the same thing.
You're writing everything in S-exps, and the expansions use conses, but the output is C; so that of course cannot call cons at run time.
https://github.com/kiselgra/c-mera
-
Syntatic Sugar that compiles to C
even more interesting are the handful of projects layering lisp style macros on top of C. i've seen several go by over the years; a quick google search brought up c-mera and cmacro.
-
Alternative to ECL?
If you look for lisp-like syntax in C: - cmera https://github.com/kiselgra/c-mera
What are some alternatives?
raylib - A simple and easy-to-use library to enjoy videogames programming
c2ffi - Clang-based FFI wrapper generator
ulubis - A Wayland compositor written in Common Lisp
cl-raylib - Common Lisp binding of raylib
Panda3D - Powerful, mature open-source cross-platform game engine for Python and C++, developed by Disney and CMU
janet-benchmarksgame - Versions of the "Computer Language Benchmarks Game" benchmarks for the Janet language.
trivial-gamekit - Simple framework for making 2D games
chibi-scheme - Official chibi-scheme repository
cffi - The Common Foreign Function Interface
cmacro - Lisp macros for C
magnum - Lightweight and modular C++11 graphics middleware for games and data visualization
cl-autowrap - (c-include "file.h") => complete FFI wrapper