You're blocking ads, which pay for BlenderNation. Read about other ways to support us.

Dropper - a simple level editor

7

Joseph Hocking writes:

A very useful but unglamorous tool, a "dropper" is a simple level editor that lets you position objects in 3D space and then writes all the positions/rotations/etc. to an easily parsed text file. Your game can then read this file to put everything in the same place. It exports any custom properties that you set, plus you can choose either JSON or XML for the output format.

About Author

Joseph Hocking

I'm a software engineer living in Chicago, specializing in interactive media development. I build games and apps for both mobile and web using technologies like C#/Unity and JavaScript/HTML5. Before I started programming I actually started in this field as a 3D animator, and I've been working with Blender on and off this entire time.

7 Comments

  1. Francisco Ortiz on

    Thanks a lot Joseph. Do you have any website that can display the JSON or XML generated by your tool? Thank you very much.

    • Not sure what you mean by "display". If you just mean you want to see an example of the exported JSON, the screenshot shows that, or just download this script and export the sample scene.

      If you mean a website that actually loads the data and processes it somehow, well the point of this tool is that it's generic data without a set purpose. You can do whatever you want with this data; I load it in my game and place objects around the scene.

      • Francisco Ortiz on

        Do you know what else is needed so that a web browser is able to display the generated file? Thanks! :)

          • I think you misunderstood what this data is. It's not the geometry, like vertices and polygons. There are already plenty of file formats for that; if you want to display 3D models in your website, I'd export to gltf or fbx and load them with three.js

            This data is just the overall position, rotation, and scale of objects. And whatever custom attributes you add, so that you can tell your game stuff like "this object has 20 health" or "this object is a spawn point."

Leave A Reply

To add a profile picture to your message, register your email address with Gravatar.com. To protect your email address, create an account on BlenderNation and log in when posting a message.