Timo3681 wrote:How can i add new emenys, blocks etc.? How can i add more things like coins? If i make a level with a Boss, how can i add fireballs to a Boss?
The easiest way to go about this is by replacing existing npcs and blocks. There are 600ish blocks in the game so you won't run out of space with those. There's a tutorial on custom graphics here:
viewtopic.php?f=35&t=10507
Adding new npcs... becomes more of a possibility if you're willing to delve into Lunalua, SMBX2's scripting API.
If you don't want to learn coding for this, there are 7 coins in the game that are worth 1 coin, 2 worth 2 and 1 worth 20. If you need 7 or less different coins in your level, those will do.
For the fireball... it really depends on the behaviour you want from it. The fireballs spit by current bosses in the game just kinda fly in a direction and can be attached to a boss with a projectile generator. If you want any sort of AI that's not present in the base game, you'll need to code it in LunaLua.