Building a Sync Tool for Blender to Defold

Ok. Due to many new features I needed in my f18 game (since all my missions are built in blender and exported using defender) there has been some updates.

Little summary:

Due to changes needed for my f18 game. I ended up added a number of new features to defender as well as fixing many little bugs.

  • Mesh buffer generation and collections is much more stable now. This is being used in my f18 game.
  • Gltf and glb improvements.
  • Added more properties for obejcts. You can now control script setting better as well as collisions volumes are much better - not perfect yet, but pretty good.
  • Scene graph is now output to script in a collection. This is a BIG update.
    • The entire tree for a collection is exported into a lua table in script.
    • You can access any collection using the gop tables. If your collection is called MyScene then the command to fetch the graph is: gop.get(“SCENE_MYSCENE”)
    • The table is seen in the declaration in the scripts/MyScene.script file. This can be modified after export if needed. It is auto loaded with the collection.
    • The scene tree (graph) includes many features like: dimensions, location, rotation, scaling, children and much more. See script file to see what is in there.

I’m not really doing much more on this tool once the f18 game is release. However should I end up doing more theatres and missions for the f18 game, then defender will likely get more updates.

If you would like more details on how properties, and the scene graph works, please reply here and I will respond as best I can. The f18 game is driving most of these changes so there may be a flurry of updates every now and then up until around September, which is when I hope to halt any export changes and lock my assets.

4 Likes