I put this mod in another mod but now this mod is big enough for it's own thread Customizable Goomba Mod!
With this mod you can customize goombas without knowing how to code!
You can do all sorts of cool stuff like this:
Making Goombas
First of all, you need to open the customgoomba folder in the Mari0 folder(Press o in the mod's title screen). There should be 4 things in the folder, customgoomba.txt, customgoomba.ogg, customgoomba.png, customgoombaicon.png. Changing goomba
Here is what is inside customgoomba.txt. You can change the values to whatever you want.
Changing Images
There should be two images in the folder, customgoomba.png and customgoombaicon.png.
Customgoomba.png is how the goomba looks ingame.
If you changed the frames then go back to goomba.txt and change these settings:
image.flip flips the image instead of going to the next frame.
image.framewidth is the width of the frames
image.frameheight is the height of the frames
image.facedirection makes the goomba face the direction it's going in.
image.offsetx is the x coordinate of the image
image.offsety is the y coordinate of the image
Customgoombaicon.png is how the goomba looks in the editor
Changing sound
To change the stomp sound change customgoomba.ogg in the customgoomba folder
Timer System
If you want to add event that happen after a certain time then use my awesome timer system!
Open customgoomba.txt
Since this is complicated to explain (It's simple to use though) I'll show you an example:
timer.system is how much time it takes to trigger events (in the example, you have to wait 100/100 seconds for the goomba to jump)
timer.events are the events that are triggered. Here is a full list
Since I'm horrifyingly bad at explaining simple things you can ask questions below, use the premade goombas as templates, or even ask me to make them for you.
Animated Screenies! (Gifs)
I made some entities from my mod, Alesan99's entities!
Superjustinbros wrote:*image*
I don't remember Barrels being that fast and able to kill other enemies.
At the cost of sounding rude, but I don't remember this mod being made to make behavior-perfect recreation of already existing entities.
It's made to customize goombas and make them do whatever you want.
You want to use it to recreate an enemy so faithful to the original that even the original coders couldn't tell the difference? Do it, but please stop pointing out every single time someonelse's creation doesn't, especially when maybe it wasn't supposed to in the first place.
Superjustinbros wrote:*image*
I don't remember Barrels being that fast and able to kill other enemies.
At the cost of sounding rude, but I don't remember this mod being made to make behavior-perfect recreation of already existing entities.
It's made to customize goombas and make them do whatever you want.
You want to use it to recreate an enemy so faithful to the original that even the original coders couldn't tell the difference? Do it, but please stop pointing out every single time someonelse's creation doesn't, especially when maybe it wasn't supposed to in the first place.
Okay guys, My sincere apologies. T_T Only now do I realize it's to show off that Goombas can be made to betray other enemies. I really need to improve on some of my poor habits.
If someone bumps a thread, it's good to remind them, but if enough time has passes that making a new post would bump the thread again, then it's generally not worth it.