Elektrine lite

← Feed

@divyaranjan@mathstodon.xyz

2026-02-17 02:30 UTC

SuperTuxKart inside #Emacs at 60FPS https://codeberg.org/attachments/4bf14a2d-1043-4e1b-9572-f371b78c4c84

Replies (4)

  • @divyaranjan@mathstodon.xyz 2026-02-17 02:32

    By the way, I hope nobody misconceives this back-to-back work with me relying on AI. I have categorically rejected them from any free software project I touch. I am just really excited to build stuff with Canvas API and have been spending huge chunks of time on it, a bit too much probably.

    Open ##5141328

  • @divyaranjan@mathstodon.xyz 2026-02-17 02:33

    Input keys are a mess right now, pressing both of them at the same time doesn't work. We'll have to work on that. Also right now it's not using Pale. I wanted to first do it directly, but I'll port several functions to Pale eventually. Including the input event methods.

    Open ##5141329

  • @divyaranjan@mathstodon.xyz 2026-02-17 02:34

    That said, I'd like other Emacsers to join us maybe in a live stream playing this game together inside #Emacs It has online multiplayer support :)

    Open ##5141330

  • @divyaranjan@mathstodon.xyz 2026-02-17 03:46

    To play, 1. Clone our fork of Emacs with the Canvas API patch: https://codeberg.org/monadicsheep/emacs 2. Clone our fork of STK's code https://codeberg.org/monadicsheep/stk-code 3. Download STK's assets, follow the instructions at: https://supertuxkart.net/Source_control NOTE: stk-assets must be in the same directory as stk-code 4. Make sure you have dependencies for building stk-code. Check their INSTALL.md. and build it. 5. Edit stk-code/src/emacs/stk.el to update path variables. Make sure they are correct. 6. Add stk.el to your load-path and also the cmake_build directory (after bulding) where stk-module.so would be. 7. Load stk.el and evaluate `(stk-init)`.

    Open ##5141331