Skip to content

Latest commit

 

History

237 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 

Repository files navigation

awesome

Awesome Defold

License: CC0-1.0

A curated list of awesome Defold extensions, tools and resources. An alternative to the Defold Asset Portal.

Contribution

  • ✍️ If you find an outdated or non-working asset, wrong category or description, or you want to add something useful to the list - feel free to create an issue or a pull request.

  • 🔤 Community-created content is sorted in ascending order, but core items are manually sorted.

  • 💬 Discuss on the forum.

Legend

🌙 — Lua modules that are engine-independent but useful for game development.

Contents

Links

Website

  • Defold — Official website.

Social

Community

  • Forum — Official forum.
  • Discord — Official community.
  • Telegram — Unofficial community (Russian-speaking).

Open Source

  • Defold — Game engine and editor.
  • Extender — Build server that builds native extensions.
  • Documentation — Markdown source files and assets for Defold documentation.
  • Asset Portal — The asset definitions for the Asset Portal page.
  • Games Showcase — The game definitions for the Showcase page.
  • Build Size — Graph showing the Defold engine and editor sizes for all supported platforms.
  • Logo Assets — Defold logos to use on splash screens or other kinds of promotions.

Resources

Official

  • API Reference — Fully auto-generated API documentation.
  • Examples - A lot of code samples with interactive examples.
  • Manual - A friendly manual leading the newcomer into the world of Defold.
  • Tutorials - The perfect place to start the first practice.

Coding Style

  • lua-users — Lua style guide based on the Lua manuals.
  • LuaRocks — Coding conventions used in the LuaRocks project.
  • Olivine Labs — Olivine Labs Lua style guide.

Lua

  • Learn Lua in 15 Minutes — A quick start to understand the Lua language.
  • Lua 5.1 Reference Manual — The reference manual is the official definition of the Lua language.
  • Lua Missions — Learn the Lua language, syntax, structure, and some common functions and libraries, through failing tests.
  • lua-users Wiki — A large community-maintained collection of Lua information and resources.
  • Programming in Lua — A detailed and authoritative introduction to all aspects of Lua programming.

Articles

Videos

Tools

Code Editor

AI

  • Agent Config — Example AGENTS.md setup and skills for AI-assisted Defold development.

Annotations

Neovim

  • berru's setup - A Linux development setup with automation via make.
  • defold.nvim — A batteries-included development environment.
  • DoNe — A plugin for better Defold experience.

Sublime

  • Defold Sublime Text — A package to control the Defold Editor via HTTP, manage the extender server and fetch Lua annotations.
  • Sublime Defold — A plugin that enhances the development workflow for the Defold game engine.

IntelliJ IDEA

  • Intellij Defold — Coding and debugging support for Defold in IntelliJ-based IDEs.

Visual Studio Code

  • Defold Buddy — Autocomplete, hot reload, building from Defold, manifest generator and other features.
  • Defold Build Tools — Build, run and package Defold projects.
  • Defold Extension Pack — A pack of useful extensions for Defold.
  • Defold Kit — Tweakable setup that adds autocomplete and allows to launch, debug with breakpoints, bundle and deploy a game on a connected device.

Zed

  • Defold + Zed — A collection of ideas on how to adapt the Zed editor for Defold.
  • Defold Kit (fork) — Defold API and native extension annotations injected into the Lua language server.
  • Zed Defold Extension — An extension that provides LSP, Defold API annotations, build tasks and snippets.

Programming Language

  • Compat-5.3 — Providing Lua 5.3 style API.
  • defold-rs — Experiments in writing Defold extensions in Rust.
  • DefoldSharp — Transpiler from C# to Lua.
  • dfnim — A native extension to use Nim language.
  • hxDefold — Haxe support library for the Defold.
  • Lua Preprocessor — Small and simple Lua preprocessor for Defold.
  • Pydefold — Python package to work with Defold Proto files.
  • SpiralKit — Low level framework to develop on C++.
  • Teal — An official extension to use Teal in your project.
  • ts-defold — TypeScript toolkit for development games with Defold.

Libraries

Ads

AI

Analytics

Animation

  • Bezier Animation Library — An animation library that allows you to send graphics objects on a bezier curve path.
  • Def Timeline — Easy way to make animation play in sequence.
  • Defold Actions — Action and tween library with sequences, parallels and wait steps.
  • Ease — Easing functions module.
  • Easier — Interactive example of using inbuilt easing functions.
  • Hypes Trails — Easy to use and customizable trail effect.
  • Object Interpolation — Interpolates object position and rotation between fixed update steps.
  • Ozz-Animation — An extension to support animation using the ozz-animation library.
  • Panthera — Animation runtime and editor made with Defold for Defold.
  • Rive — Rive animations runtime.
  • Spine — Spine animations runtime.
  • SpriteLoop — Native playback for .spla animation packages with editor integration.
  • Tilemap Animator — Provides runtime tile animations.
  • Tweener — Timer based Defold tween library.
  • 🌙 flux — A fast, lightweight tweening library.
  • 🌙 tween — A small library to perform tweening.

Architecture

  • Crit — Battle-tested collection of modules for game development.
  • def-behavior-tree — A library for creating behavioral trees.
  • defold-ecs — The ECS based on tiny-ecs with http web server debugging and monitoring.
  • DefRS — A collection of general resources to speed up workflows for new projects.
  • Event — A cross-context Defold event system.
  • Pigeon — Pigeon allows easily and safely manage posting messages.
  • Quest — A comprehensive system for managing quests in a game.
  • Stately — A simple finite state machine.
  • Token — A library to manage countable items such as money, lives, and other numeric values.
  • Vita — A generic energy / life system.
  • whefQuest — A little helper library to create quests.
  • XP — A generic leveling up system.
  • 🌙 beholder — A simple event observer.
  • 🌙 Classic — A tiny class module.
  • 🌙 ecs-lua — A fast and easy to use ECS engine.
  • 🌙 evolved.lua — A fast and flexible ECS library.
  • 🌙 lovetoys — A full-featured ECS framework.
  • 🌙 Lua Finite State Machine — A finite state machine.
  • 🌙 middleclass — A simple OOP library.
  • 🌙 stateful — Stateful classes.
  • 🌙 tiny-ecs — A simple and flexible ECS library.

Backend

  • Asobi — Defold client SDK for the Asobi game backend.
  • AWS SDK — Unofficial AWS SDK for Lua.
  • Colyseus — Client for the Colyseus server.
  • Firebase Remote Config - Firebase Remote Config functionality on Android and iOS.
  • Game Push — GamePush SDK implementation.
  • Nakama — Client for the Nakama server.
  • OMGSERVERS — SDK for OMGSERVERS, a backend for authoritative game servers.
  • PlayFab — PlayFab Lua SDK.
  • PlayFab Examples — PlayFab API using examples.

Camera

  • Operator — A tweakable camera controller for 3D games.
  • Orbit-Camera — A simple orbit camera example.
  • Orthographic — Orthographic camera functionality.
  • Perspective Parallax — An example of perspective parallax effect.
  • Rendercam — A universal render script and camera package.
  • Rendy — A versatile camera suite and render pipeline.
  • Starly — A feature-rich orthographic camera solution.
  • Vantage — A simple controller for an FPS camera.

Debug

  • Automation Bridge — Debug-only native extension for inspecting a running game and sending input from local automation clients.
  • Commander — A debug console and command system inside your game.
  • Crashtool — Shows information from a Defold crash file.
  • Debug Draw — A simple wrapper to draw debug shapes.
  • DefCon — Developer console to interact with a game through a browser.
  • DefPro — Library to interact with Defold profiler.
  • DefTest — Unit testing with Telescope.
  • Gunit — A game unit test framework based on the xUnit family of frameworks.
  • lmprof — Lua memory profiler for Defold based on lmprof.
  • Log by Insality — Context logger with performance metrics.
  • Log by subsoap — General purpose logging.
  • Lua51 — Replaces LuaJIT with Lua 5.1 on desktop platforms to see the actual performance on HTML5.
  • Metrics — Calculates and displays performance metrics.
  • Poco — Test automation from a computer to a test device using the Poco APO.
  • Profile Counters — Provides the profile counters in release mode via a Lua interface.
  • Screen Resizer — Resize the game view from a preset-size development menu.
  • Share Log — Writes all output to the console and makes it possible save or send somewhere.
  • signpost — Helps to mark points of interest in Xcode Instruments.
  • SQUID — A standalone injectable system for saveable logging of user logs, errors and crashes.
  • WebGL Memory — Tracker for GPU and CPU memory usage on HTML5.
  • 🌙 Busted — Lua unit testing.
  • 🌙 inspect — Human-readable table representation.
  • 🌙 PegDebug — Trace debugger for LPeg rules and captures.

Deployment

Editor

  • Align — Editor script for aligning gui nodes.
  • Asset Store — A convenient way to browse, publish and install assets.
  • Atlas — Editor script to add images to an atlas as well as create a new one
  • Check Dependencies — Checks your dependencies against github releases to see if there are any updates.
  • Cleanup — Editor script that adds clean-up functionality.
  • Components — Editor script for creating components from resources.
  • CSV2Lua — Editor script for converting CSV to Lua tables.
  • Dependencies — Dependency checker and updater.
  • Distribute — Editor script for distributing nodes evenly.
  • Editor Scripts and UI Collection — Editor script to create GUI script and attach it to the GUI file.
  • index — Automatically creates an index for custom resources.
  • Lua Code Formatter — Editor script that reformats your Lua source code.
  • Simple Data Component — Example how to bring custom data to a game object.
  • Sound Editor Scripts — A set of Editor scripts for the sound component.
  • Templates — Create files from your own defined templates.
  • Z-Order Editor Script — Helper for ordering objects along Z-axis in the collection.

Files

  • Checkpoint — A library for writing and reading data to and from files.
  • Defold-LFS — Library with a set of functions related to file systems.
  • Directories — Provides paths to various system directories.
  • MicroTAR — TAR archive reader.
  • Project Directory — Provides the project directory when the game is running from the Editor.
  • Zip — Extracts a zip archive.

Formats, Import, Export

  • Blender Cube to Lua Table Exporter — Blender add-on exporting cube data to Lua tables.
  • CJSON — Native JSON encoder and decoder.
  • CleanExporter — Blender add-on for exporting mesh (.buffer) files.
  • Collection Parser — Defold files format encoder and decoder.
  • Convex Hull Tracer — Create .convexshape files for Defold live in your browser by tracing your images.
  • Crypt — Various hash and encode/decode algorithms.
  • CSV Loader — Can load and parse CSV files.
  • dae2collision — Converts DAE meshes to Defold collision objects.
  • DDF — A library for parsing Defold Data Format files.
  • DataForge — Visual game database and content editor for structuring static game data.
  • Defender — Blender import and export system with syncing.
  • Defold Parser (JS) — A node.js module to encode and decode Defold files.
  • Defold Parser (Lua) — A simple module that allows you to create/parse/modify Defold files.
  • Defold Protobuf — Protobuf format encoder and decoder.
  • Defold WebP — Native extension for loading WebP images.
  • defold-blender-convex-hull — A small script to export the convexshape from Blender.
  • DefSave — A module to save and load settings or user data.
  • Desert — Lua table (de)serialiser for the Defold.
  • glb2convexshape — A library for generate .convexshape file from .glb file.
  • LDTK To Defold — A library for parsing and converting LDTK levels to Defold.
  • LZ4 — LZ4 fast compression algorithm.
  • Mesh Binary — Binary export from Blender to Defold.
  • Pack — Compress, decompress, and obfuscate table data.
  • PPReader — Parser of Unity PlayerPrefs files into Lua tables.
  • Proto — Generates Lua bindings to encode and decode a predefined set of protobuf messages.
  • Proto — Protobuf Library to encode, decode and verifying messages.
  • Reforge — Blender add-on exporting scenes, prefabs and collections into Defold.
  • Saver — A library for saving and loading save data.
  • SCML Parser — Import Spriter .scml animations into the .collection file.
  • Sheets Exporter — Processing and exporting data from Google Sheets to Lua.
  • Texture Packer Atlas — Native extensions that adds support for the TexturePacker atlas format.
  • TexturePacker Exporter — Exports from TexturePacker to a native atlas for Defold.
  • TrenchFold — Configuration files and scripts for designing levels in TrenchBroom.
  • Trim Alpha — Trims transparent PNG borders while preserving sprite alignment.
  • Trim Atlas — Trimming of images in the Defold atlas.
  • Zstandard Compression — Zstandard to compress and decompress strings.

Generation

  • biosim4 — Port of a biological evolution simulator.
  • Cellular Automata — Example of cellular automata and procedural generation.
  • Diamond Square – Example of the diamond square algorithm and procedural generation.
  • FastNoise — A native extension with the FastNoise Lite library.
  • Fractal Noise — Example of fractal noise and procedural generation.
  • Lazy Flood Fill – Example of the lazy flood fill algorithm and procedural generation.
  • Perlin Terrain — Perlin noise terrain generation.
  • Simplex Noise — A native extension to generate Simplex noise.
  • Unique Names Generator — A simple way to generate unique names.
  • Wave Function Collapse — Image generation with Wave Function Collapse algorithm.
  • 🌙 Astray — Maze, room and dungeon generation library.

Hardware

  • Battery — Battery status on Android.
  • ButtPlug — Support for buttplug.io open-source standards.
  • Camera — Access to the camera on macOS, iOS and Android.
  • DefMidi — Interaction with MIDI devices.
  • Defold-Mic — An extension for microphone recording via miniaudio.
  • Gyro — Gyroscope monitoring on iOS and Android.
  • SafeArea — Safe area handling on iOS and Android.
  • TapticEngine — Taptic Engine on iOS.
  • Vibrate — Alternative vibrate extension primarily for Android.

HTML5

  • AdBlock Detector — Detect if a browser is using Adblock.
  • Defold HTML Utils — Canvas focus, localStorage and mobile-device helpers for HTML5 builds.
  • DomainLock — Secure your HTML5 Defold games so they can't (easily) be stolen by other sites
  • HTML Loader — HTML loader example with a progress indicator.
  • JsToDef — Send messages from JavaScript to Defold.
  • Live Unbundler — Extension for Defold Live Update with dynamic chunk loading.
  • Page Visibility — Detect when the page is visible or hidden.
  • Playable Ads — Gulp tasks to bundle the Defold game into a single HTML file.
  • ResZip — Live update loading speed improvement for HTML5.
  • WebP Splash Screen — Using WebP for a splash image.

Image, Color

  • Atlas Loader — Runtime atlas loader.
  • Colors — Customizable palettes and color utility features.
  • ColorsLib — Hex color library and converter.
  • defold-png — An extension to load and save PNG images.
  • Draw Pixels — Drawing pixels and simple geometry into a texture buffer.
  • ImageLoader — An extension to load JPG, PNG and other images efficiently.
  • ImageTransparencyCalculator — Tracks whether a transparent area is clicked or not.
  • Imp — Image processing and filters on an image buffer.
  • QRCode – A small extension to encode and decode QR codes.
  • Runtime Atlas — Runtime atlas creator.
  • Screenshot — An extension for taking screenshots.
  • Sharp Sprite — An implementation of Rotated Grid Super-Sampling.
  • World Map — A worldmap tool that loads in SHP files and displays them.
  • 🌙 vivid — Color manipulation library.

Input

Math

  • DefMath — A module with a set of math functions.
  • Fast Stream — Helps to quickly push vector3 and vector4 into the buffer stream.
  • libdq — A library for dual quaternions.
  • novmath — The extension provides comprehensive functions for manipulating game object transforms.
  • Poly2tri — Fast and stable triangulation of convex or concave polygons.
  • SmoothDump — A native extension with smooth dump functions.
  • Voronoi — A small extension for Defold to add 2D voronoi functionality.
  • xMath — A re-imagining of vmath functions that avoid allocations.
  • 🌙 cpml — Various useful bits of game math for 2D and 3D games.

Navigation

  • A-Star — A path finder and a-star solver.
  • A* Graph Pathfinding — A high-performance A* pathfinding library designed for real-time games and simulations with hundreds to thousands of moving objects.
  • def-windward-jps — A native extension for fast pathfinding using the Jump Point Search algorithm on uniform-cost grids.
  • DefArmy — A module to create groups of game objects, organize them and manage moving saving the pattern.
  • DefGraph — A module to create a graph map and move inside of it.
  • Detour — A native extension for Recast Navigation.
  • Grid Engine — Grid-based movement, interactions and utility features.
  • NavGO — A-star path finding for game objects.
  • OpenSteer — Group management in large scale with traffic control and behavior.
  • 🌙 Jumper — A pathfinding library designed for grid-based games.

Network

  • DefBit — Event, synchronization, RPC network library for multiplayer games.
  • DefNet — Networking modules and examples.
  • LuaSocket — Extended LuaSocket with the mime.core part.
  • Photon Realtime — A native extension for the Photon Realtime framework.
  • Planetary Processing — A multiplayer toolkit, for creating and hosting online games.
  • The Poki Networking Library — A peer-to-peer library for web games on Poki.
  • Tiny Http — A simple HTTP server and client.
  • WebRTC — A quick and easy C++ library that adds support for WebRTC.
  • WebSocket — WebSocket connections.

Particle System

Performance

  • Bunnymark — Bunnymark test.
  • Crowd Runner — Example with up to 32765 entities with simple physics.
  • ECS Bunnymark — Bunnymark benchmark project built around an ECS-style approach.
  • Go Position Setter — Native extension for updating thousands of game object positions faster.
  • Haxe Bunnymark — Bunnymark test rewritten in Haxe.
  • Stress Test — Defold project to test max game object count and performance.

Physics

  • Box2D — An alternative to the inbuilt Box2D wrapper with a full range of features.
  • BulletFold — A simple and lightweight bullets handler.
  • Chipmunk 2D — Chipmunk 2D physics engine wrapper.
  • DAABBCC — A dynamic AABB tree collisions resolver in 2D.
  • DAABBCC3D — A dynamic AABB tree collisions resolver in 2D+3D.
  • Defluid — 2D fluid simulations based on metaballs.
  • Kinematic Walker — A tweakable kinematic character controller suitable for 3D games.
  • Physics Tools — Helpers for building and debugging 2D physics setups.
  • Polygon Editor — 2D collision shape editor.
  • ReactPhysics3D — ReactPhysics3D wrapper.
  • Simple FPS — A walkable room example with baked lightmaps.
  • Wave — Native extension simulating waves for floating objects on water.
  • 🌙 bump-3dpd — A fork of the bump library for 3D collision detection.
  • 🌙 bump — AABB collision detection library for axis-aligned rectangles.

Platforms

Random

  • dicebag — Probability functions designed specifically for games.
  • PCG Random (Lerg) — PCG family of random number generators with many algorithms.
  • PCG Random (selimanac) — Random numbers generator with using minimal C implementation of PCG.
  • RNG — Multi-algorithm random number generator using instances.
  • SFMT Random — SIMD-oriented Fast Mersenne Twister random number generator.
  • SplitMix64 PRNG — SplitMix64 random generator.
  • UUID4 — UUID v4 generator.
  • Xoshiro256 — High-quality PRNG based on xoshiro256++.

Render, Shaders

  • 3D Depth of Field — Depth-of-field post-processing effect for 3D scenes.
  • 3D Glass — A sample project showing rendering basic 3D glass.
  • 3D in GUI — Shows how to display 3d in GUI via render target.
  • 3D Outline Shader — A simple outline shader for 3D models.
  • Blur Shader — Blur shader example.
  • Box2D Lighting — 2D lighting using Box2D raycasting.
  • BRDF Deferred Rendering V2 — An example of deferred rendering pipeline with PBR materials and even more post-processing effects.
  • BRDF Deferred Rendering — An example of deferred rendering pipeline with PBR materials and post-processing effects.
  • Cards FX Kit — A small kit of scripts and shaders for card games and similar games.
  • Compute Shaders Examples — Experiments with compute shaders in Defold.
  • Curved World — Demo of a curved world effect similar to that in Animal Crossing.
  • Darker — Highlights the specified objects, darkening the rest of the screen.
  • DefBlend — Blend solid colors with your sprites using various blending modes.
  • DefFX — A collection of useful shader effects.
  • DefMaterial — A library of materials and textures for 2d and 3d objects.
  • defold-3d-samples — Simple projects showing various 3D concepts, including a sky shader.
  • Defragments — Simple examples with fragment programs from Shadertoy.
  • Defrend — Deferred 3D rendering pipeline for Defold with modern lighting.
  • DeLAB Scene — A ready setup testing ground for rendering / materials / shaders & post-effects.
  • DeLab-2D Dissolve — 2D dissolve effect shader sample project.
  • Derez — Render target with low resolution output (downsampling).
  • Dissolve FX — An example of implementing the dissolve effect for sprites.
  • Easer — Render script content switcher at run-time.
  • Fake Real Glass — Multipass fake glass shader effect.
  • Fire Glow — Fire Glow shader effect.
  • Glimmer Shader — A glimmering / highlighting shader for 2D sprites.
  • GLInfo — Getting some OpenGL params.
  • Gradient Map Shader — A shader for sampling a gradient texture to recolor sprites and animations.
  • Horri-Fold — A Lo-Fi Horror shader.
  • Illumination — A ready-to-use forward shading lighting for 3D games.
  • Jhonnyh Public Examples — A set of examples with rendering, shadow mapping and etc.
  • Light and Shadows — Pack of shaders to make light and shadows in Defold.
  • Light Probes — An attempt to implement irradiance probes for global illumination.
  • Lights and Shadows — An example of how to achieve pixel perfect shadows in a 2D view.
  • Lumiere — A collection of post processing effects.
  • Mesh Healthbar — Mesh healthbar sample project.
  • New Illumination — An example of mixing Illumination and Light and Shadows with clustered forward shading.
  • Noise Animation Electric — A shader of noise animation with an electric effect.
  • Normal Map Lighting 2D — Normal map example render pipeline for 2D sprites.
  • PBR Core — Set of scripts, shaders and materials for PBR rendering.
  • PCSS — Deferred shading and shadow map filter experiments: pcf, poisson, pcss.
  • Pixel Planets — Port of Pixel Planets shaders.
  • Pixelart Shader — The pixel-art post-process shaders for 3D.
  • Point Light — Omnidirectional shadow map implementation.
  • Projections — A sample project showing the different render script projections.
  • Scene3D — A collection of assets and useful functions for 3D games.
  • Shader Examples — A collection of shader examples by subsoap.
  • Skyquad — Skyquad implementation.
  • Software Renderer — A software renderer implementation.
  • Sparkle Effect — A simple 2D sparkle shader.
  • Spotlight Projector Effect — A visual effect for highlighting zones of interest.
  • Sprite Lines — Draw lines using the same shader pipeline as sprites.
  • Sprite texture repeat shader — Texture repeat (tiling) shader.
  • SpritePalette — Example project showing palette changes using a palette texture.
  • SSAO — A simple screen space ambient occlusion implementation.
  • SSLR — A screen space local reflections implementation.
  • Stylized Water Shader — Stylized animated water shader with foam, sparkles and wave controls.
  • Toon Shader — A rendering style designed to make 3D surfaces emulate 2D, flat surfaces.
  • Treasure 3D — Showcase of rendering features for a 3D scene.
  • Vertex Color Sample — Using vertex colors from glTF file example.
  • VSM — A variance shadow map implementation.
  • Water reflection effect — A project showcases a 2D reflective water effect.

Services

  • DiscordRich — Rich Presence on Discord.
  • Facebook — Facebook SDK for iOS, Android and HTML5.
  • GameKit — Apple Game Center integration.
  • GPGS — Google Play Game Services integration.
  • Sign In with Apple — Native signing-in with Apple ID.
  • Usercentrics — Usercentrics CMP for iOS and Android.
  • Xsolla — Xsolla integration for Defold.
  • Zendesk — Provides access to Zendesk SDK functionality on iOS and Android.

Sound

  • Blip — A procedural generator of 8-bit sound effects.
  • DeBeat — A sound mixer.
  • DecodeOgg — Decoding ogg files to wav.
  • FMOD — FMOD sound effects engine integration.
  • Miniaudio — High-performance audio playback and streaming based on miniaudio.
  • MOD Player — Chiptune player for .xm and .mod files.
  • OpenAL — Provides 3D audio, pitch control and other stuff.
  • OSC — An Open Sound Control protocol library.
  • SoundBank — Sounds and music playlists system.
  • ZzFX — Zuper Zmall Zound Zynth.

System

  • AdInfo — Provides access to advertising information and status on iOS and Android.
  • ADPF — Android Dynamic Performance Framework.
  • ANGLE — Windows-only graphics adapter that replaces OpenGL with Google ANGLE.
  • Clipboard — Access the system clipboard.
  • Def-Diags — Open and save dialogs for Desktop.
  • Def-Mnu — Native context and app menu library for macOS and Windows.
  • defold-ffi — A set of tests and examples of using ffi with Defold.
  • DefOS — Extra native OS functions on macOS, Windows, Linux and HTML5.
  • Defpfd — Portable File Dialogs.
  • DefProcess — Check if a Windows process is running.
  • DefWin — Extension for advanced Windows window features.
  • FileDrop — Drag and drop files handling on macOS and HTML5.
  • Inter-App Communication — Inter-app communication on iOS and Android.
  • OpenCL — OpenCL for parallel and massive computations.
  • Permissions — Query and request application permissions on Android.
  • Push Notifications — Push notifications on iOS and Android.
  • Review — Native iOS and Android ratings and reviews window.
  • Sharing — Native sharing screen on macOS, iOS, Android and HTML5.
  • StrictMode — Gives a possibility to use StrictMode on Android.
  • UpTime — Allows receiving a system uptime.
  • VideoPlayer Native — A fullscreen native video player on iOS and Android.
  • Vulkan — Vulkan graphics adapter.
  • WebView — Loads and displays web pages.

Templates, Engines

  • 3Deforms — Sample and 3D mesh package with simplest shapes and prototype textures in basic colors.
  • Boom — A game framework built on top of Defold inspired by Kaboom.
  • Crit Boilerplate — Critique Gaming's starter project with many features out-of-box.
  • Cube Mining — A 3D voxel template with greedy meshing, lighting and collision systems.
  • Def-Shell — Starter project for games by Ben James.
  • Emthree — Match three game engine.
  • Fuior Example — Ready-to-use starter project based on Crit, Monarch and DefOS.
  • LowRes — A template project for lowres and pixel-art games.
  • MatchaNovel — A visual novel framework library.
  • Platformer — A template project for a platformer game.
  • Platypus — Platformer game engine.
  • Text Adventure — Text adventure template with Ink.
  • Visual Novel — Visual novel template with DefSceneManager and Ink.

Text

  • ChatBot — Chatbot using the approach similar to PullString.
  • DefArc — Arcweave runtime to easily create branching, interactive narratives in your games.
  • DefGlot — Localization module.
  • defold-ink — Ink language runtime for compiled JS files.
  • Defork — A parser for JSON files exported from Twine.
  • DefString — A module with a set of extra string functions.
  • Fuiur — A domain-specific language for narrative design.
  • Lang — A module for working with localization.
  • LPeg — A pattern-matching library.
  • LualocaDE — An autotranslator with convenient localization json files that supports entries.
  • Narrator — Ink language runtime that works with Ink files.
  • Polyglot —A simple Polyglot to Defold tool for game localizations.
  • RTL Text — Display right-to-left text correctly in Defold projects.
  • UTF8 — Adds UTF-8 support to Lua.
  • WrapText — Filtering East Asian Language text to properly wrap it.
  • 🌙 i18n — A very complete localisation i18n.

Tiles, Grids

  • 3D Tilemap — Converting 2D tilemap to 3D mesh.
  • A-Star Hex Example — An example of using a-star library for a hexagonal grid.
  • Christmas 2025 Tiled Demo — 2D Box2D demo with Tiled-exported levels and tilemap mesh rendering.
  • Hexagon — A library to work with hexagon grids.
  • Hexagonal Grid — Hexagonal grid implementation with a three-axis coordinate system.
  • Moku — Map utility and auto-tiling module.
  • RPG Map Sample — An example of creating very large RPG maps.
  • Tile Raycast — Ray casting in tiled worlds using DDA algorithm.
  • Tiled Example — Example of using Tiled as level editor for game.
  • 🌙 crop-tileset — A script that crops a tileset into individual tiles.
  • 🌙 merge-tileset — A script that merges individual tiles into a tileset.

Time

  • Chrono — Reliable time from Google's NTP servers.
  • Chronos — High resolution monotonic timer with nanoseconds.
  • DefQuest — Setup, track, and check real world time countdowns based on OS or server time.
  • DefUniCo — A coroutine library.
  • Human Time — Library to get a "human time".
  • Timer – Provides a visual timer widget.
  • 🌙 cron — Time-related functions inspired on javascript.
  • 🌙 tick — A small module that simplifies the calling of functions at a set interval or after a delay.

UI

  • Cairo — UI based on Cairo graphics library.
  • Clay — Native extension for the Clay high-performance UI layout library.
  • Dear ImGUI — ImGUI wrapper for creating a debug interface or in-game tools.
  • DeFine — A UI/UX library providing fundamental components.
  • Dirty Larry — A quick and dirty GUI library.
  • Druid — A framework of wide range user interface components.
  • DSFonts — A set of shaders and materials for the distance field font.
  • efSceneManager — Scene manager suitable for visual novels and adventure games.
  • Flow — Flexbox-style UI library with declarative components and stack-based navigation.
  • FontGen — Allows for extending an existing font (.fontc) with more glyphs at runtime.
  • FontScale — Returns the preferred font scaling factor on the device.
  • Gooey — A lightweight GUI system inspired by Dirty Larry.
  • GUIX — An imperative GUI widget toolkit built on Defold's gui.* API.
  • ImGui Gizmo — ImGui gizmo demo for picking, transforms and camera manipulation.
  • ImNodes — Example of how to create node/flow graphs with Dear ImGUI.
  • Monarch — Screens and navigation manager.
  • NativeText — Renders native text into an image resource.
  • NetImGUI — Remotely displaying and controlling Dear ImGUI content.
  • Nuklear — An extension to provide Nuklear immediate mode gui capabilities.
  • Printer — A symbol-by-symbol text writer.
  • RichText — Text styling based on an HTML inspired markup language.
  • Typewriter — Styled text output with typing animation.
  • whDefRouter — A screen management solution.
  • Yoga — An embeddable and performant flexbox layout engine.

Utilities

  • AHash — A simple module for automatic hash reusing.
  • AURL — Automatic URL reusing.
  • DefKit — Component based scripts for Defold inspired by the Game Maker engine.
  • Defold Persist — A simple interface for saving and loading data.
  • Defold Wrap — A tiny library to help you change the way you code on Defold.
  • defold-oop — An extension to work with OOP in Lua.
  • DefTable — A library that contains a whole bunch of useful table manipulation functions.
  • Gimme — Tiny extension to convert Defold types into readable values.
  • Hashed — A small utility library to automatically use hashed strings.
  • luaproc — A concurrent programming library.
  • Ludobits — A set of useful utilities and wrappers.
  • m — A module for creating hot-reloadable modules.
  • MD5 — Native MD5 generator from string.
  • N28S — Keeps Defold script callbacks on a Lua table instead of global functions.
  • 🌙 betteries — Reusable dependencies for games made with Lua.
  • 🌙 immut.lua — Immutable and persistent data structures for Lua.
  • 🌙 Immutable — Runtime immutable Lua table implementation.
  • 🌙 Knife — A collection of useful micro-modules for Lua.
  • 🌙 lua-algorithms — General algorithms and data structures.
  • 🌙 LuaFun — A high-performance functional programming library.
  • 🌙 lume — A collection of functions, geared towards game development.
  • 🌙 md5 — MD5 sum in pure Lua.
  • 🌙 memorize — A pure-Lua memoization functions.
  • 🌙 Microlight — A little library of useful Lua functions.
  • 🌙 Moses — A Lua utility-belt library for functional programming.
  • 🌙 Penlight — Provides the batteries that Lua doesn't.
  • 🌙 RxLua — Reactive power of Observables.
  • 🌙 sandbox — A Lua sandbox for executing non-trusted code.
  • 🌙 Serpent — Lua serializer and pretty printer.
  • 🌙 syncX — An implementation of a CRDT synchronization algorithm.

Examples

  • 2.5D Shooter — Prototype of 2.5D shooter like Wolfenstein.
  • Astrogue — A basic turned-based roguelike.
  • Autonews — A simple auto news grabber and organizer.
  • Ben James 171 — A countless list of examples of mini-games by Ben James.
  • Blocks Cubes 2048 — A hyper casual 2d merge game.
  • Breakout — A barebones Breakout clone.
  • britzl Examples — A collection of several small examples.
  • Bubble Balls — Hyper casual 2d pop game.
  • Charming Kitchen — Basic example project for DAABBCC3D.
  • Christmas 3D Game Demo — 3D demo with ECS, character controller and an in-game editor.
  • Climberz — An infinite climber with Web Monetization support.
  • Cold Path Map Editor — Map Editor for the Cold Path game.
  • Color Picker — A pretty basic HSV and RGB color picker.
  • Cosmic Dash — A puzzle game made with tiny-ecs library with ECS-kind approach.
  • Driller — 3D first-person shooter for Ludum Dare 48.
  • Flappy Bird — Flappy Bird clone implementation.
  • Gabagus — Like a "flappy bird clone" but much more.
  • Ghosts and Loot — 2D walker with a flashlight for Kenney Jam 2023 game jam.
  • Holdem Solitaire — A solitaire puzzle game based on poker rules.
  • Horror 3D — Horror 3D game inspired by Slender.
  • In-apps by cryptocurrency — A sample project showing how to enable in-app purchases using cryptocurrencies.
  • Infinite Runner — Infinite runner sample project.
  • JizSaw — Jigsaw puzzle game example.
  • Ladybug Ball — A simple yet challenging puzzle platformer with a ball and full physics.
  • Linker and Switch — A simple Linker and Switcher game.
  • Little Coaster — Tiny Worlds challenge scene with a miniature roller-coaster setup.
  • Love Balls — A linker game with using ECS.
  • Lowrez Invaders — A simple Space Invaders clone with a 64x64 pixel resolution.
  • Merge Getaway — 3D cars merger for Ludum Dare 50.
  • Mine Runner 3D — A 3D endless runner game using ECS.
  • Mini Mega Party — Multiplayer one-button mini games inspired by the Wario Ware series.
  • MultiViewer — A very basic multi-image viewer intended for displaying art references.
  • Numberz — Defold version of the zNumbers game.
  • Perfect+1 — A bite-sized, retro-styled, maze puzzle game.
  • Pixel Line Platformer — A sample project for a platformer game.
  • Pokedex5E — An open-source Pokemon database game.
  • Pong — An implementation of the classic game Pong.
  • PowerWash 2D YG — Yandex Games-ready source project for a 2D washing-simulator mechanic.
  • Secret Moon Station — A short platformer game with Web Monetization.
  • Shooting Circles — A game example built using only the ECS architecture.
  • Slasher Prototype — A game prototype with 2.5D perspective view, levels loader, the hero controller, monsters and basic AI logic.
  • SuperWEIRD Game Kit — A six different visual styles and the gameplay logic of a shop/production simulator.
  • Tetris — A tetris game clone.
  • Throw a Cow — An implementation of the popular game Angry Birds.
  • Tic Tac Toe — A game with undo mechanics featuring immutable tables as game states.
  • Tiny City — Tiny Worlds visual demo of a stylized miniature city.
  • Towerz — Defold version of Tipsy Towers.
  • Turn-Based Battle Sample — A classic JRPG-style turn-based battle.
  • TweetFighter — A game of decision making with tweets.
  • Warbattles RTS — A RTS sample project.
  • Wateru — Suika game clone for mobile.
  • Word Worm — Finish lines by making words from the letters stacked.
  • Xfire — A simple turn-based combat game.
  • XOXO — Tic Tac Toe game for reuse when testing different server implementations and backend services.

Showcase

Desktop

Mobile

Web

About

Awesome Defold

Topics

Resources

Stars

242 stars

Watchers

11 watching

Forks

Contributors