Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
Tags

Getting started with Fennel and LÖVE

A topic by Alex ☕🇨🇦 created Sep 21, 2021 Views: 846 Replies: 2
Viewing posts 1 to 3
Submitted (2 edits) (+1)

The Minimal fennel Löve2d repo has been updated!

https://gitlab.com/alexjgriffith/min-love2d-fennel

Improvements from last year:

  1. Fixed build scripts for Mac, Windows, and Linux
  2. Included build tools to target HTML5 (example)
  3. Fennel Macro searchers added!
  4. Error handling (boots you to a recoverable error screen)

It also now includes the latest version of fennel, and set to work with the latest version of love2d (11.3) by default.

Where to Start?

I highly recommend checking out the blog posts by Phil Hagelberg about his use of fennel for his 2018 submission Exo Encounter 667. The source for which can be found here

There is also a built in REPL on the languages home page that you can test out the language! https://fennel-lang.org/

Games Made Using Love2D and Fennel

This is not an exhaustive list! I can include your game if you comment below.

Other resources:

Recommended Libraries

You don’t need any libraries to make a game! The ones mentioned here help solve specific problems.

Lume

https://github.com/rxi/lume

  • Provides functional style functions, e.g. reduce, map, etc.
  • Provides some nice to haves that are not available in the lua standard library like lerp and split (for spiting strings).

ANIM8

https://github.com/kikito/anim8

If you need sprite animation, check out ANIM8!

Bump

https://github.com/kikito/bump.lua

Bump is an axis aligned bounding box collider. It has a bunch of useful built in presets for triggering actions following collisions. If you’re writing a platformer (without ramps) I highly recommend bump!

Tiled

https://github.com/karai17/Simple-Tiled-Implementation

If you use want to use Tiled (https://mapeditor.org) check out the Simple Tiled Implementation! It works well with bump.

Jam HostSubmitted

Oh dang; I didn’t realize you had updated this to include publishing to the browser! That’s great to hear. I was going to do another TIC game but I might go back to love2d if the browser publishing is working.

Jam HostSubmitted

If you’re using Fennel and Love2d for the jam and this isn’t your first game, please consider making your game using version 1.0.0-dev of Fennel so we can put the latest version thru the paces and see if it’s ready for a final release. But if it’s your first jam don’t sweat it and just stick with the stable version.

I’ve got a branch you can use here: https://gitlab.com/technomancy/min-love2d-fennel/-/tree/1.0.0-dev