How do you extend the size of blocks?

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

Moderator: Userbase Moderators

Cloth Pocket
Chain Chomp
Chain Chomp
Posts: 310
Joined: Mon Aug 04, 2014 2:42 pm

How do you extend the size of blocks?

Postby Cloth Pocket » Wed Nov 19, 2014 1:12 pm

I am sure it is possible to resize blocks, can someone just tell me if it is and how
you do it? :)
Thanks!

Marina
Cecil
Cecil
Posts: 2381
Joined: Sun May 25, 2014 7:01 am
Flair: everything's still romantic, right?
Pronouns: she/her/they/them

Re: How do you extend the size of blocks?

Postby Marina » Wed Nov 19, 2014 1:25 pm

Well, there is the easy way, by just using PGE. It automatically resizes blocks according to their gfx dimensions.

Then there is the harder way, if you refuse to use PGE (for whatever reason):

If you have a level that contains the block you want to resize, find out the coordinates of the block in the level.

Then go to your level folder and open the .lvl file with the text editor. Then search for the coordinates of your block inside the text.

Below the coordinates it should say

32
32

if your block is 1x1 block wide. The first number stands for the x dimensions and the second one for the y dimensions. Edit those numbers and voilà you changed the block size.

It is important that you do save your level in the editor before doing so and after you edit the txt DO NOT save your level in the editor. Instead, refresh it, and your block should have it's new size.

Valtteri
Birdo
Birdo
Posts: 2150
Joined: Sun Dec 01, 2013 1:16 pm

Re: How do you extend the size of blocks?

Postby Valtteri » Wed Nov 19, 2014 2:23 pm

Also, if you want a block to use the same size as another block that's in SMBX by default, you can use the block swap feature to "borrow" dimensions from other blocks. For example, if you want a 32x32 slope to be 32 pixels wide and 64 pixels high, you can place a vertical pipe piece (block-23 for example) and then use the Block Swap in the Debugger to swap it with the slope with the modified graphic. You can replace block-299, which is a 32x32 SMW grass slope, with a 32x64 slope graphic and then change every block's ID that's 23 to 299 and they will keep the dimensions of block-23 and use the graphic and properties of block-299.

HeroLinik
Larry Koopa
Larry Koopa
Posts: 3464
Joined: Fri Dec 20, 2013 1:28 pm
Contact:

Re: How do you extend the size of blocks?

Postby HeroLinik » Wed Nov 19, 2014 2:33 pm


Cloth Pocket
Chain Chomp
Chain Chomp
Posts: 310
Joined: Mon Aug 04, 2014 2:42 pm

Re: How do you extend the size of blocks?

Postby Cloth Pocket » Thu Nov 20, 2014 2:27 am

Thanks everyone! Just have one question, the block that I been trying to resize is the SMW
question mark block, I have managed to resize the actual block, but I don't know how to make it
so when you hit the question mark block, it would change into a different block. What happens now is
the 64x32 question mark block changes into a 32x32 block when hit.

Squishy Rex
Tellah
Tellah
Posts: 1986
Joined: Sat Dec 21, 2013 4:30 am
Pronouns: he/him
Contact:

Re: How do you extend the size of blocks?

Postby Squishy Rex » Thu Nov 20, 2014 6:00 am

Blocks that are interacted with like ? Blocks will change back to their default size after being hit. It's not something that can be fixed as far as I'm aware.

underFlo
Wart
Wart
Posts: 4456
Joined: Mon Jul 14, 2014 10:44 am
Flair: sup im lesbiab
Pronouns: They/She
Contact:

Re: How do you extend the size of blocks?

Postby underFlo » Thu Nov 20, 2014 7:51 am

Squishy Rex wrote:Blocks that are interacted with like ? Blocks will change back to their default size after being hit. It's not something that can be fixed as far as I'm aware.
Couldn't you also resize the SMW Hit Block? Only thing that wouldn't quite work out would be the coin effect.

h2643
Reznor
Reznor
Posts: 2890
Joined: Sat Dec 21, 2013 7:23 am
Contact:

Re: How do you extend the size of blocks?

Postby h2643 » Thu Nov 20, 2014 8:03 am

Nickname wrote:Couldn't you also resize the SMW Hit Block? Only thing that wouldn't quite work out would be the coin effect.
I'm pretty sure that won't work (if you mean the graphic), because the hit(ted) block will be resized to its original sizes. The only thing you can do about this is to set a hidden big used ? Block on a New Layer and hide it, and when the big ? Block will be hit(ted) (it must be on another layer too), make that used ? block to appear and the ? block to hide (events). Not sure if this will work honestly, too. If you wanna try, use PGE.

underFlo
Wart
Wart
Posts: 4456
Joined: Mon Jul 14, 2014 10:44 am
Flair: sup im lesbiab
Pronouns: They/She
Contact:

Re: How do you extend the size of blocks?

Postby underFlo » Thu Nov 20, 2014 8:08 am

h2643 wrote:
Nickname wrote:Couldn't you also resize the SMW Hit Block? Only thing that wouldn't quite work out would be the coin effect.
I'm pretty sure that won't work, because the hit(ted) block will be resized to its original sizes. The only thing you can do about this is to set a hidden big used ? Block on a New Layer and hide it, and when the big ? Block will be hit(ted) (it must be on another layer too), make that used ? block to appear and the ? block to hide (events). Not sure if this will work honestly, too. If you wanna try, use PGE.
You're right, oops.
Events would probably work though.

*King_Boo*
Hoopster
Hoopster
Posts: 48
Joined: Tue Jun 17, 2014 12:53 pm
Contact:

Re: How do you extend the size of blocks?

Postby *King_Boo* » Fri Nov 21, 2014 10:21 am

Couldn't you just use the giant ? block? I know it's the smb3 version, but would that make to much of a difference?

h2643
Reznor
Reznor
Posts: 2890
Joined: Sat Dec 21, 2013 7:23 am
Contact:

Re: How do you extend the size of blocks?

Postby h2643 » Sat Nov 22, 2014 5:12 am

You could set custom graphic to that, so it won't look like SMB3. And what if he wants to make a block with size more than 64x64?

Veudekato
Guest

Re: How do you extend the size of blocks?

Postby Veudekato » Sun Nov 23, 2014 4:46 am

Well, you should use PlatGEnWohl if you want t resize block.


http://www.youtube.com/watch?v=bGk7lmmmjP4


Return to “Help and Support”

Who is online

Users browsing this forum: No registered users and 1 guest

SMWCentralTalkhausMario Fan Games GalaxyKafukaMarioWikiSMBXEquipoEstelari