#lua

gokayburucgokayburuc
2026-01-27

Day 1

I've decided to start documenting my coding activities on my newly set-up desktop computer. Today is the first day of this new activity. I'll be sharing information about the projects and training sessions I'm working on here throughout the day.

Topics included:

The next tiny new is that "Cat a shooter 😼" has dark borders now, and the game uses atlases of textures for improving the performance.

The cat's Codeberg 🏔️ page 👉 codeberg.org/xolatgames/cat-a-

#lua #love2d #game #games #gamedev #development #dev #devlog #opensource #codeberg #git #inkscape #vscodium #arcade #2d #action #android #androiddev #mobile #mobiledev

... and and and and ...andnull@social.nouveau.community
2026-01-26

Got little sequences going.

#GameDev #Wip #Lua

Screenshot of the following code:
sequence(function(wait, resume)
    message("Whelp, time for another week of work. [>]")
    world:once("keyPressed", resume)
    wait()
    message("Work's been super busy. [>]")
    world:once("keyPressed", resume)
    wait()
    message("It's a tough market to be a software shop. [>]")
    world:once("keyPressed", resume)
    wait()
    message("Anyways, I should probably get to work.")
    world:newAction("update", player)
    self:newAction("draw", function()
        if self:interact() then
            world.active = true
            if player:touches(homeDoor) then
                self:goToWork()
            elseif player:touches(computer) then
                message("Wish I had time for a quick browse, but I can't afford the distraction.")
            elseif player:touches(bed) then
                message("haha, I wish I could sleep in more. But need to get that money.")
            end
        end
    end)
end)
🇵🇸🇱🇧🇻🇪🇰🇪🇳🇨🇬🇱(🧆🏳️)Popolon🐷ᠫᠣᠫᠣᠯᠣᠨ🐎抱抱龙🐉بوبولون🤖🦧Popolon@snac2.popolon.org
2026-01-26
Progress inthe the spritesheet editor part of my #Lua+#Löve2d more general editor.
  • improved grid snap (not floor, but nearest)
  • manage zoom and pan (and invert projection for grabing objects)
  • modification of existing object (with magnetic grid or not).
  • can display the list of object of the spritesheet (not demoed here), this will be useful for selecting among the list, and manual sorting for various purpose.
𝘋𝘪𝘳𝘬dirk@gts.0x7be.net
2026-01-25

Oh #Lua :lua:

                    end
                end
            end
        end
    end
end

I wish there was continue, but hey 🙃

mai iá iá meu iô iômaiarar@bolha.one
2026-01-25

#silentsunday

"Lua minguante, lua crescente, declaro ser o seu mais lindo amante"

Rio Grande do Sul - Brasil

#moon #lua #sky #night #noite #ceu

Fotografia de um céu crepuscular com a lua cheia brilhando intensamente através de nuvens esparsas. O céu apresenta um contraste de cores, com tons de azul profundo na parte superior e uma grande faixa de nuvens iluminadas em tons de rosa e alaranjado na parte inferior, sugerindo o pôr do sol. Na base da imagem, silhuetas escuras de copas de árvores emolduram a paisagem contra o céu colorido.
2026-01-25

I don't have a strong opinion on if you should use braces:
fn my_func() { … }
or blocks:
fn myfunc() … end
for defining blocks in your programming language, but I have a very strong opinion that if you use braces for blocks then you should not use braces for anything else.

Why? Because block scope ought to be easy to differentiate from everything else. This is especially important with when passing anonymous functions around.

Gleam and Lua ar languages that get this right!

#programming #programminglanguages #gleam #gleamlang #lua #lualang

Esa Ruoho (Lackluster/Paketti)esaruoho
2026-01-23

Feature: Automation Clipboard - Copy, Cut, Paste Automation, with shortcuts, or with menu entries. copy any automation envelope to another automation envelope.

Link to Patreon in bio.

Screenshot_2026-01-23_at_19.35.33.pngScreenshot_2026-01-23_at_19.35.41.png
2026-01-23

Книга в Markdown: Автоматическая сборка статического сайта mdBook и файла DOCX с оформлением по ГОСТ

Текст книг, учебных пособий, научно-технических статей, документации, дипломных и курсовых работ часто набирается и редактируется в WYSIWYG-редакторе, таком как Microsoft Word, в том числе вследствие того, что издательства и организации требуют от авторов оформленный по ГОСТ или внутренним стандартам docx-документ. Процесс работы в Microsoft Word и аналогичных редакторах не лишён недостатков: docx-файлы трудно версионировать в git, а для объединения нескольких документов в один придётся перенумеровывать источники, рисунки, таблицы, формулы. Альтернативой docx является LaTeX. Однако работа со стилями в LaTeX простотой и минималистичным синтаксисом не отличается , причём издательства от использования формата docx отказываться не торопятся. А инструменты в духе typst отличаются нестандартным синтаксисом языка для описания документов, причём возможность генерации сайтов в typst имеет пометку «in preview». Markdown — популярный и удобный язык разметки, но это также и очень ограниченный формат. Поэтому задача написания в Markdown сложной технической документации по ГОСТ, научной статьи с автоматической настройкой оформления для заданного издательства или хорошо оформленного онлайн-учебника может показаться неосуществимой. В этой статье рассмотрим способ работы над научно-техническими статьями и книгами в формате Markdown на основе подхода Docs as Code с учётом строгих ограничений на оформление, используемый Петром Советовым @true-grue и мной при подготовке учебных материалов в РТУ МИРЭА. Способ заключается в применении утилиты pandoc для построения дерева абстрактного синтаксиса (AST) Markdown-документа с последующим переписыванием AST набором фильтров на Lua и трансляцией AST в форматы docx и pdf, соответствующие ГОСТ, а также в диалект markdown, совместимый с mdBook , для генерации онлайн-учебника в виде статического сайта. Исходный код книги , написанной с использованием описанного в статье подхода, опубликован на GitHub.

habr.com/ru/articles/987982/

#pandoc #markdown #lua #python #документирование #гост #docx #graphviz #mdbook #github

🇵🇸🇱🇧🇻🇪🇰🇪🇳🇨🇬🇱(🧆🏳️)Popolon🐷ᠫᠣᠫᠣᠯᠣᠨ🐎抱抱龙🐉بوبولون🤖🦧Popolon@snac2.popolon.org
2026-01-23
#lua #love2d

Added the ability on spritesheet to add object selection (and delete them). Selection supports simple "magnetic" grid.

need to add move, and be able to give a name the selected items.

Patrick Drechslerdrechsler@floss.social
2026-01-23

TIL If an #orgmode feature is missing in #neovim orgmode, I can invoke #emacs in batch mode.
I am not sure if my sanity can take this. Is this smart? ;-)
#lua #elisp #lisp

17
-- Org mode calling Emacs
vim.api.nvim_create_autocmd("FileType", {
pattern = "org",
callback = function()
vim.keymap.set("n", "<leader>oC", function()
local file = vim.fn.expand("%:p")
vim.notify ("Updating Org clocktables..")
vim.fn.system({
"emacs",
"-Q",
"--batch",
wo,
vim.fn.expand("~/.dotfiles/emacs/update-clocktables.el"),
file,
iD)
vim.cmd("edit!")
end, { buffer = true, desc = "Org: Update clocktables (Emacs batch)" })
end,1 [irequire ‘org)
(require 'org-clock)
(defun update-org-clocktables (file)
"Update all dynamic blocks (e.g., clocktable) in FILE."
(find-file file)
7+ Move to first heading so org-clock-* functions that expect a heading won't error.
(goto-char (point-min))
(when (re-search-forward org-heading-regexp nil t)
(beginning-of-line)
(ignore-errors
(org-clock-remove-empty-clock-drawer)))
(org-update-all-dblocks)
(save-buffer)
(kill-buffer))
(let ((file (car command-line-args-left)))
(update-org-clocktables file))
2026-01-22

Заметки на полях: Изолируем Lua окружение в C++ приложении

Скриптовые языки уже давно и прочно заняли свою нишу в игрострое — они существенно упрощают описание игровой логики, уровней, ресурсов, диалогов, квестов, UI и чего только не. Что позволяет отдать эти задачи целиком и полностью в творческие руки гейм-/левел-/прочих-дизайнеров и других членов команды, которым не нужно обладать знаниями в том же C++. Разделение ответственности, ускорение разработки, облегчение моддинга возможность, по завершению разработки самого движка, вышвырнуть программистов на мороз и стричь купоны на бесконечных дополнениях — в общем, одни только плюсы. Да? Да. А ещё дыры в безопасности и ... ... уйма путей уронить стабильность.

habr.com/ru/articles/987882/

#c++ #lua #разработка_игр #песочницы #sandboxing #изоляция_ресурсов #скриптовые_языки

🇵🇸🇱🇧🇻🇪🇰🇪🇳🇨🇬🇱(🧆🏳️)Popolon🐷ᠫᠣᠫᠣᠯᠣᠨ🐎抱抱龙🐉بوبولون🤖🦧Popolon@snac2.popolon.org
2026-01-22
#Lua #love2d

Mixing of game + game/bezier editor + texture editor blending.
Esa Ruoho (Lackluster/Paketti)esaruoho
2026-01-21

Improvement: LFO Custom Waveform Writer added to Automation Curve Dialog. Implemented +/- control for switching between 1x and 8x.

Link to Patreon in bio.

Esa Ruoho (Lackluster/Paketti)esaruoho
2026-01-21

LFOEnvelopePan (Preset++) no longer errors out when adding this Preset++ to a Sample FX Chain.

Link to Patreon in bio.

Esa Ruoho (Lackluster/Paketti)esaruoho
2026-01-21

Improvement: Image to Sample - dialog now correctly displays the right resolution of the original image, uses sips or imagemagick to convert to BMP and then loads that as audio, or falls back to Raw Data loading. If ImageMagick is missing JPG dependencies, prints helpful message suggesting how to install them for Linux or Windows.

Link to Patreon in bio.

Esa Ruoho (Lackluster/Paketti)esaruoho
2026-01-21

Improvement: MuteTrig back into working order - respecting the chassis of the instrument for creating the proper muting format.

Link to Patreon in bio.

cathillcathill
2026-01-21

Waiting for a major consumer camera manufacturer to implement a Lua API to allow photographers to fully customize and automate their own cameras.

2026-01-21

надругательство над #lua (до/после)

```lua
function(_, snip)
  local home = function(line)
    return require("utils").workspaces.fold(line)
      or line:gsub("^" .. vim.uv.os_homedir(), "~", 1)
  end
  local relative = function(line)
    return vim.fs.relpath(vim.fn.getcwd(), line) or line
  end
  return vim.tbl_map(
    snip.captures[1] ~= "" and relative or home,
    vim.split(vim.fn.getreg("+"), "\n")
  )
end
``````lua
function(_, snip)
  return vim.iter(vim.split(vim.fn.getreg("+"), "\n"))
    :map(snip.captures[1] ~= "" and function(line)
      return vim.fs.relpath(vim.fn.getcwd(), line) or line
    end or function(line)
      return require("utils").workspaces.fold(line)
        or line:gsub("^" .. vim.uv.os_homedir(), "~", 1)
    end)
    :totable()
end
```

Client Info

Server: https://mastodon.social
Version: 2025.07
Repository: https://github.com/cyevgeniy/lmst