#love2d — Public Fediverse posts
Live and recent posts from across the Fediverse tagged #love2d, aggregated by home.social.
-
-
Lua has many dialects, and I love them all ❤️
But how to write one lua-file and target them all?
Answer: metaprogrammingHere's a small ~700 bytes gpp-ish metaprogramming awk script 🎉
#lua #teal #nelua #redbean #esp32 #wasm #love2D #awk
ps. its not limited to lua :coolcat:
https://codeberg.org/coderofsalvation/meta.awk -
Lua has many dialects, and I love them all ❤️
But how to write one lua-file and target them all?
Answer: metaprogrammingHere's a small ~700 bytes gpp-ish metaprogramming awk script 🎉
#lua #teal #nelua #redbean #esp32 #wasm #love2D #awk
ps. its not limited to lua :coolcat:
https://codeberg.org/coderofsalvation/meta.awk -
Lua has many dialects, and I love them all ❤️
But how to write one lua-file and target them all?
Answer: metaprogrammingHere's a small ~700 bytes gpp-ish metaprogramming awk script 🎉
#lua #teal #nelua #redbean #esp32 #wasm #love2D #awk
ps. its not limited to lua :coolcat:
https://codeberg.org/coderofsalvation/meta.awk -
Lua has many dialects, and I love them all ❤️
But how to write one lua-file and target them all?
Answer: metaprogrammingHere's a small ~700 bytes gpp-ish metaprogramming awk script 🎉
#lua #teal #nelua #redbean #esp32 #wasm #love2D #awk
ps. its not limited to lua :coolcat:
https://codeberg.org/coderofsalvation/meta.awk -
Lua has many dialects, and I love them all ❤️
But how to write one lua-file and target them all?
Answer: metaprogrammingHere's a small ~700 bytes gpp-ish metaprogramming awk script 🎉
#lua #teal #nelua #redbean #esp32 #wasm #love2D #awk
ps. its not limited to lua :coolcat:
https://codeberg.org/coderofsalvation/meta.awk -
The UI I made wasn't centered in the screen, I'm annoyed. #love2d #ui #programming #art #perfectionism
-
Я сделал скоростной аналог скретча(12289+ скриптов)! История разработки новичка
Я только начинаю писать код, он у меня не аккуратный и странный, я его нигде не публиковал никогда, проект писать на luaJIT love 2d, а заголовок правдивый, оно смогло запустить на одном ядре слабого ноутбука 12300 потоков в которых были блоки IF, ROTATE и WHILE TRUE и стабильные 30 fps. https://t.me/Turbo_Scratch/63 Топик в моём тгк с видео демонстрациями, там же если хотите можете протестировать мой проект, но в нём очень много багов особенно связанных с типами данных, lua не типизированный язык, в будущем эти баги я исправлю добавив разные проверки, и проект я выложил чтобы получить мнение общества. Движок я выбрал не случайно, мне понравился синтаксис lua, этот язык и библиотеку love 2d подсказала ии, на этой же библиотеке написан Pocket Up(аналог pocket code, тоже визуальное программирование), также этот язык использует байт-код и jit компиляцию что по словам ии должно сильно увеличивать скорость. Также love 2d собирается под многие платформы Windows, macos, вроде даже linux, android, ios. Читал офф сайт и нашёл упоминание игры Balatro, я эту игру до этого только раз слышал, но про что она не знаю. Писал я всё в VS Code, это очень удобный редактор кода, я на нём и другие свои проекты писал. С lua я уже был знаком, так как я уже делал игру на roblox studio, и не так давно, осенью 25 года. Я сразу хотел писать свой редактор так чтобы он работал на Windows, и собирал проекты в EXE(уже реализовано), apk и html. И чтобы отделить в будущем редактор и интерпретатор игры я разделил проект на части Main.lua - редактор, Micropaint.lua - редактор спрайтов, ну и по мелочи GameLoader.lua - загрузчик игр, BlockList.lua - список доступных блоков, не хотел его лепить в main.lua тк там 518 строк, + я туда ещё добавил функцию отрисовки блоков и удобнее когда функционал разделён на отдельные файлы.
https://habr.com/ru/articles/1018684/
#скрипты #scratch #lua #luajit #luaскриптинг #love2d #история_it #геймдев #история_создания
-
Love2d gamejam starts Friday!
https://itch.io/jam/love2d-jam-2026
There are a couple tweaks I'm making to the default searcher and safe wrapper in the minimal love2d fennel setup, to give better tracebacks.
-
Last night I went down the mpd rabbit hole.
I now have about 25% of its client API implemented in fennel with the only dependency being lua-socket.
Guess what comes with lua-socket baked in!
https://codeberg.org/alexjgriffith/fennel-mpd/src/branch/main/examples/love2d/wrap.fnl
-
I've been doing compatibility testing of my Lua5.4 builds and the official LuaJIT version of love2d across a bunch of projects.
To make my life easier I've started adding "loveproject.json" files to the root of my projects, which contain information like the location of the love executable intended to be used with the project.
I've also updated love2d-fennel.el to check for this file to see if there is a custom 'love2d-fennel-program'.
-
We did it! 🕺😼
"Cat a shooter 😺" appeared on F-Droid, and you can download it from here already 👉 https://f-droid.org/en/packages/org.xolatgames.catashoot/
Thanks so much to https://gitlab.com/linsui who really helped me to rewrite the final YML file 👉 https://gitlab.com/fdroid/fdroiddata/-/blob/master/metadata/org.xolatgames.catashoot.yml 🤝
#lua #love2d #game #games #gamedev #dev #devlog #development #fdroid #android #androiddev #mobile #mobiledev #inkscape #arcade #2d #thanks #opensource #codeberg #git #spaceinvaders #gitlab #publish #publishing
-
I'm putting together a collection of libraries I've implemented over the years for developing games in love2d with fennel.
I've pulled out standalone libraries before. But in each I had to embed common data structures and could not rely on other libraries (either my own or third party).
Complex libraries would live with the game code for each jam, making them difficult to port to new games, or develop/maintain independently.
/1
-
I'm finishing up the animatic (moving storyboard) for a 2D animated short film called 'Lazy Dog'.
Now let's proceed with caution...#lazydog #animation #love2d #animatic #storyboard #movie #shortfilm #film
-
I'm finishing up the animatic (moving storyboard) for a 2D animated short film called 'Lazy Dog'.
Now let's proceed with caution...#lazydog #animation #love2d #animatic #storyboard #movie #shortfilm #film
-
I'm finishing up the animatic (moving storyboard) for a 2D animated short film called 'Lazy Dog'.
Now let's proceed with caution...#lazydog #animation #love2d #animatic #storyboard #movie #shortfilm #film
-
This is awesome to use ngl. I think my player library is ready for me to toss some games at it.
-
-
I just released a PDF manual and strategy guide for Shark Turtle 👌😎 #sharkturtle #samegame #macigame #marchintosh #love2d #gamedev #indiedev
-
Shark Turtle is OUT NOW! #sharkturtle #samegame #macigame #marchintosh #love2d #gamedev #indiedev
https://gingerbeardman.itch.io/shark-turtle-desktop
"SHELL YEAH! GO GRAB IT"
-
Ran out of time doing the itch page, but the game will be here April 1st — that's no joke! #sharkturtle #samegame #macigame #marchintosh #love2d #gamedev #indiedev
-
SHARK TURTLE releases tomorrow for Mac & Windows, with free DLC containing 320 additional tile sets! #sharkturtle #samegame #macigame #marchintosh #love2d #gamedev #indiedev
-
Hundreds of classic tile sets have been recovered from vintage media and will be made available as an additional free download (with credits). #sharkturtle #samegame #macigame #marchintosh #love2d #gamedev #indiedev
-
Sound and music are in, which I no doubt made more complicated than need be #love2d #sharkturtle #samegame
-
Testing the three different types of tilesets (samegame, extended samegame, macigame) #marchintosh #macigame #samegame #sharkturtle #love2d
-
Naturally, I’ve added support for “MaciGame” tilesets from the Classic Macintosh game. #macigame #love2d #samegame #sharkturtle
-
Am I ready to inflict a loss of productivity this huge on the world? With puzzles comes great responsibility. 😅 #love2d #samegame #sharkturtle