defold-examples-fetch
Fetches Defold code examples by topic. Use when looking for practical implementation patterns, sample code, or how to do something specific in Defold.
Best use case
defold-examples-fetch is best used when you need a repeatable AI agent workflow instead of a one-off prompt.
Fetches Defold code examples by topic. Use when looking for practical implementation patterns, sample code, or how to do something specific in Defold.
Teams using defold-examples-fetch should expect a more consistent output, faster repeated execution, less prompt rewriting.
When to use this skill
- You want a reusable workflow that can be run more than once with consistent structure.
When not to use this skill
- You only need a quick one-off answer and do not need a reusable workflow.
- You cannot install or maintain the underlying files, dependencies, or repository context.
Installation
Claude Code / Cursor / Codex
Manual Installation
- Download SKILL.md from GitHub
- Place it in
.claude/skills/defold-examples-fetch/SKILL.mdinside your project - Restart your AI agent — it will auto-discover the skill
How defold-examples-fetch Compares
| Feature / Agent | defold-examples-fetch | Standard Approach |
|---|---|---|
| Platform Support | Not specified | Limited / Varies |
| Context Awareness | High | Baseline |
| Installation Complexity | Unknown | N/A |
Frequently Asked Questions
What does this skill do?
Fetches Defold code examples by topic. Use when looking for practical implementation patterns, sample code, or how to do something specific in Defold.
Where can I find the source code?
You can find the source code on GitHub using the link provided at the top of the page.
SKILL.md Source
# Defold Examples Reference Fetch example code from the links below (the URLs point to plain Markdown files). ## Animation | Example | URL | |---------|-----| | Animation State Machine | https://defold.com/llms/examples/animation/animation_states.md | | Cursor animation | https://defold.com/llms/examples/animation/cursor.md | | Easing functions (tweens) | https://defold.com/llms/examples/animation/easing.md | | Euler Rotation | https://defold.com/llms/examples/animation/euler_rotation.md | | Flipbook animation | https://defold.com/llms/examples/animation/flipbook.md | | Spine animation | https://defold.com/llms/examples/animation/spine.md | | Spinner animation | https://defold.com/llms/examples/animation/spinner.md | | Tween animation | https://defold.com/llms/examples/animation/basic_tween.md | | Tween animations chain | https://defold.com/llms/examples/animation/chained_tween.md | ## Basics | Example | URL | |---------|-----| | Message passing | https://defold.com/llms/examples/basics/message_passing.md | | Parent/child | https://defold.com/llms/examples/basics/parent_child.md | | Random numbers | https://defold.com/llms/examples/basics/random_numbers.md | | Z-order | https://defold.com/llms/examples/basics/z_order.md | ## Collection | Example | URL | |---------|-----| | Proxy | https://defold.com/llms/examples/collection/proxy.md | | Splash | https://defold.com/llms/examples/collection/splash.md | | Time-step | https://defold.com/llms/examples/collection/timestep.md | ## Debug | Example | URL | |---------|-----| | Physics debug | https://defold.com/llms/examples/debug/physics.md | | Visual profiler | https://defold.com/llms/examples/debug/profile.md | ## Factory | Example | URL | |---------|-----| | Dynamic factories | https://defold.com/llms/examples/factory/dynamic.md | | Shoot bullets | https://defold.com/llms/examples/factory/bullets.md | | Spawn enemies with central management | https://defold.com/llms/examples/factory/spawn_manager.md | | Spawn enemies with script properties | https://defold.com/llms/examples/factory/spawn_properties.md | | Spawn game object | https://defold.com/llms/examples/factory/basic.md | ## File | Example | URL | |---------|-----| | Load JSON data | https://defold.com/llms/examples/file/json_load.md | | Save and Load | https://defold.com/llms/examples/file/sys_save_load.md | ## GUI | Example | URL | |---------|-----| | Button | https://defold.com/llms/examples/gui/button.md | | Drag | https://defold.com/llms/examples/gui/drag.md | | Get and set a gui font resource | https://defold.com/llms/examples/gui/get_set_font.md | | Get and set a gui material resource | https://defold.com/llms/examples/gui/get_set_material.md | | Get and set a gui texture resource | https://defold.com/llms/examples/gui/get_set_texture.md | | GUI color | https://defold.com/llms/examples/gui/color.md | | GUI progress indicators | https://defold.com/llms/examples/gui/progress.md | | Health Bar | https://defold.com/llms/examples/gui/healthbar.md | | Layouts | https://defold.com/llms/examples/gui/layouts.md | | Load texture | https://defold.com/llms/examples/gui/load_texture.md | | Pointer over | https://defold.com/llms/examples/gui/pointer_over.md | | Slice-9 | https://defold.com/llms/examples/gui/slice9.md | | Stencil | https://defold.com/llms/examples/gui/stencil.md | ## Input | Example | URL | |---------|-----| | 8 ways movement | https://defold.com/llms/examples/input/move.md | | Down duration | https://defold.com/llms/examples/input/down_duration.md | | Entity Picking | https://defold.com/llms/examples/input/entity_picking.md | | Mouse and touch events | https://defold.com/llms/examples/input/mouse_and_touch.md | | Text input | https://defold.com/llms/examples/input/text.md | ## Material | Example | URL | |---------|-----| | Custom Sprite | https://defold.com/llms/examples/material/custom_sprite.md | | Noise shader | https://defold.com/llms/examples/material/noise.md | | Repeating Background | https://defold.com/llms/examples/material/repeating_background.md | | Screenspace | https://defold.com/llms/examples/material/screenspace.md | | Sprite local UV | https://defold.com/llms/examples/material/sprite_local_uv.md | | Sprite Vertex Color Attribute | https://defold.com/llms/examples/material/vertexcolor.md | | Unlit | https://defold.com/llms/examples/material/unlit.md | | UV Gradient | https://defold.com/llms/examples/material/uvgradient.md | ## Mesh | Example | URL | |---------|-----| | Mesh (triangle) | https://defold.com/llms/examples/mesh/triangle.md | | Textured Mesh | https://defold.com/llms/examples/mesh/textured.md | ## Model | Example | URL | |---------|-----| | AABB | https://defold.com/llms/examples/model/aabb.md | | Character | https://defold.com/llms/examples/model/character.md | | Cubemap Reflection | https://defold.com/llms/examples/model/cubemap.md | | GLTF | https://defold.com/llms/examples/model/gltf.md | | GPU Skinning | https://defold.com/llms/examples/model/skinning.md | | Model Vertex Color | https://defold.com/llms/examples/model/modelvertexcolor.md | | Skybox | https://defold.com/llms/examples/model/skybox.md | ## Movement | Example | URL | |---------|-----| | First-person 3D camera and movement | https://defold.com/llms/examples/movement/3d_fps.md | | Follow input | https://defold.com/llms/examples/movement/follow.md | | Look at | https://defold.com/llms/examples/movement/look_at.md | | Look rotation | https://defold.com/llms/examples/movement/look_rotation.md | | Move forward | https://defold.com/llms/examples/movement/move_forward.md | | Move to target | https://defold.com/llms/examples/movement/move_to.md | | Movement speed | https://defold.com/llms/examples/movement/movement_speed.md | | Moving game object | https://defold.com/llms/examples/movement/simple_move.md | ## Particles | Example | URL | |---------|-----| | Modifiers | https://defold.com/llms/examples/particles/modifiers.md | | Particle effect | https://defold.com/llms/examples/particles/particlefx.md | | Particle Effect Emission Space | https://defold.com/llms/examples/particles/particlefx_emission_space.md | | Confetti | https://defold.com/llms/examples/particles/confetti.md | | Fire and smoke | https://defold.com/llms/examples/particles/fire_and_smoke.md | | Fireworks | https://defold.com/llms/examples/particles/fireworks.md | ## Physics | Example | URL | |---------|-----| | Dynamic physics | https://defold.com/llms/examples/physics/dynamic.md | | Hinge joint physics | https://defold.com/llms/examples/physics/hinge_joint.md | | Kinematic physics | https://defold.com/llms/examples/physics/kinematic.md | | Knockback | https://defold.com/llms/examples/physics/knockback.md | | Pendulum physics | https://defold.com/llms/examples/physics/pendulum.md | | Raycast | https://defold.com/llms/examples/physics/raycast.md | | Trigger | https://defold.com/llms/examples/physics/trigger.md | ## Render | Example | URL | |---------|-----| | Camera | https://defold.com/llms/examples/render/camera.md | | Orbit Camera | https://defold.com/llms/examples/render/orbit_camera.md | | Post-processing | https://defold.com/llms/examples/render/post_processing.md | | Screen to World | https://defold.com/llms/examples/render/screen_to_world.md | | World to Screen | https://defold.com/llms/examples/render/world_to_screen.md | ## Resource | Example | URL | |---------|-----| | Create atlas | https://defold.com/llms/examples/resource/create_atlas.md | | Modify atlas | https://defold.com/llms/examples/resource/modify_atlas.md | ## Sound | Example | URL | |---------|-----| | Fade In-Out | https://defold.com/llms/examples/sound/fade_in_out.md | | Get and set sound | https://defold.com/llms/examples/sound/get_set_sound.md | | Music | https://defold.com/llms/examples/sound/music.md | | Panning | https://defold.com/llms/examples/sound/panning.md | ## Sprite | Example | URL | |---------|-----| | Bunnymark | https://defold.com/llms/examples/sprite/bunnymark.md | | Change sprite image | https://defold.com/llms/examples/sprite/changeimage.md | | Flip | https://defold.com/llms/examples/sprite/flip.md | | Multiple Sprite Samplers | https://defold.com/llms/examples/sprite/samplers.md | | Sprite cursor | https://defold.com/llms/examples/sprite/cursor.md | | Sprite size | https://defold.com/llms/examples/sprite/size.md | | Sprite tint | https://defold.com/llms/examples/sprite/tint.md | ## Tilemap | Example | URL | |---------|-----| | Get and set tiles | https://defold.com/llms/examples/tilemap/get_set_tile.md | | Tilemap collisions | https://defold.com/llms/examples/tilemap/collisions.md | ## Timer | Example | URL | |---------|-----| | Cancel timer | https://defold.com/llms/examples/timer/cancel_timer.md | | Repeating timer | https://defold.com/llms/examples/timer/repeating_timer.md | | Trigger timer | https://defold.com/llms/examples/timer/trigger_timer.md | ## Usage When you need a practical example of how to implement something in Defold: 1. Identify the topic (e.g., "factory spawning", "physics raycasts", "GUI buttons") 2. Find the matching entry in the tables above 3. Fetch the corresponding URL (all URLs are plain Markdown — fetch and read the raw content) 4. Example: fetch `https://defold.com/llms/examples/factory/basic.md`
Related Skills
gcp-examples-expert
Generate production-ready Google Cloud code examples from official repositories including ADK samples, Genkit templates, Vertex AI notebooks, and Gemini patterns. Use when asked to "show ADK example" or "provide GCP starter kit". Trigger with relevant phrases based on skill purpose.
defold-skill-maintain
Maintains Defold agent skills. Use when asked to update link lists in api-fetch/docs-fetch/examples-fetch skills, create or update proto file references, or fetch proto schemas.
defold-shaders-editing
Creates and edits Defold shader files (.vp, .fp, .glsl). Use when asked to create, modify, or configure any Defold vertex shader, fragment shader, or GLSL include file.
defold-scripts-editing
Creates and edits Defold Lua script files (.script, .gui_script, .render_script, .editor_script) and plain Lua modules (.lua). Use when asked to create, modify, or configure any Defold script or Lua module.
defold-proto-file-editing
Creates and edits Defold resource and component files that use Protobuf Text Format (.collection, .go, .atlas, .sprite, .gui, .collisionobject, .convexshape, .label, .font, .material, .model, .mesh, .particlefx, .sound, .camera, .factory, .collectionfactory, .collectionproxy, .tilemap, .tilesource, .objectinterpolation). Use when asked to create, modify, or configure any Defold proto text format file.
defold-project-setup
Downloads Defold project dependencies into .deps/ folder. Also provides recommended game.project settings. Use FIRST before any other task when .deps/ folder is missing or empty, or after editing dependency URLs in game.project. Also use when creating a new project, configuring game.project, or asking about recommended project settings.
defold-project-build
Builds the project using the running Defold editor, returns build errors, and launches the game if build succeeds.
defold-native-extension-editing
Defold native extension development. Use when creating or editing C/C++ (.c, .cpp, .h, .hpp), JavaScript (.js), or manifest files in native extension directories (src/, include/, lib/, api/).
defold-docs-fetch
Fetches Defold manuals and documentation. Use when looking up how Defold features work, understanding concepts, components, workflows, platform setup, or needing guidance beyond API reference.
defold-assets-search
Searches the Defold Asset Store for community libraries and extensions. Use BEFORE writing custom modules for pathfinding, RNG, UI, save/load, localization, tweening, input handling, etc. Helps find, compare, and install Defold dependencies.
fetching-dbt-docs
Retrieves and searches dbt documentation pages in LLM-friendly markdown format. Use when fetching dbt documentation, looking up dbt features, or answering questions about dbt Cloud, dbt Core, or the dbt Semantic Layer.
native-data-fetching
Use when implementing or debugging ANY network request, API call, or data fetching. Covers fetch API, axios, React Query, SWR, error handling, caching strategies, offline support.