Be a Supporter!

GimmickGimmick

Main News Movies Games Art Favorites Reviews Stats 84 Fans
Follow Gimmick
Gimmick
  • Add Friend
Age / Gender:
16, Unspecified
Location:
Somewhere
Joined:
8/20/08
All Stats >

User Statshot

Community Stats
Level 27 Programmer
Silver Whistle
Ranked as General

Contact Info / Websites

Latest News


Update as of 5:56 AM, 11/21/2014: I've not forgotten this project! A lot of progress has occurred in this so far, although that could be due to feature creep, since this project is technically 'finished' :v


So for a few days I've been working on a little hitboxing tool after I saw a post in the flash forum by @PsychoZombii requesting any hitboxing tools. There weren't many apart from Hitboxer, and I saw it as a challenge.

What is a "hitboxing tool"? 

A hitboxing tool is basically an application that allows you to draw hitboxes on any spritesheets that you import, and exports the resulting hitboxes in some file. The one I'm working on has the option of exporting it to XML.

That's really basically it. Sounds simple and yes it is. (Edit: ...although feature creep is slowly, um, creeping in...)


Features so far:

  1. Import spritesheets and split them up into rectangles (frames)
  2. Add/remove hitboxes
  3. Export to XML
  4. Preview animation and step through frames
  5. S̶o̶m̶e̶ ̶s̶o̶r̶t̶ ̶o̶f̶ ̶a̶ ̶u̶s̶e̶r̶ ̶i̶n̶t̶e̶r̶f̶a̶c̶e̶  Well it's become better now; I've skinned the buttons to be flat instead of the default beveled style because it's simple and I'm no artist. I may make skins available for that sort of thing if users prefer it in the future, though.
  6. Scroll wheel zoom
  7. Better XML support -- mostly backend stuff that will make it easier in the long run.
  8. Box tags and names. Tags are added as children of the <box> tag, rather than properties of the <box> tag so as to reduce clutter. Names are properties of the <box> tag itself, like so: <box name='foobar'>
  9. Namespaces in the output XML -- if the box tag has children, the property 'xsi:nil' is 'false'. If not, the tag ends with '/>' and has 'xsi:nil' set to 'true'.
  10. Timeline support -- I now have a layer system similar to Flash's layering system, with frames and all. I plan to include multiple layer support as part of the timeline and different nodes for different layers; this could be useful for creating multiple hitboxes for a character, say, for different levels or different 'upgrades' and so on -- use your imagination :p
  11. Ability to dock and undock windows on user input -- much like Flash's and general Adobe's stuff, integrating into the main window or docking into separate windows. Uses a Panel class and a custom NativeWindow class for that. Currently uses a boatload of event listeners, though; will possibly work on reducing that in the future.
  12. New! Negative framerates and backwards playback.
  13. And some other trivial stuff I don't remember.

Features planned:

  1. Refactoring (really really crappy and tightly coupled code right now)
  2. Resize the boxes after drawing them (seems strange to be able to add and remove them but not resize them)
  3. Upload many images instead of a large spritesheet
  4. Clipboard
  5. Native menus rather than a custom UI
  6. New! A pie menu (kinda like the one reminiscent in Autodesk Maya or so, idk)
  7. New! Autoboxing: Where you select a spritesheet and it automatically creates boxes based on the shape of the character
  8. New! Select individual rectangles instead of many rectangles of the same size (frame rects)
  9. New! Extensions (using a custom API or some other way, sounds exciting!)
  10. New! Timeline layering support (multiple layers for multiple situations for the same image)
  11. New! Custom skin support for user interface
  12. New! Import GIF files as well instead of a large spritesheet

And after I've completed most features I guess I might put up the project on Github if I feel like it. Suggest any other features you'd like to see!


Screenshots:

Main screen on 10/26/2014:first prototype
(image squashed to show lack of fluid layout in the application)

Main screen on 10/27/2014:second prototype
(image squashed again, but this time there's a fluid layout -- the sidebar doesn't shrink)

Editing screenshot as of 10/29/2014: (I didn't show the main screen since the panel on the right was removed; it was supposed to appear only while editing, so this is more of the actual application. Lookin' good if I may say so myself)third prototype
(fluid layout and checker backgrounds -- the trollface image was the quickest transparent image I could load, hah. The button marked "label" was supposed to be the button marked "apply changes", but I'll change that later.)


My exams have now mostly finished, just one (rather easy) exam left to go in about a week's time! In the meantime, I'm working on:

  • #11, Timeline layering support.
  • #5, Native menus rather than a custom UI. (Although I may offer an option of both if people want that) (Special note: This is a rather daunting task because there's so many options to be included. It's made really easy due to Adobe AIR, but there's still a bit left, say anywhere from 35% to 50% remaining)

Features Finished

  1. 10/26/2014 and prior -- Most of the basic stuff (features #1 to #5)
  2. 10/28/2014 -- Better XML support
  3. 11/03/2014 -- Box tags and names (updated on 11/05/2014)
  4. 11/20/2014 -- Ability to dock and undock windows
  5. 11/21/2014 -- Timeline support
  6. 11/26/2014 -- Negative framerates and backwards playback

Features partially / mostly completed

  1. #4, Clipboard
  2. #5, Native menus rather than a custom UI (well, both right now coexist and I'm not planning to remove that)
  3. #6, Pie menus
  4. #10, Timeline layering support

Recent Game Medals

Melee Duel 10 Points Destroy a white bot Medal Stats.
Parry 5 Points Parry an attack Medal Stats.
Being Dad 5 Points Destroy a bot Medal Stats.
SECRET MEDAL 5 Points Unlock this medal to see it's details. Medal Stats.
Happy Guy Fro 5 Points Don't be hatin'! Afros are hip, yo. Medal Stats.
Justice Served 5 Points Go get 'em, Officer Adrian! Medal Stats.
The Boss 5 Points IGP is the b055! Medal Stats.
Persistence 5 Points But there's something wrong! Medal Stats.
Lazy Developer 5 Points I SAID SORRY! Medal Stats.
LEVEL 4 10 Points Beat level 3! Medal Stats.


Total Medals Earned: 2,340 (From 448 different games.)

Latest Shared Creations

Lamp Added to pumpkins for Carve n' Share Jun 11, 2014. Load Level
My Pumpkin Added to pumpkins for Carve n' Share Jun 11, 2014. Load Level
Hmm, Added to pumpkins for Carve n' Share Feb 10, 2012. Load Level
Why Added to pumpkins for Carve n' Share Feb 10, 2012. Load Level
Are Added to pumpkins for Carve n' Share Feb 10, 2012. Load Level
You Added to pumpkins for Carve n' Share Feb 10, 2012. Load Level