Hey guys I'm back again. This time, I've coded a nice NPC editor for SMBX. This has to do with those custom NPC text files you find in episodes or make yourself. In this case, pictures speak louder than words so here's one
As you can see, I've got a test NPC of my own open. All coded in C# thanks to the .NET Framework 4.0. Supports all the custom NPC tag goodness, opening existing ones, etc. Everything you'd expect out of an NPC editor.
Now, I can't say this was 100% my idea; I got the idea from Wohlstand as the latest version of his engine includes an NPC viewer. It does not yet support saving. So I took a friday night and coded the reading capabilities and took today to write the UI and stuff.
Please note, this application does NOT auto update like my Episode Manager. Instead, you can check here every so often and compare your version found in Help>About (pictured below) to the current one in the changelog and re-download if necessary. Downloads
Latest from GitHub
If you don't have it, .NET Framework 4.0: http://www.microsoft.com/en-us/download ... x?id=17851
Initial Release: 22.214.171.124
-Basic UI with 3 groupboxes and a bunch of controls for enabling/disabling various NPC codes
-Supports opening, saving, save as, etc
-Fixed a bug where the "Don't Hurt" checkbox wouldn't be enabled
NOTE: I am not 100% sure if I'm going to release the source code yet so stay tuned!
Please leave any bugs you find, screenshots on other OS'es, etc below
-Increased the max value of the graphics height/width and physics height/width to 300. Any larger values being requested and I will change it.
-Adds support for the "0" score
-Adds support for negative GFX Offset values
-Adds support for a two-decimal place speed value (1.25 instead of 1.2)
-Adds the changelog form
-Removed the dialog asking if you wanted to quit, it was annoying and didn't work right
-Added support for drag/drop the NPC Text files onto the form
-Added support for animating an NPC (thanks a bunch GhostHawk!)
-Tries to automatically find the corresponding image in the same directory as .TXT
-Can edit how fast the NPC is animated with the "Frames Speed" checkbox
-Uncheck the check box to not have it write
-Can manually load an NPC file if needed
-Also shows the name of the NPC's gif file if loaded
-Added tooltips to explain each of the values. Hover your mouse over the label or box/numeric box/etc to see
-Updated the UI to reflect the Windows 7/8 Desktop guidelines (segoe ui 9pt, white background, etc)
-Added a config file that contains every single NPC in SMBX. Now, you can find out what NPC this replaces and in the future this will have more functionality
-Changed the way reading is handled. It looks alot nicer now
-You can now choose to enable or disable NPC Animation Pane if it's too wide for you
-Added support for Wohlstand's "NPC Name"
-Added Knux's forum and a license to the about box
-Cleans up after it exits
-Fixed a bug under Linux where apparently it can't load the config so it threw an eror whenever it tried to load something
-Added a check to see if you're running on Linux. If so, it'll warn you about NPC-Configs not working
-Fixed a bug where the application would ask you twice if you wanted to exit
-Fixed a bug where if you tried to open a file you already opened, you would get an AccessDenied error
-Fixed a bug where the "Changed SMBX Directory" would append "\graphics\npc" to the path (lolwut)
-Added a database (thanks to Wohl's configuration) of built in NPC's from SMBX
-Added warnings for when you try to animate and you don't have these values set (gfxheight, gfxwidth, frames)
-Tweaked the save as algorithm
-Implemented an algorithm that determines whether or not to use the default values or defined values for gfxheight, gfxwidth, or frames for the animator
-Implemented a status bar
-Changed the animator algorithm to use the "Graphics" Height/Width, which is the gfxheight and gfxwidth in game
-Changed the "SMBX Forums" link to the official program's forums
-Lots of minor tweaks and stuff to saving, loading, etc
-Fixed a bug where Windows 8 users had cutoff windows (ffs)
-Added a "clear" and "reflect sprite" button to the NPC Animation pane. Reflect sprite literally reflects, is just for previewing only
-Finally updated this changelog ffs
-Updated the About box too
-Fixed a bug where on Windows XP, the ini file would try to be read from the file your opening from's directory instead of the executables. (Thanks a bunch Wohlstand!)
-Added support for using Alt and letters to navigate the menus.
-Fixed a math error on my part in calculating framespeed
-New config menu won't show if it can't find the sprites folder with all the appropriate sprites in it
-Fixed yet ANOTHER math error pertaining to framespeed
-Fixed the ugly font used on the MainForm which shouldn't have happened but yet it did anyway so.
IF YOU NEED HELP
I'd seriously considering visiting the projects official forums for support and such. It's a community I setup for this purpose.