SMBX NPC Code Editor [Final Tiebreaker Vote]

General discussion about Super Mario Bros. X.

Which icon will be in the next version of the SMBX Episode Manager? (see first post for details)

Poll ended at Sat Oct 25, 2014 8:26 am

Wohlstand
3
38%
Luigifan2010 (the original, currently used one)
5
63%
 
Total votes: 8
User avatar
Axiom
Birdo
Birdo
Posts: 1486
Joined: Tue Dec 24, 2013 2:23 pm
Current Project: learning C through PSP game programming
Location: florida
Contact:

SMBX NPC Code Editor [Final Tiebreaker Vote]

Postby Axiom » Sat Mar 29, 2014 7:47 pm

Spoiler: show
(if you're here about the rules for the design the next icon contest, see this post: viewtopic.php?f=69&t=1842&start=70#p70450)


If you'd like to give me some feedback on the editor, click here

Image


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

Image
Image

Spoiler: show
Image Image


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.
Spoiler: show
Image

Downloads
Latest from GitHub
If you don't have it, .NET Framework 4.0: http://www.microsoft.com/en-us/download/details.aspx?id=17851

Changelogs
Initial Release: 1.0.0.0
-Basic UI with 3 groupboxes and a bunch of controls for enabling/disabling various NPC codes
-Supports opening, saving, save as, etc
-.NET 4.0
1.0.0.1
-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
1.0.0.2
-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.

1.1.0.0
-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

1.2.0.0
-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

1.3.0.0
-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

1.3.1.0
-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

1.4.0.0
-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
1.4.2.0
-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
1.4.2.1
-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.
1.4.2.2
-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
1.4.2.3
-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.
http://forums.smbxepisodes.tk/





Spoiler: show
Vote for the next icon for the SMBX Episode Manager!

At the top of this post is a poll, look through each of the entries and pick your favourite and submit! The one with the most votes will win and get their choice of how they want to be credited in my SMBX NPC Editor! If there is a tie, I will use each icon for a different size (which I may have to make modifications for)


And now, the entries (I'm going from latest to earliest)

Astronaut
Image

Wohlstand
Wohlstand has offered us multiple sizes, and an ICO file for you to download and look at all the variations of
Image
ICO: http://engine.wohlnet.ru/docs/Images/Icons/npc_editor/npcedit.ico

SnifitGuy
(it's a big one!)
[spoiler]Image


zernicalohd

Power-Up Binary Mushroom
Image

1-Up binary mushroom
Image

Luigifan2010

The original, for nostalgia's sake

Image[/spoiler]
Last edited by Axiom on Tue Aug 09, 2016 9:48 pm, edited 26 times in total.
Image

User avatar
moemoe02
Rex
Rex
Posts: 97
Joined: Thu Jan 23, 2014 4:23 pm
Location: Mario Kart Land

Re: [TOOL] SMBX NPC Editor (New!)

Postby moemoe02 » Sat Mar 29, 2014 8:49 pm

What's this? Instead of making a TXT file of the NPC, you can use this program? I can't believe when I was browsing the forum as a guest, and saw that you can like, adjust the height and width of the NPC and have it like, not fall or pass through it, I think this would be more useful for creating graphics! Im glad I saw this before I posted it! I will definitely be using this tool you made up! :D
PLEASE READ THIS:

Spoiler: show
1. I only let board administrators lock my topics, if you ask me if you wanna lock a topic made by me, PLEASE ASK
2. NO E-MAILING, only private message me


<bossedit8> WHAT IS WITH THESE DONUTS SERIOUSLY?

User avatar
Axiom
Birdo
Birdo
Posts: 1486
Joined: Tue Dec 24, 2013 2:23 pm
Current Project: learning C through PSP game programming
Location: florida
Contact:

Re: [TOOL] SMBX NPC Editor (New!)

Postby Axiom » Sat Mar 29, 2014 8:59 pm

moemoe02 wrote:What's this? Instead of making a TXT file of the NPC, you can use this program? I can't believe when I was browsing the forum as a guest, and saw that you can like, adjust the height and width of the NPC and have it like, not fall or pass through it, I think this would be more useful for creating graphics! Im glad I saw this before I posted it! I will definitely be using this tool you made up! :D


Haha yes, it makes the txt file for you to make things less confusing. But thank you thank you! And if you have any issues, suggestions, etc please leave them here and I'll work on adding them :)
Image

zlakergirl357
Ludwig von Koopa
Ludwig von Koopa
Posts: 2833
Joined: Fri Dec 20, 2013 1:46 pm

Re: [TOOL] SMBX NPC Editor (New!)

Postby zlakergirl357 » Sun Mar 30, 2014 2:08 am

So with his I can even make the NPC's speed like 1.2?
gone

User avatar
icez
Mega Mole
Mega Mole
Posts: 261
Joined: Fri Dec 20, 2013 7:21 pm
Current Project: Super Mario:The Rise of Darknesss
Location: The cold white north

Re: [TOOL] SMBX NPC Editor (New!)

Postby icez » Sun Mar 30, 2014 2:59 am

zlakerboy357 wrote:So with his I can even make the NPC's speed like 1.2?

I don't think, the whole issue with the decimals probably won't change. I think this is more something like a npc txt generator

User avatar
Mable
Peach
Peach
Posts: 5877
Joined: Sat Dec 21, 2013 4:23 am
Current Project: Unknown
Location: Pirate Ship/Vampire Castle
Chat Username: Chat Username
Contact:

Re: [TOOL] SMBX NPC Editor (New!)

Postby Mable » Sun Mar 30, 2014 4:57 am

TBH this one looks far better then the other one made by that guy who left a long time ago.
Image

User avatar
RudeGuy07
Luigi
Luigi
Posts: 4765
Joined: Fri Dec 27, 2013 7:36 am
Current Project: nothing
Location: idk
Chat Username: totally not rudeguy

Re: [TOOL] SMBX NPC Editor (New!)

Postby RudeGuy07 » Sun Mar 30, 2014 7:04 am

Finally something that generate NPC codes! This is better than write in a .txt.
im bored

User avatar
Wohlstand
Birdo
Birdo
Posts: 1570
Joined: Tue Feb 11, 2014 4:44 pm
Current Project: Platformer Game Engine project
Location: Moscow, Russia
Contact:

Re: [TOOL] SMBX NPC Editor (New!)

Postby Wohlstand » Sun Mar 30, 2014 7:55 am

Good job, Luigifan2010 ;)
but i found bugs, please, fix it:
- you forgot add "0" score, i tested it, it is disable the score adding on NPC kill/take:
Image Image

- you forgot about GFX Offset: it can using negative values, but you using only >=0.
Image Image

- make two decimals on speed multiplier (I found some versions with 0.00 decumals and tested it),
and don't forget to add support for negative value too:
Image Image
Don't forgot set increment as 0.1 instead 0.3, you can rotate mouse wheel with mouse over for fast change value ;-)

And, started from 0.0.3 my editor support to saving NPC, but not support creation of new (i will release it after create NPC dynamic config for using default NPC settings for making preview animation with using his degault settings), (use save and save As buttons, or Ctrl+S and Ctrl+Shift+S for write):
Saved file:
Image

Your tool is useful for simply and fast editing NPC configs. My editor is big program, and need for editing episodes/levels and NPC editor is small part of it. And your NPC configs tool will saving time, what editor using for itself loading.
Good job ;)

Don't forgot append me into "thanks", if you using my ideas, and I will add you, because I have idea to make Big Games Repo for my engine, and your Episode Manager is a great idea - finding and download/install interests games(Game dynamic configurations)/episodes(worlds) with one click into Episode managers, as Package manager for Linux, using for install interests programs into your system:
Image
but I will make it later.
Last edited by Wohlstand on Sun Mar 30, 2014 1:34 pm, edited 1 time in total.
"PGE Project, my Media and supported projects": show
Support me on the Patreon
Image

PGE Project
PGE Project SMBX Topic
PGE Project Official Site and forums
Download fresh experimental builds HERE!
LunaLua
LunaLUA - is a LUA scripting add-on for a LunaDLL

My Media:
My MIDI-music
Pure HQ Music Pack for SMBX
Pure HQ Sound Pack for SMBX
SMBX OPL Sound pack (Created with Yamaha OPL chip and MIDI files)
SMBX38A is here
SMBX-38A download, help and support HERE (SMBX-38A (a.k.a. 1.4.x) - is Chinese unofficial continuation of SMBX)

I'm support:
Image
Image
Image


Image
P.S. I don't like huge signatures which would be annoying, therefore I put huge content into spoilers

User avatar
Axiom
Birdo
Birdo
Posts: 1486
Joined: Tue Dec 24, 2013 2:23 pm
Current Project: learning C through PSP game programming
Location: florida
Contact:

Re: [TOOL] SMBX NPC Editor (New!)

Postby Axiom » Sun Mar 30, 2014 9:53 am

zlakerboy357 wrote:So with his I can even make the NPC's speed like 1.2?

You can set it to that and it will save like that HOWEVER, any previous issues with decimals and SMBX are not magically solved with this sadly

Wohlstand wrote:Good job, Luigifan2010 ;)
but i found bugs, please, fix it:
- you forgot add "0" score, i tested it, it is disable the score adding on NPC kill/take:
Image Image

Didn't know you could do 0 score; will fix that in the next update!
- you forgot about GFX Offset: it can using negative values, but you using only >=0.
Image Image

Will fix that too. Again, I didn't know you could do that

- make two decimals on speed multiplier (I found some versions with 0.00 decumals and tested it),
and don't forget to add support for negative value too:
Image Image
Don't forgot set increment as 0.1 instead 0.3, you can rotate mouse wheel with mouse over for fast change value ;-)

Again, I didn't know about the negative values for speed. However , I was a little weary about adding support for decimals because of all the problems people have had (I believe it is a simple cultural difference with the decimal character). I will fix all of this in the coming update
You tool is useful for simply and fast editing NPC configs. My editor is big program, and need for editing episodes/levels and NPC editor is small part of it. And your NPC configs tool will saving time, what editor using for itself loading.
Good job ;)

Thank you thank you ;) the whole purpose was for it to be quick and easy. There's always going to be those people that'll stick by the original SMBX even after your engine is released however so I figured the tool wouldn't be useless when yours was released.
Don't forgot append me into "thanks", if you using my ideas, and I will add you, because I have idea to make Big Games Repo for my engine, and your Episode Manager is a great idea - finding and download/install interests games(Game dynamic configurations)/episodes(worlds) with one click into Episode managers, as Package manager for Linux, using for install interests programs into your system:
Image
but I will make it later.

I will append you into the help>about document alongside all these other updates in time
As for this on Linux, I'm not sure how well that would work out. This uses the .NET Framework and I'm not sure how much of it I could rewrite in Mono/GTK C# I'll do some research when I have a day off from school. I am very excitedbfor your engine and everything you are doing ;)

Cheers

Mike
Image

User avatar
Axiom
Birdo
Birdo
Posts: 1486
Joined: Tue Dec 24, 2013 2:23 pm
Current Project: learning C through PSP game programming
Location: florida
Contact:

Re: [TOOL] SMBX NPC Editor (New!)

Postby Axiom » Sun Mar 30, 2014 5:32 pm

Just released the 1.1.0.0 Update guys, just use the same link as above to download it

1.1.0.0 Changelog wrote:-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


Frozen wrote:TBH this one looks far better then the other one made by that guy who left a long time ago.


What one are you talking about?
Image

User avatar
MECHDRAGON777
Pink Yoshi Egg
Pink Yoshi Egg
Posts: 5157
Joined: Fri Dec 20, 2013 6:40 pm
Current Project: http://www.supermariobrosx.org/forums/v ... 9&start=10
Location: Antarctica
Chat Username: 鬼人 正邪
Contact:

Re: [TOOL] SMBX NPC Editor (New!)

Postby MECHDRAGON777 » Mon Mar 31, 2014 1:34 am

Luigifan2010 wrote:Just released the 1.1.0.0 Update guys, just use the same link as above to download it

1.1.0.0 Changelog wrote:-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


Frozen wrote:TBH this one looks far better then the other one made by that guy who left a long time ago.


What one are you talking about?


Good to see that you are making good programs still, thank you!
List of People that can pronounce "Vilzriquathtor Seian" (Role Play): show

Fusion best time

Spoiler: show
Image
Image
Image

Image
Image
List of Animés I have watched.
Image
Spoiler: show
ImageImageImage
My episode is Image done!
Image

CC12: 30π% done
My hardest level beaten!
Spoiler: show

Support
Spoiler: show
Image
Image
Image
Image
Image
Image

Contests I am in right now
Spoiler: show
•MaGL III
•Structure Contest
•Haunted Contest

User avatar
Axiom
Birdo
Birdo
Posts: 1486
Joined: Tue Dec 24, 2013 2:23 pm
Current Project: learning C through PSP game programming
Location: florida
Contact:

Re: [TOOL] SMBX NPC Editor (New!)

Postby Axiom » Mon Mar 31, 2014 4:03 pm

MECHDRAGON777 wrote:Good to see that you are making good programs still, thank you!


Hey, you know what they say! Once a programmer, always a programmer ;)
Image

User avatar
Veudekato
Ripper II
Ripper II
Posts: 394
Joined: Tue Feb 18, 2014 8:14 am
Current Project: in progress
Location: Russia

Re: [TOOL] SMBX NPC Code Editor (New!)

Postby Veudekato » Tue Apr 01, 2014 4:20 am

This is my idea :) i want to creat this.... but you first. well ,good job!
My channel (news about PlatGEnWohl , PlatGEnWohl tutorials,LunaDll ,and SMBX tests):
http://www.youtube.com/channel/UC6h-42umT14iR1wa3VkOs3Q





Image






If you want to make full screenshot of your level (big screenshot - screen of whole section) , just tell me via PM!

User avatar
Wohlstand
Birdo
Birdo
Posts: 1570
Joined: Tue Feb 11, 2014 4:44 pm
Current Project: Platformer Game Engine project
Location: Moscow, Russia
Contact:

Re: [TOOL] SMBX NPC Code Editor (New!)

Postby Wohlstand » Tue Apr 01, 2014 10:10 am

Veudekato wrote:This is my idea :) i want to creat this.... but you first. well ,good job!

Veudekato, don't forget about that all of us independently have this idea, but not all decided to try to realize it.
"PGE Project, my Media and supported projects": show
Support me on the Patreon
Image

PGE Project
PGE Project SMBX Topic
PGE Project Official Site and forums
Download fresh experimental builds HERE!
LunaLua
LunaLUA - is a LUA scripting add-on for a LunaDLL

My Media:
My MIDI-music
Pure HQ Music Pack for SMBX
Pure HQ Sound Pack for SMBX
SMBX OPL Sound pack (Created with Yamaha OPL chip and MIDI files)
SMBX38A is here
SMBX-38A download, help and support HERE (SMBX-38A (a.k.a. 1.4.x) - is Chinese unofficial continuation of SMBX)

I'm support:
Image
Image
Image


Image
P.S. I don't like huge signatures which would be annoying, therefore I put huge content into spoilers

User avatar
Axiom
Birdo
Birdo
Posts: 1486
Joined: Tue Dec 24, 2013 2:23 pm
Current Project: learning C through PSP game programming
Location: florida
Contact:

Re: [TOOL] SMBX NPC Code Editor (New!)

Postby Axiom » Thu Apr 03, 2014 5:45 pm

Just released an update guys! And I'd like to throw a HUGE shoutout to GhostHawk for contributing the code used for what you'll see in the changelog. It was a great collaboration buddy :)

First, gawk at the updated UI:

Spoiler: show
Image


Second, the changelog

1.2.0.0 wrote:-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


You guys can use the existing download link to redownload or you can click here to download the update.
Image

User avatar
Keddy
Ripper II
Ripper II
Posts: 357
Joined: Sat Dec 21, 2013 6:56 pm
Current Project: Luigi and the Never-ending project
Location: ¡España!

Re: [TOOL] SMBX NPC Code Editor (New!)

Postby Keddy » Mon Apr 07, 2014 3:05 am

Now that's useful, a little preview window to see how the NPC will look; that'll definitely cut the time out of testing the NPC in SMBX. Now I see an actual use for this. Keep up le good work.
If my grammar ever seems bad, that's because me vale bien y bonito! :v
Image

User avatar
Yoshibrothers
Koopa Shell
Koopa Shell
Posts: 673
Joined: Mon Jan 13, 2014 6:45 am
Location: Ohio, USA

Re: [TOOL] SMBX NPC Code Editor (New!)

Postby Yoshibrothers » Mon Apr 07, 2014 6:03 am

Luigifan2010 wrote:Just released an update guys! And I'd like to throw a HUGE shoutout to GhostHawk for contributing the code used for what you'll see in the changelog. It was a great collaboration buddy :)

First, gawk at the updated UI:

Spoiler: show
Image

This makes npc editing and animation testing look a whole lot greater. Keep on your works.
Image
Image
Somebody should make a Shovel Knight playable over Link, pronto.

User avatar
Axiom
Birdo
Birdo
Posts: 1486
Joined: Tue Dec 24, 2013 2:23 pm
Current Project: learning C through PSP game programming
Location: florida
Contact:

Re: [TOOL] SMBX NPC Code Editor (New!)

Postby Axiom » Mon Apr 07, 2014 8:36 am

Dusk/Yoshibrothers™ wrote:
Luigifan2010 wrote:Just released an update guys! And I'd like to throw a HUGE shoutout to GhostHawk for contributing the code used for what you'll see in the changelog. It was a great collaboration buddy :)

First, gawk at the updated UI:

Spoiler: show
Image

This makes npc editing and animation testing look a whole lot greater. Keep on your works.


elitalianoverde wrote:Now that's useful, a little preview window to see how the NPC will look; that'll definitely cut the time out of testing the NPC in SMBX. Now I see an actual use for this. Keep up le good work.


Thanks guys, I will certainly keep this up ;)
Image

User avatar
wyldfox
Goomba
Goomba
Posts: 3
Joined: Sun Feb 02, 2014 1:02 pm
Current Project: A Furry's Adventure, Foxman, Stars Of Bowser 2 and 1 (SMBX)

Re: [TOOL] SMBX NPC Code Editor (New!)

Postby wyldfox » Sat Apr 19, 2014 3:51 pm

This looks so much better than my npc code editor that I done a couple years ago. Much easier to understand and read. Nice work.
My Channel: http://www.youtube.com/channel/UCT1vTzhVlZCxu3XBSaMp39A

SMBX Stars of Bowser Beta Playthrough (I co Commentate): http://www.youtube.com/playlist?list=PLD7CDC8457BF4543B
Note: The SMBX Playlist is not complete. The rest are in the uploads area of the channel. I should make fun of my friend with that.

User avatar
AKA.GywGod133
Goomba
Goomba
Posts: 1
Joined: Sun Apr 20, 2014 5:54 am

Re: [TOOL] SMBX NPC Code Editor (New!)

Postby AKA.GywGod133 » Sun Apr 20, 2014 6:23 am

wow NC :D


Return to “General”

Who is online

Users browsing this forum: No registered users and 15 guests