← Back to Skills Marketplace
andyrenxu7255

Defold Game Engine

by Andy Ren · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ✓ Security Clean
38
Downloads
0
Stars
0
Active Installs
1
Versions
Install in OpenClaw
/install defold
Description
Develop games using Defold engine with Lua scripting, including components, GUI, physics, animation, input handling, dynamic objects, and save/load systems.
README (SKILL.md)

Defold Game Engine

Quick Start

Install Dependencies

https://github.com/Insality/druid/archive/refs/tags/1.2.2.zip
https://github.com/subsoap/defsave/archive/refs/tags/v1.2.6.zip
https://github.com/insality/defold-monarch/archive/1.0.zip

Project Structure

main.collection
├── game_manager.go
├── player.go
└── ui.go

Core Patterns

Message Passing

msg.post("target#script", "event", { data = value })

function on_message(self, message_id, message, sender)
    if message_id == hash("event") then handle(message) end
end

Dynamic Objects

local id = factory.create("#factory", pos, nil, { prop = value })
local ids = collectionfactory.create("#collection_factory")
msg.post("#proxy", "load")  -- Wait for proxy_loaded, then init+enable

GUI (Druid)

self.druid = druid.new(self)
self.btn = self.druid:new_button("node", callback)
self.text = self.druid:new_text("node", "text")

Physics

physics.apply_force("#collision", force)
physics.set_velocity("#collision", velocity)

function on_message(self, message_id, message, sender)
    if message_id == hash("collision_response") then
        handle_collision(message.other_id, message.normal)
    end
end

Animation

sprite.play_flipbook("#sprite", "idle", callback)
go.animate(".", "position.y", go.PLAYBACK_ONCE_FORWARD, 100, go.EASING_OUTQUAD, 1.0)

Input

msg.post(".", "acquire_input_focus")

function on_input(self, action_id, action)
    if action_id == hash("jump") and action.pressed then jump() end
end

Save/Load

defsave.load("game")
defsave.set("game", "coins", 100)
local coins = defsave.get("game", "coins")

References

Performance

  • Atlas all sprites
  • Message-driven logic, avoid polling
  • Reuse vectors/tables
  • Engine handles object pooling
Usage Guidance
This skill looks safe as a Defold reference. Before using optional dependencies or running any included helper script, verify the GitHub libraries and inspect the script source yourself.
Capability Analysis
Type: OpenClaw Skill Name: defold Version: 1.0.0 The Defold skill bundle is a comprehensive and legitimate resource for game development. It contains detailed documentation and code examples for various engine systems, along with a utility script (scripts/add_dependencies.py) designed to automate the addition of standard community libraries to a project's configuration file. All external references point to reputable GitHub repositories (e.g., Insality/druid, subsoap/defsave), and no indicators of malicious intent, data exfiltration, or prompt injection were found.
Capability Tags
cryptocan-make-purchases
Capability Assessment
Purpose & Capability
The content is aligned with Defold/Lua game development: components, GUI, physics, animation, input, dynamic objects, and save/load examples.
Instruction Scope
Instructions are documentation and code examples for Defold projects; they do not tell the agent to override user intent, persist autonomously, exfiltrate data, or perform unrelated host actions.
Install Mechanism
There is no install spec, but the skill documents optional GitHub ZIP dependencies and the manifest lists a helper script whose contents were not included in the supplied file contents.
Credentials
File access, input handling, dynamic object creation, and save/load examples are Defold runtime concepts and are proportionate to the stated game-development purpose.
Persistence & Privilege
Persistence examples are for in-game save data using Defold APIs such as sys.save and DefSave, not agent memory, account credentials, or background execution.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install defold
  3. After installation, invoke the skill by name or use /defold
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.0
Initial release. Defold game engine skill covering core concepts, GUI, physics, animation, input, dynamic objects, data storage, and game patterns.
Metadata
Slug defold
Version 1.0.0
License MIT-0
All-time Installs 0
Active Installs 0
Total Versions 1
Frequently Asked Questions

What is Defold Game Engine?

Develop games using Defold engine with Lua scripting, including components, GUI, physics, animation, input handling, dynamic objects, and save/load systems. It is an AI Agent Skill for Claude Code / OpenClaw, with 38 downloads so far.

How do I install Defold Game Engine?

Run "/install defold" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is Defold Game Engine free?

Yes, Defold Game Engine is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does Defold Game Engine support?

Defold Game Engine is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created Defold Game Engine?

It is built and maintained by Andy Ren (@andyrenxu7255); the current version is v1.0.0.

💬 Comments