Another Game Editor update

Published September 24, 2007
Advertisement
Managed to do a load more work on the game editor this weekend. God-damn Java is a cool language. Managed to massively improve the UI AND add scripting support in just a few hours. Java SE 6 comes with Rhino for scripting.

I love it when editors have scripting (see Maya, 3ds Max, Blender for examples). In my game editor - every action that can be performed by the user can be replicated via scripting. I think this will be especially useful when adding undo/redo capability to the editor. Say the user moved a mesh in the scene (from [0,0,0] to [10,0,0]) - then the script to translate a node to position [10,0,0] is added to the redo stack, and the translate to [0,0,0] script can be added to the undo-stack. Not sure if this is the way other 3d editors do undo/redo stacks, but is seems sensible to be. Also means that the undo/redo stack can be saved with the file :D
Previous Entry Been too long!
0 likes 0 comments

Comments

Nobody has left a comment. You can be the first!
You must log in to join the conversation.
Don't have a GameDev.net account? Sign up!
Advertisement

Latest Entries

Been too long!

1066 views

Eclipse oh no :(

1146 views

New Eclipse

1003 views

3d engine

921 views

Coming along

1060 views

3d file formats

939 views

The name

980 views
Advertisement