Making Custom Animations on Frameless Blocks

Need help with any SMBX game-related issues? Ask your questions here.

Moderator: Userbase Moderators

cuB_e
Monty Mole
Monty Mole
Posts: 122
Joined: Fri Jun 03, 2016 1:17 pm
Pronouns: He/They
Contact:

Making Custom Animations on Frameless Blocks

Postby cuB_e » Thu Aug 12, 2021 1:01 am

Hiya! I was wondering if it's possible to make it so that, let's say I have a custom graphic with 4 frames of animation. And I want to put that onto something like block-408, which has no frames to it.

Is there anyway to make it so that the block animates? Or do I have to rely on blocks that already have animation to them?

Marioman2007
2025 Egg Hunter
2025 Egg Hunter
Posts: 547
Joined: Tue Aug 25, 2020 3:19 am
Flair: Dr. Bones
Pronouns: He/Him

Re: Making Custom Animations on Frameless Blocks

Postby Marioman2007 » Thu Aug 12, 2021 7:08 am

Bloxxerstudios wrote:
Thu Aug 12, 2021 1:01 am
Hiya! I was wondering if it's possible to make it so that, let's say I have a custom graphic with 4 frames of animation. And I want to put that onto something like block-408, which has no frames to it.

Is there anyway to make it so that the block animates? Or do I have to rely on blocks that already have animation to them?
https://docs.codehaus.moe/#/features/block-config

cuB_e
Monty Mole
Monty Mole
Posts: 122
Joined: Fri Jun 03, 2016 1:17 pm
Pronouns: He/They
Contact:

Re: Making Custom Animations on Frameless Blocks

Postby cuB_e » Thu Aug 12, 2021 1:31 pm

marioman2007 wrote:
Thu Aug 12, 2021 7:08 am
Bloxxerstudios wrote:
Thu Aug 12, 2021 1:01 am
Hiya! I was wondering if it's possible to make it so that, let's say I have a custom graphic with 4 frames of animation. And I want to put that onto something like block-408, which has no frames to it.

Is there anyway to make it so that the block animates? Or do I have to rely on blocks that already have animation to them?
https://docs.codehaus.moe/#/features/block-config
Thank you!

Added in 24 minutes 32 seconds:
marioman2007 wrote:
Thu Aug 12, 2021 7:08 am
Bloxxerstudios wrote:
Thu Aug 12, 2021 1:01 am
Hiya! I was wondering if it's possible to make it so that, let's say I have a custom graphic with 4 frames of animation. And I want to put that onto something like block-408, which has no frames to it.

Is there anyway to make it so that the block animates? Or do I have to rely on blocks that already have animation to them?
https://docs.codehaus.moe/#/features/block-config
Hey, I'm having another issue with this. Whenever I set a block to "customhurt = true", it has no effect. Despite the fact that something like "lava = true" works. Any reason for that?

Marioman2007
2025 Egg Hunter
2025 Egg Hunter
Posts: 547
Joined: Tue Aug 25, 2020 3:19 am
Flair: Dr. Bones
Pronouns: He/Him

Re: Making Custom Animations on Frameless Blocks

Postby Marioman2007 » Thu Aug 12, 2021 10:15 pm

You need to register your block in your list of harmful blocks.

cuB_e
Monty Mole
Monty Mole
Posts: 122
Joined: Fri Jun 03, 2016 1:17 pm
Pronouns: He/They
Contact:

Re: Making Custom Animations on Frameless Blocks

Postby cuB_e » Fri Aug 13, 2021 12:40 pm

marioman2007 wrote:
Thu Aug 12, 2021 10:15 pm
You need to register your block in your list of harmful blocks.
How do I do that?

Marioman2007
2025 Egg Hunter
2025 Egg Hunter
Posts: 547
Joined: Tue Aug 25, 2020 3:19 am
Flair: Dr. Bones
Pronouns: He/Him

Re: Making Custom Animations on Frameless Blocks

Postby Marioman2007 » Fri Aug 13, 2021 12:44 pm

Bloxxerstudios wrote:
Fri Aug 13, 2021 12:40 pm
marioman2007 wrote:
Thu Aug 12, 2021 10:15 pm
You need to register your block in your list of harmful blocks.
How do I do that?
IDK. I haven't tried it yet

cuB_e
Monty Mole
Monty Mole
Posts: 122
Joined: Fri Jun 03, 2016 1:17 pm
Pronouns: He/They
Contact:

Re: Making Custom Animations on Frameless Blocks

Postby cuB_e » Fri Aug 13, 2021 12:52 pm

marioman2007 wrote:
Fri Aug 13, 2021 12:44 pm
Bloxxerstudios wrote:
Fri Aug 13, 2021 12:40 pm
marioman2007 wrote:
Thu Aug 12, 2021 10:15 pm
You need to register your block in your list of harmful blocks.
How do I do that?
IDK. I haven't tried it yet
Well.
Shit.

MrDoubleA
Edward
Edward
Posts: 396
Joined: Mon Aug 20, 2018 7:02 am
Flair: How much munchers?

Re: Making Custom Animations on Frameless Blocks

Postby MrDoubleA » Thu Aug 19, 2021 8:53 pm

Bloxxerstudios wrote:
Fri Aug 13, 2021 12:40 pm
marioman2007 wrote:
Thu Aug 12, 2021 10:15 pm
You need to register your block in your list of harmful blocks.
How do I do that?
Don't, because that's not how you do it. Rather, harmful blocks must be done via custom block lua code. You can take a look at the harmful SMW hit block as a reference.


Return to “Help and Support”

Who is online

Users browsing this forum: No registered users and 1 guest

SMWCentralTalkhausMario Fan Games GalaxyKafukaMarioWikiSMBXEquipoEstelari