8 ms·
Lisp Game Jam 2018
- skocznymroczny 9y agoThis looks like it could be fun. I don't know Lisp, but I might be willing to learn one just for this jam. Can someone recommend a Lisp version that works on Windows and is easy to setup? Simple 2D graphics like SDL will be enough for me.
- rlp 9y agoI would suggest SBCL if you're going with Common Lisp, although Clojure + libgdx could be an interesting combination.
- speps 9y agohttps://docs.racket-lang.org/games/index.html https://docs.racket-lang.org/games/index.html Also has bundled bindings for OpenGL and other GUI stuff. You can find more there: https://docs.racket-lang.org/index.html https://docs.racket-lang.org/index.html
- grimgrin 9y agoHuh, cool. I like that they provide a module for traditional card games https://docs.racket-lang.org/cards/index.html https://docs.racket-lang.org/cards/index.html
- hucker 9y agoTake a look at racket (https://racket-lang.org/ https://racket-lang.org/), works on windows and is the most beginner-friendly lisp I know.
- lispm 9y agoSee here for Lisp resources: https://github.com/lispgames/lispgames.github.io/wiki/Common-Lisp https://github.com/lispgames/lispgames.github.io/wiki/Common...
- na85 9y agoWow, the amount of [STALLED] or [ABANDONED] tags on that list sure was depressing.
- lispm 9y agoWhy that? People write a lot of experimental code. There is nothing wrong with that. One could remove them from the list, but the state is documented and you can choose to use them or not. Note also that the language does not change too much, so relatively old libraries might still work - the surrounding platform changes faster and is probably more of the actual limitation.
- CodeArtisan 9y agoRacket and clojure being already cited, there is also LambdaNative which is a scheme specifically for developing cross platform applications (it's based on gambit scheme). it has a binding for opengl and a GUI built with that binding. http://www.lambdanative.org/ http://www.lambdanative.org/
- i_feel_great 9y agoAlready an example game in LambdaNative: https://github.com/part-cw/lambdanative/blob/master/apps/uSquish/main.scm https://github.com/part-cw/lambdanative/blob/master/apps/uSq.... Compile it and run it, or get it from the App stores
- baggers 9y agoI'm biased but I'd go Common Lisp The basics: - SBCL: generates fast[0] code. runs well on windows - Quicklisp: The package manager which lets you install the packages mentioned below I've got a video here that should help with getting set up on windows https://www.youtube.com/watch?v=VnWVu8VVDbI&t=1s https://www.youtube.com/watch?v=VnWVu8VVDbI&t=1s Then you could try the SDL2 approach: - cl-sdl2: Bindings over sdl2 https://github.com/lispgames/cl-sdl2 https://github.com/lispgames/cl-sdl2 - cl-sdl2-mixer: audio playback https://github.com/lispgames/cl-sdl2-mixer https://github.com/lispgames/cl-sdl2-mixer - Some basic math library like: 3d-matrices, rtg-math, sb-cga Or maybe an existing engine: - https://github.com/borodust/trivial-gamekit https://github.com/borodust/trivial-gamekit Come down to #lispgames on freenode if you need a hand as there is usually someone there who has touched this stuff[1] I'll also pimp my own stuff while I'm here just in case someone is looking for a lispy layer over gl - https://github.com/cbaggers/cepl https://github.com/cbaggers/cepl Main downside of Common Lisp is that Emacs or Vim are pretty much a requirement to get a nice development environment, without which you are pretty much in 'writing Java in notepad' territory. [0] for some definition of fast that I don't want to belabor this comment with.
- mtreis86 9y agoTo get started quickly with SBCL/Quicklisp/Emacs/Slime on Windows: https://common-lisp.net/project/lispbox/ https://common-lisp.net/project/lispbox/ or http://www.iqool.de/lispstick.html http://www.iqool.de/lispstick.html
- TeMPOraL 9y agoLispbox is very old (though worked good enough at the days; I actually started with it). The current "Lisp environment in a box" thing is Portacle - https://portacle.github.io/ https://portacle.github.io/.
- baggers 9y agoI couldn't get anywhere with those last time I tried (2013). LispStick doesn't seem to have been updated since 2014 and LispBox has had no commits since 2010. Have you used either of these recently? For those wanting to go this route I'd recommend Portacle which can run on off a usb and includes git
- yumaikas 9y agoI'd recommend Fennel and Love2D, if you're ok with picking up a bit of Lua, or if you already know it.
- swah 9y agoThis dev does awesome cute little games in Lua in these kinds of competitions, if you need inspiration: https://rxi.itch.io/ https://rxi.itch.io/
- cosarara 9y agoMaybe using one of the lisps that compile to lua would be a good idea, since löve is pretty nice to make games in. There's quite a lot of them, I don't know how they compare: https://github.com/bakpakin/Fennel https://github.com/bakpakin/Fennel https://github.com/sctb/lumen https://github.com/sctb/lumen https://github.com/leafo/moonlisp https://github.com/leafo/moonlisp https://github.com/SquidDev/urn https://github.com/SquidDev/urn
- nathcd 9y agoSomething maybe of interest to HNers to keep an eye on: I noticed that the creator of the Carp language tweeted about getting Carp ready for the Lisp Game Jam. https://twitter.com/e_svedang/statuses/977569718101069824 https://twitter.com/e_svedang/statuses/977569718101069824 https://github.com/carp-lang/Carp https://github.com/carp-lang/Carp
- mtreis86 9y agoThe discord invite on that page has expired, does anyone have a current invite?
- fulafel 9y agoDoes using Arcadia (Clojure for Unity, https://github.com/arcadia-unity/arcadia https://github.com/arcadia-unity/arcadia) qualify?
- carloscm 9y agoI'm beating my own drum here, but the gameplay code for my game Galactology is 90%+ done in a Lisp dialect (l2l with LuaJIT underneath), clocking at 51K lines currently. It has been a huge productivity boost since I switched from C++ two years ago, but I do miss some level of typing and static checking. http://thespatials.com/ http://thespatials.com/
- paines 9y agoIn a lisp dialect? I thought you went with s7 as an embedde scripting language for C++!
- carloscm 9y agoI originally did. This was fine when the scripting was just doing data setup in advance, and it wasn't being run per-frame as game logic. When I started The Spatials V3 (aka Galactology) I also started doing real time game logic in s7. After enough code it became clear that the fastest purely interpreted scheme wasn't fast enough to be put into a soft real time path (the game grew up to hundreds of systems, in the ECS sense). So I made a 6 months long gameplay development freeze last year and I converted all the s7-flavored Scheme code into the l2l Lisp dialect with a custom transpiler (which had to be aware of all the s7-ism plus my own s7 reader macros), and replaced the C++ binding layer with sol2. This resulted in a ten-fold increase in performance when the game is limited by logic perf (it's not visible with an empty new game). LuaJIT is alien technology for all I know. I have to do a proper write up some day.
- paines 9y agoThanks man. I wish you the best with your game. Sounds like the total dream job to me. I am eager to read that write up!
- deleted 9y ago[deleted]
- Grue3 9y ago>Must be written in any dialect of Lisp. This includes, but is not limited to Common Lisp, Scheme, Emacs Lisp, and Clojure. How are these dialects of each other? By this logic, Javascript is a dialect of C.
- klodolph 9y agoWhether something is a separate language or a dialect is as much cultural as it is technical.
- _emacsomancer_ 9y agoLike Norwegian & Swedish.
- rekado 9y agoThey are not dialects of each other but all are Lisp dialects. You would not call Scheme a dialect of Emacs Lisp, but both are Lisp dialects.
- Grue3 9y agoThey are Lisp languages. The syntax is similar, but the languages listed hardly have anything common with each other. They aren't even all on the same side of the classic functional/imperative divide.
- rekado 9y agoWhether something is a dialect or a language from a shared lineage is a difficult distinction, even in natural languages. Shanghainese is called a Chinese dialect, but it is a Wu language. It is not a dialect of Mandarin (aka the Beijing dialect), but it certainly is a dialect of a common "Chinese" language, even though it is a descendent of a language family that is not most closely related to Mandarin. Even speaking of a functional/imperative divide is not necessarily a useful property when talking about Lispy languages. Where would you put Scheme (it's neither fully on the functional side nor does it feel at home on the imperative side). You could just as well make a distinction between Lisp 1 and 2 languages and use that as the primary discriminator. The term "dialect" is fuzzy when applied to different spin-offs from a common pool. (I do agree with you that they have not much in common, but often they were lifted from the same soup of ideas.)
- mbrock 9y agoIf I had time and energy to participate, one fun idea I have would be to make an Emacs Lisp game that's some kind of mystery sci-fi thriller based on coding: like, an Emacs environment that simulates the workstation of an engineer on a Mars base, with incoming emails from mission command, a fake Unix shell with space base commands, etc. Kind of like an "epistolary interactive fiction adventure" with a hacker angle.
- pseudonymcoward 9y agoMind if I steal this idea? I've been meaning to learn some elisp for a while and games revolving around fictional computer interfaces appeal to me.
- purple-again 9y agoMan this sounds awesome! Sadly it would be a ton of work to do right for a small audience that would appreciate it or you would have to bastardize the concept so much for the masses that it would end up little more than a ‘cockpit with tons of shiny buttons’ like you get in most flying games.
- aijony 9y agoI've had the same idea for a few weeks now. I'm surprised I'm not the only one.
- yayitswei 9y agoReminds me of Bussard (https://technomancy.itch.io/bussard https://technomancy.itch.io/bussard), a "space flight programming adventure game" written in Clojure.
- verytrivial 9y agoPlease please please pick a theme. Even a vague, open-ended one will provide some creative tension and give "reviewers" a starting point when reviewing.
- paines 9y agoLudum Dare 41 starts 1 day later. So maybe you could pick their theme! A constraint like theming makes things much easier imho.
- mfiano 9y agoOrganizer here. We tried a theme last jam and it didn't go so well.
- danbolt 9y agoThat’s interesting to hear! Usually game jam culture is very receptive towards themes. What did you find didn’t work?
- gnode 9y agoCan anyone recommend a Lisp dialect / environment which is suitable for web-based publication, and game multimedia (graphics, audio, control, etc.)?
- agentultra 9y agoCommon Lisp with the Parenscript library; use any JS game framework underneath that appeals.
- johnhattan 9y agoThat's always my problem when I look at lisp for game programming. If I say "I want to write a standalone 3D iPhone game using C#", there are plenty of sites that'll show me exactly what tools are out there, how they work together, and how to write/debug/package a complete game. With Lisp, I often end up in the weeds looking at tools and tech that may or may not still be supported. I have a hard time figuring out a well-established set of tools that'll get me a first-class playable game in Lisp. If anything I'm going to watch this game jam just to see what everyone's using and how good the results look.
- gameswithgo 9y agoif you can find bindings to SDL2 it is easy enough to do 2d games add opengl and you can do 3d games
- kbp 9y agoYou can always just use a C library directly through the FFI if there isn't an obviously good Lisp option for what you're doing. You're probably not the only person trying to do whatever you're doing in Lisp, though, and asking on some online forum for Lisp users usually yields good suggestions.
- lonjil 9y agoIf you want it to actually run in the browser then ClojureScript is probably what you want.
- 9y ago
- holtalanm 9y agoi just started learning Common Lisp a couple of weeks ago. Coming from a strong OO programming background, i can honestly say it is a completely different mind-set. So far, i like it a lot, but i wouldn't consider myself anywhere near proficient enough in it to make a game. Looking forward to seeing what the products of this Jam are.
- kbp 9y ago> i just started learning Common Lisp a couple of weeks ago. Coming from a strong OO programming background, i can honestly say it is a completely different mind-set. You might not see it much in beginner materials, but idiomatic Lisp code tends to be fairly object-oriented, using the Common Lisp Object System (CLOS). CLOS is still a bit different from OOP in a language like Java, though: it's a much more powerful object system.
- mfiano 9y agoOrganizer here. If you have any more questions, need help choosing a Lisp or graphics framework, or just want to chat with other participants, the IRC channel and Discord server linked on the jam page are nice resources with helpful folks. Good luck!