SunBurn 1.3.2: The New Editor

As previously mentioned, 1.3.2 is a huge release with plenty of new features: among them is the new editor. With a new UI, improved screen space, and integration into SunBurn, it allows for more streamlined workflow. This post talks about some of the new features and differences from the old editor.

SunBurn Integration

The editor is now a part of SunBurn, not a separate application. You no longer have to hunt for the SunBurn-Editor executable and wait for it to connect. Instead, simply launch your game and press F11 (or any key of your choice, you can even launch the editor manually in your code). Being directly connected, the editor is more responsive and faster to launch.

Undo/Redo

The undo system in the old editor was a little unintuitive, with undo stacks per-object and only some functions undoable. Now undo steps are per tab and are based on every action in that tab. This makes editing faster and allows for more actions to be undoable: move, clone, add, delete, etc.

Tooltips, Shortcuts, and Menus

The editor now sports extensive tooltips to help explain properties and actions. There are also keyboard shortcuts available for standard actions (save, undo, redo) and editor specific functions. If an action has a shortcut, its tooltip will tell you.

We have expanded the context menus on controls as well. Right-clicking on selections will give you options such as save or add/remove. Other actions have been moved to context menus to save space: highlight selected, texture browser options, etc. If in doubt, right-click.

Real-time Assets

Another exciting feature is that asset tracking is now real-time inside the editor. When a changed texture is detected, it will automatically update your game to use the new version. You no longer have to do a full scene refresh to update changed, in-game textures.

LightingSystemEditor Code Changes

Two new members on the LightingSystemEditor object give you more control of the editor: LaunchEditor() and GameHasFocus. The LaunchEditor() function allows you to manually open the editor at any time, instead of pressing the launch key. The GameHasFocus property works with the old EditorAttached property to help you write editor specific code; it tells you if your game window is currently in focus or if the editor window and its controls have focus. This is useful for custom movement code, which you would not want to be processed if you were typing in a textbox.

Many More

There are lots of other small updates as well: better responsiveness, stackable rollout panels, terrain editing, etc. Be sure to try out the new editor with the new SunBurn 1.3.2.


Posted 06-01-2010 2:12 PM by Ross "FiveSidedBarrel"

Comments

JohnK "bobthecbuilder" wrote re: SunBurn 1.3.2: The New Editor
on 06-01-2010 4:08 PM

Awesome blog Ross!

There are a ton of amazing new features in this release, but I think the tooltips and shortcut keys make an enormous impact in themselves.

dug diamond wrote re: SunBurn 1.3.2: The New Editor
on 06-01-2010 7:16 PM

what awesome timing on this release - just in time for my birthday on friday. thanks for the pressie - lol

Tom wrote re: SunBurn 1.3.2: The New Editor
on 06-01-2010 8:32 PM

I love the new Editor :) The new methods (like gamefocus etc.) will help combine the sunburn editor with my engine editor. (F11 option is downright amazing, I was sort of used to the odd way of starting the editor, but this is just that much easier)

I'll mail a screenshot of the first volume light implemented in our game (trailer will be released on June 10th)

gamoslk wrote re: SunBurn 1.3.2: The New Editor
on 06-02-2010 2:06 AM

Please add a terrain example to the example set.

JohnK "bobthecbuilder" wrote re: SunBurn 1.3.2: The New Editor
on 06-02-2010 3:21 AM

Hi gamoslk,

We included a sample terrain in the Custom Effects example.

Using the terrain is very easy and is nearly identical to using an xna Model: add a terrain item to the content project, in code load it into a MeshData object (similar to loading an xna Model), and pass the mesh into a new SceneObject.

Let me know if this helps!

dug diamond wrote re: SunBurn 1.3.2: The New Editor
on 06-02-2010 3:20 PM

thansk fot the terrain explanation - i was stumped on the process for a while :)

gamoslk wrote re: SunBurn 1.3.2: The New Editor
on 06-03-2010 5:27 AM

@Jhon Thanks. I didn't know that it was with the Custom Effects example :-D



Please login to post comments.