Is there a way to (Officially) create "Custom Powerups" in 1.4.3 or in 2.0?

Need help with any SMBX game-related issues? Ask your questions here.
User avatar
sannu42
Cheep-Cheep
Cheep-Cheep
Posts: 18
Joined: Sun Feb 21, 2016 8:35 am
Current Project: Mario Forever n' Ever

Is there a way to (Officially) create "Custom Powerups" in 1.4.3 or in 2.0?

Postby sannu42 » Sat Oct 08, 2016 12:05 pm

I'm working on a project, and i'd like to know if theres a way to create Custom Powerups in 1.4.3 or 2.0 of SMBX. Like, for example, the new powerup allows you to shoot a beam, sort of like the Link powerup that allows you to do that, and it can be used for other characters too. I have an idea for a powerup , and i havean't found anything relating to "Custom powerups" in SMBX. I hope you answer my question,
Image
Current Project : Mario Forever n' Ever

PixelPest
Link
Link
Posts: 7116
Joined: Sun Jul 12, 2015 5:38 pm
Flair: Tamer of Boom Booms
Current Project: Boom Boom Evolution
Chat Username: PixelPest
Contact:

Re: Is there a way to (Officially) create "Custom Powerups" in 1.4.3 or in 2.0?

Postby PixelPest » Sat Oct 08, 2016 1:03 pm

I don't know what you mean by officially, but it's possible. For 2.0, you'd have to code it through LunaLua. At this point, it would be easiest to code it over another power-up (get rid of all of the effects of the original power-up and work with that player state) or the much more difficult way (it is possible though) is to code a power-up that uses a current power-up state without overwriting the current effects. (I tried to do that at one point for the Blue Shell, but it was pretty tough.) At some point, 2.0's power-up array will be extended and have many more power-ups. You could also try overwriting the 8th power-up state which is a weird, glitchy placeholder. In terms of 1.4, I don't use it but I would assume you can overwrite a state, however it's code editor is much more limited so I'm not sure you could add another power-up without overwriting one

User avatar
sannu42
Cheep-Cheep
Cheep-Cheep
Posts: 18
Joined: Sun Feb 21, 2016 8:35 am
Current Project: Mario Forever n' Ever

Re: Is there a way to (Officially) create "Custom Powerups" in 1.4.3 or in 2.0?

Postby sannu42 » Sun Oct 09, 2016 6:28 am

PixelPest wrote:I don't know what you mean by officially, but it's possible. For 2.0, you'd have to code it through LunaLua. At this point, it would be easiest to code it over another power-up (get rid of all of the effects of the original power-up and work with that player state) or the much more difficult way (it is possible though) is to code a power-up that uses a current power-up state without overwriting the current effects. (I tried to do that at one point for the Blue Shell, but it was pretty tough.) At some point, 2.0's power-up array will be extended and have many more power-ups. You could also try overwriting the 8th power-up state which is a weird, glitchy placeholder. In terms of 1.4, I don't use it but I would assume you can overwrite a state, however it's code editor is much more limited so I'm not sure you could add another power-up without overwriting one
Interesting, i'll have to look up a tutorial on that. :)
Image
Current Project : Mario Forever n' Ever

User avatar
timocomsmbx2345
Ninji
Ninji
Posts: 826
Joined: Sat Feb 06, 2016 1:44 pm
Current Project: i dont even know anymore. . . .
Chat Username: same as my username
Contact:

Re: Is there a way to (Officially) create "Custom Powerups" in 1.4.3 or in 2.0?

Postby timocomsmbx2345 » Sun Oct 09, 2016 12:33 pm

well i wish that's possible
SMBX 2.0 β4 is here!!! How about 2.0 β5?
ImageImage
Image
Meepyglobix wrote:DON'T SAY "38A??". OR I'll SHOOT YOU.
Spoiler: show
Image Thanks Pixelpest!!!!
Image
Image

PixelPest
Link
Link
Posts: 7116
Joined: Sun Jul 12, 2015 5:38 pm
Flair: Tamer of Boom Booms
Current Project: Boom Boom Evolution
Chat Username: PixelPest
Contact:

Re: Is there a way to (Officially) create "Custom Powerups" in 1.4.3 or in 2.0?

Postby PixelPest » Mon Oct 10, 2016 8:35 pm

timocomsmbx2345 wrote:well i wish that's possible
I just said that it was...

User avatar
lighthouse64
Mouser
Mouser
Posts: 1820
Joined: Sat Apr 26, 2014 6:28 am
Current Project: Soundtrack stuff

Re: Is there a way to (Officially) create "Custom Powerups" in 1.4.3 or in 2.0?

Postby lighthouse64 » Wed Oct 12, 2016 4:19 pm

PixelPest wrote:
timocomsmbx2345 wrote:well i wish that's possible
I just said that it was...
Yeah, it's possible through lunalua.
Just your average user...

Oh, and sometimes I arrange stuff like this :P https://www.noteflight.com/scores/view/ ... 25261b1a11

User avatar
timocomsmbx2345
Ninji
Ninji
Posts: 826
Joined: Sat Feb 06, 2016 1:44 pm
Current Project: i dont even know anymore. . . .
Chat Username: same as my username
Contact:

Re: Is there a way to (Officially) create "Custom Powerups" in 1.4.3 or in 2.0?

Postby timocomsmbx2345 » Fri Oct 14, 2016 10:39 am

PixelPest wrote:
timocomsmbx2345 wrote:well i wish that's possible
I just said that it was...
So you have to copy & paste any npc code that's not in PGE & replace a dummy npc with that power-up?
Or you have to write the codes by yourself?
SMBX 2.0 β4 is here!!! How about 2.0 β5?
ImageImage
Image
Meepyglobix wrote:DON'T SAY "38A??". OR I'll SHOOT YOU.
Spoiler: show
Image Thanks Pixelpest!!!!
Image
Image

TheNoobGoomba
Shy Guy
Shy Guy
Posts: 8
Joined: Sat Apr 22, 2017 8:01 am
Chat Username: _NoobGoomba_

Re: Is there a way to (Officially) create "Custom Powerups" in 1.4.3 or in 2.0?

Postby TheNoobGoomba » Sun Sep 24, 2017 8:41 am

PixelPest wrote:I don't know what you mean by officially, but it's possible. For 2.0, you'd have to code it through LunaLua. At this point, it would be easiest to code it over another power-up (get rid of all of the effects of the original power-up and work with that player state) or the much more difficult way (it is possible though) is to code a power-up that uses a current power-up state without overwriting the current effects. (I tried to do that at one point for the Blue Shell, but it was pretty tough.) At some point, 2.0's power-up array will be extended and have many more power-ups. You could also try overwriting the 8th power-up state which is a weird, glitchy placeholder. In terms of 1.4, I don't use it but I would assume you can overwrite a state, however it's code editor is much more limited so I'm not sure you could add another power-up without overwriting one
well that stinks since i dont really know how to code unless there is a special software that helps you code it

PixelPest
Link
Link
Posts: 7116
Joined: Sun Jul 12, 2015 5:38 pm
Flair: Tamer of Boom Booms
Current Project: Boom Boom Evolution
Chat Username: PixelPest
Contact:

Re: Is there a way to (Officially) create "Custom Powerups" in 1.4.3 or in 2.0?

Postby PixelPest » Sun Sep 24, 2017 8:58 am

You can learn LunaLua; it isn't too difficult and allows you to do amazing stuff. There's really no way around it though


Return to “Help and Support”

Who is online

Users browsing this forum: No registered users and 24 guests