Page 1 of 1

custom Power ups

Posted: Sun Sep 04, 2022 2:54 pm
by pro_gamer_0234
can anyone help me with making a custom power up, I never made any custom power ups

Re: custom Power ups

Posted: Mon Sep 05, 2022 8:08 am
by Alucard648
Custom power-ups require replacing existent ones. And adding new one without replacing is impossible neither in current version of SMBX2, nor in future versions - Repidgit code is heavy jank.

Re: custom Power ups

Posted: Mon Sep 05, 2022 8:21 am
by deice
Alucard648 wrote:
Mon Sep 05, 2022 8:08 am
Custom power-ups require replacing existent ones. And adding new one without replacing is impossible neither in current version of SMBX2, nor in future versions - Repidgit code is heavy jank.
just for the record, if you were to forego trying to use the default powerup state system altogether and handle everything - from the logic to the manual drawing of player sprites - in your own code, it would at least theoretically be possible. however, given the scope of something like that, i'm going to warrant a guess that the OP of this thread doesn't have the necessary knowledge for it.

back on the main topic, there is the library anotherpowerup that lets you replace ice/fire flowers with custom powerups. it might be difficult to use if you have no lua experience at all however.