On Sale: GamesAssetsToolsTabletopComics
Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
Tags
(+1)

I'm unable to play this game, maybe a specific version of emacs is required.

Oh I am sorry to hear and sorry for wasting your time.  I tested for emacs version 29.3. What version do you have and are you running on Linux or Windows? 

I had trouble with spacemacs as it would overwrite my major mode keybindings. 

It is probably an issue on my part, I'm using version 30.0.50 .It did work after  evaluating init.el and then pendulum.el. 

 I did not understood the mechanics of the game but it is cool that you can program something like this in emacs. 

Thanks for testing it! The idea is to change the length at twice the frequency of the pendulum. With this you can pump energy into the system. This gets more difficult for an angle of 90 degree elevation, as there the pendulum resonance frequency changes rapidly. I got a sumersault once, but I am not 100 % sure if it still works as it is sometimes quite laggy on my system. I would need to do more in depth analysis on what is causing the lags. I took a lot of inspiration from the tetris game in emacs, which runs without laggs. I tried to synchronize the physics with the game loop by measuring the system time, the thing is if the game loop is slow, the physics loop needs to update a lot, which might cause further lags.

I tried on 28.2; I was able to workaround the lack of file-name-parent-directory (you can replace it with file-name-directory which works just as well; however it also calls the defvar-keymap function which is not present in 28, and it’s less clear how to work around that.