๐Ÿ› ๏ธ Companion tool ยท Browser only ยท No install to start

Defold Mod Studio
Build a game project in your browser

A little project maker for the Defold series. Lay out a 2D scene on a grid, tick the Lua scripts you want, read a broken console log and choose the fix, then download a real Defold project you can open in the free Defold editor on any computer.

Make your own art and sounds: draw sprites in Pixel Studio and make music or sound effects in Sound Studio, then bring them into your project.
Ember
Ember says: Defold is a free game engine, and the projects it uses are just text files. This studio writes those files for you: a game.project, a collection and your Lua scripts. Your work saves automatically.

Lay out your scene

Pick an object below, then click squares on the grid to place it. Put the Player where you start and a Goal at the end. Click a square again, or use the eraser, to remove it.

Objects

Your scene so far

Each object becomes a game object in your Defold collection. The mini map below is a bird's eye view of where they sit in the game.

What is in the scene

    Add scripts

    A script is Lua that Defold runs for you. Tick the ones you want and the Studio writes the code. Start with Player move so you can move, and Coin spin so collecting looks alive.

    Your scripts

    Each ticked script becomes a .script (Lua) file in your project's main folder.

    
          

    Name your project

    Live preview

    This is the top of your game.project and your main/main.collection. Every object becomes a game object instance.

    
            

    โœ… Ready check

    A Defold project opens cleanly if all of these are true. The Studio fills most of them in for you.

      How this maps to real Defold

      game.project tells Defold this folder is a project and which collection to run.

      main.collection is your scene: game object instances with positions.

      .go files are the game objects (a sprite plus a script).

      .script files are the Lua Defold runs, attached to a game object.

      Open it: Defold > File > Open Project > pick game.project, then press Build & Run.

      The console

      Click the red line, then choose the fix. Plain lines are normal.

      What is the fix?

      Download your project

      This bundles everything into a zip: game.project, main/main.collection, a .go and .script for each object, plus the sprite atlas. Open Defold, choose File > Open Project, and pick game.project.

        What is inside

        
              
        ๐Ÿ“‹
        Keep the cheat sheet open: game objects, Lua basics and the common Defold console errors, all on one page. Open the Defold cheat sheet โ†’  ยท  Back to all workshops โ†’