Editing Effects

Need help with any SMBX game-related issues? Ask your questions here.
Cognition
Bit
Bit
Posts: 79
Joined: Sun Oct 05, 2014 10:13 pm

Editing Effects

Postby Cognition » Mon Dec 19, 2022 11:51 am

I'm not sure what I am doing wrong, but the goomba that has multiple directions that I am working on doesn't seem to also have multiple directions apon death. I have it set for framestyle=1 and frames as 2, but it shows all 4 frames in grounds of 2. Here is the code.
Spoiler: show
[1]
import=AI_ARC
frames=2
framespeed=4
framestyle=1
Is there something elsewhere that I need to do? I am following the SMBX2 handbook.

deice
Buster Beetle
Buster Beetle
Posts: 441
Joined: Fri Jul 23, 2021 7:35 am

Re: Editing Effects

Postby deice » Mon Dec 19, 2022 1:59 pm

have you tried explicitly specifying the size of the sprite? if "grounds of 2" means that the effect is displaying 2 frames at a time with an incorrect height, it might mean the game forgot to take the framestyle into account when automatically calculating the frame size.

Enjl
Cute Yoshi Egg
Cute Yoshi Egg
Posts: 9491
Joined: Mon Jan 20, 2014 12:58 pm
Flair: Orphion Egamalenitar Osmos IV, Esq.

Re: Editing Effects

Postby Enjl » Mon Dec 19, 2022 9:04 pm

( Handbook is long deprecated by the docs https://docs.codehaus.moe/#/features/effect-config )

What is the effect's ID? IDs 1-161 cannot use effect config right now because they still use the 1.3 rendering.
I just noticed this information is missing from the docs page, so it should update momentarily.

Cognition
Bit
Bit
Posts: 79
Joined: Sun Oct 05, 2014 10:13 pm

Re: Editing Effects

Postby Cognition » Tue Dec 20, 2022 2:22 pm

The ID is 6 and 7 so it just wont work, and "instead" was meant to be the word, not "ground". Not sure how I let that slip. Sorry and thanks for the help.


Return to “Help and Support”

Who is online

Users browsing this forum: No registered users and 1 guest