Advent Calendar 2025 by d954mas

Christmas and New Year are a time for gifts.

I have been using Defold for many years, and during this time I collected many useful things: examples, code pieces, small libraries, and solutions that I use in my games.

This December, I want to share them and give something to the community.
I want to share my experience.
I hope this will be useful and interesting.

I prepared 14 gifts. This is an Advent calendar.
Every day, I will share something new :wrapped_gift:

DAY 1.(defold-go-position-setter)
Fast way to set positions for thousand objects.
github
forum
video

DAY 2.(Localization)
Example how to use google sheet table for localization.
github
forum
video

DAY3.(Lua-class)
Simple oop. No metatables, table copying
github
forum
video

DAY4.(Bunnymark ECS Example)
github
forum
video

DAY5.(N28S)
github
forum
video

DAY6.(Virtual Pad Example)
github
forum
video

DAY7.(2D Game with Box2D and Tiled Level)
github
forum
video

DAY 8. Trim Images Script
A small python script to trim alpha from images
github
forum
video

DAY 9. Imgui Gizmo
Extension and demo project for testing ImGui Gizmo in Defold: object picking, transforms via gizmo, and a mini camera view manipulator.
github
forum
video

DAY 10. Html Utils
Small HTML5 extension that adds useful HTML utilities:
canvas focus handling, save/load data via localStorage , and mobile device detection.
github
forum
video

DAY 11. Screen Resizer
Minimal Defold extension + Lua module to resize the game view and show a menu
of preset sizes.
github
forum
video

DAY 12. Actions Animation Library
Small action/tween library for Defold: sequences, parallels, tweens for GO/GUI/table, waits, and function steps. I made this library to control animation timing myself, so I can skip or speed up actions. With Parallel/Sequence, it is much easier to build sequences than with go/gui animate callbacks.
github
forum
video

DAY 13. Gui Resizer
Project for automatic GUI scaling for portrait and landscape orientations with safe area support.
github
forum
video

DAY 14. Christmas 2025 3D Playground
A small Christmas-themed 3D demo in Defold. The main goal is to share my 3D experience and tool for Defold
github
forum
video

26 Likes

DAY 1. GoPostionSetter Native Extension
-fast way to set go positions for thousand objects.

15 Likes

Awesome initative, thank you! :orange_heart: :blue_heart:

4 Likes

New present every day! :tada: Thank you :slightly_smiling_face:

6 Likes

DAY 2. Localization example

This is example how to use google sheets for localization.
Localization support plurals and placeholders.

Example use 2 fonts. One for all languages and one for set of languages without chinese, japanese and korean. You can run game with small font and use liveupdate to download full font.

14 Likes

DAY 3. Lua Class

A tiny OOP helper for Lua that builds instances by copying tables instead of metatables. It started as a minimal replacement for middleclass .

10 Likes

:face_blowing_a_kiss: :heart_eyes: :clap: Thank you for sharing every day! As a beginner, the information you share is helpful for my future learning and development!

6 Likes

DAY 4. Bunnymark ECS Example :christmas_tree:

In this example i will show to use my small ECS, based on tiny-ecs in defold project.

10 Likes

DAY 5. N28S :christmas_tree:
A tiny helper that lets you write Defold scripts without global functions Instead of spreading init,update, and on_input across the global scope, you keep everything inside a single Lua table.

https://youtu.be/9yX4UjDS7eU

5 Likes

DAY 6. Virtual Pad ExamplešŸŽ„

This project demonstrates how to use universal virtual pad in Defold games.

5 Likes

Nice! However, I cannot see the video. It says ā€œit’s privateā€.

Fixed:)

1 Like

DAY 7. 2D Game with Box2D and Tiled LevelšŸŽ„

A small Defold example project. The goal is to showcase a basic 2D game with Box2D physics and loading a level exported from Tiled.

7 Likes

DAY 8. Trim Images ScriptšŸŽ„

A small python script to trim alpha from images

7 Likes

DAY 9. Imgui GizmošŸŽ„

Extension and demo project for testing ImGui Gizmo in Defold: object picking, transforms via gizmo, and a mini camera view manipulator.

8 Likes

DAY 10. Html UtilsšŸŽ„

Small HTML5 extension that adds useful HTML utilities:
canvas focus handling, save/load data via localStorage, and mobile device detection.

5 Likes

DAY 11. Screen ResizeršŸŽ„

Minimal Defold extension + Lua module to resize the game view and show a menu
of preset sizes.

5 Likes

DAY 12. Actions Animation LibraryšŸŽ„

Small action/tween library for Defold: sequences, parallels, tweens for GO/GUI/table, waits, and function steps.

Note: I made this library to control animation timing myself, so I can skip or speed up actions. With Parallel/Sequence, it is much easier to build sequences than with go/gui animate callbacks.

5 Likes

DAY 13. Gui ResizeršŸŽ„

Project for automatic GUI scaling for portrait and landscape orientations with safe area support.

5 Likes

Day 14 will be a bit later, sorry — I need a little more time :slightly_smiling_face:

The idea works, but I need some time to prepare the objects and build a simple level.

8 Likes