At 9/27/12 01:36 AM, 4urentertainment wrote:
Also, to Glaiel, where you working on Closure full time or were you in college or something?
Dropped out of college in 2010 to work on it full time when we got funding (from the behemoth actually, woo newgrounds)
At 9/27/12 01:26 PM, 23450 wrote:
Just for curiosity, what was the closure editor like? Did you build it yourself form scratch, or are their tools out there that you can plug in for certain tasks? While I don't see myself jumping into C++ anytime soon, having the correct tools at hand will be important when I have time to move onto something like C# or java.
I coded pretty much everything in closure 100% from scratch except for box2D, which I still ended up having to edit the source for it to get it to work right with bitmap physics.
The editor sucks. Its actually accessible in the steam build of the game just go set the flag for it in the config file and copy resources over into the /mods folder (there's a readme for it there).
There's about 3 different "editors" included in closure, and within those there's a few sub editors. Animation editor, sprite editor, level editor
Animation makes you input a PNG, then you define how many frames of animation on there, and how they're arranged (4x5 grid of frames, 18 frames total), and how much time to spend on each frame (with a little bar graph you can edit). There's a sub-editor here where you can place hotspots on each frame of animation (a.k.a. in the hands of all the "holding orb" animations for characters, and a few other ones), hotspots are referenced in the game code to attach objects together or just get points from the animation.
Sprite is a list of animations in a specific order, and dimensions of the sprite. This was wrong dimensions should have been part of the animation, but too bad by the time i realized that that was wrong it was too late to change it.
Level editor had 4 modes to it, collision editor, object editor, decorations editor, and properties editor.
Almost all main actions are done with hotkeys. Object editor has a selection menu though which I added when I ran out of hotkeys for objects. You can make a turret by placing a spotlight then hitting "t" while the spotlight is selected to set its turret flag.
Its a pretty nonintuitive editor, but since I made it myself I was able to add fixes to it all the time to clear up annoyances I had with it, and it ended up being really really efficient to work with for us in the end.