Creating custom blocks of any size

General discussion about Super Mario Bros. X.

Moderator: Userbase Moderators

Ness-Wednesday
Purple Yoshi Egg
Purple Yoshi Egg
Posts: 1639
Joined: Sun Jun 28, 2015 3:50 pm
Flair: Diverse Scouts
Pronouns: He/Him

Re: Creating custom blocks of any size

Postby Ness-Wednesday » Thu Sep 24, 2015 1:30 pm

This is helpful!
I'll be trying this out in some of my future projects and levels. ;)

Willhart
Banned
Posts: 368
Joined: Thu Apr 10, 2014 2:18 am

Re: Creating custom blocks of any size

Postby Willhart » Thu Sep 24, 2015 6:09 pm

This is super easy to do on the PGE btw. Just place the large block graphics to the level folder, with the name of the block you want to replace. The Wohl-editor will place them with the size of the new graphic. I've used this a lot for making 64x64 size tilesets for example, and placing them is a lot easier than having to write them into the level file manually.

Drachenbauer
Tweeter
Tweeter
Posts: 174
Joined: Sun Sep 13, 2015 3:24 pm

Re: Creating custom blocks of any size

Postby Drachenbauer » Sat Sep 26, 2015 5:00 pm

in the tester of PGE the block stays big after been hitted, but in the game it still shrinks back into it´s normal size.

OffensiveLemon
Spiny
Spiny
Posts: 28
Joined: Wed May 31, 2017 9:27 pm

Re: Creating custom blocks of any size

Postby OffensiveLemon » Thu Jun 01, 2017 11:05 am

I can't seem to change the aesthetics, only the slope size. Par example, if I have block-305, and I change it to function like block-306, it functions like 306 but still looks like 305. How do I remedy this? Do I need to use custom graphics? Note that I do not want to use PGE for this.

The0x539
Eerie
Eerie
Posts: 751
Joined: Fri Jan 22, 2016 8:02 pm

Re: Creating custom blocks of any size

Postby The0x539 » Thu Jun 01, 2017 2:37 pm

OffensiveLemon wrote:I can't seem to change the aesthetics, only the slope size. Par example, if I have block-305, and I change it to function like block-306, it functions like 306 but still looks like 305. How do I remedy this? Do I need to use custom graphics? Note that I do not want to use PGE for this.
Image
PGE's by far the easiest way to do any of this...

TDK
Foo
Foo
Posts: 1440
Joined: Wed Nov 11, 2015 12:26 pm
Flair: Retired

Re: Creating custom blocks of any size

Postby TDK » Thu Jun 01, 2017 2:53 pm

OffensiveLemon wrote:I can't seem to change the aesthetics, only the slope size. Par example, if I have block-305, and I change it to function like block-306, it functions like 306 but still looks like 305. How do I remedy this? Do I need to use custom graphics? Note that I do not want to use PGE for this.
Yes you do need CGFX. Now if you were using PGE that would be it.
However since you don't want to, you would need to follow the instruction in the OP.

OffensiveLemon
Spiny
Spiny
Posts: 28
Joined: Wed May 31, 2017 9:27 pm

Re: Creating custom blocks of any size

Postby OffensiveLemon » Thu Jun 01, 2017 3:51 pm

TheDinoKing wrote:
OffensiveLemon wrote:I can't seem to change the aesthetics, only the slope size. Par example, if I have block-305, and I change it to function like block-306, it functions like 306 but still looks like 305. How do I remedy this? Do I need to use custom graphics? Note that I do not want to use PGE for this.
Yes you do need CGFX. Now if you were using PGE that would be it.
However since you don't want to, you would need to follow the instruction in the OP.
Actually, PGE now seems appealing. Perhaps it didn't before because I had literally no idea what it was... :lol:
Last edited by OffensiveLemon on Fri Jun 02, 2017 9:11 pm, edited 1 time in total.

TDK
Foo
Foo
Posts: 1440
Joined: Wed Nov 11, 2015 12:26 pm
Flair: Retired

Re: Creating custom blocks of any size

Postby TDK » Thu Jun 01, 2017 4:02 pm

OffensiveLemon wrote:
TheDinoKing wrote:
OffensiveLemon wrote:I can't seem to change the aesthetics, only the slope size. Par example, if I have block-305, and I change it to function like block-306, it functions like 306 but still looks like 305. How do I remedy this? Do I need to use custom graphics? Note that I do not want to use PGE for this.
Yes you do need CGFX. Now if you were using PGE that would be it.
However since you don't want to, you would need to follow the instruction in the OP.
Actually, PGE now seems appealing. Perhaps it didn't before because I had literally no idea what is was... :lol:
PGE is an alternate editor. It has many advantages such as an undo button.
It comes with SMBX 2.0.

OffensiveLemon
Spiny
Spiny
Posts: 28
Joined: Wed May 31, 2017 9:27 pm

Re: Creating custom blocks of any size

Postby OffensiveLemon » Thu Jun 01, 2017 4:43 pm

So... I tried out PGE, but my custom block (#359 with an altered slope) doesn't work in the SMBX player, only PGE. What did I do? There are no graphical changes and the slope is 32px*32px instead of the intended 32px*64px. Note that I did try it in the SMBX editor (without saving before testing) before testing in the editor.

Wohlstand
Van De Graf
Van De Graf
Posts: 2008
Joined: Tue Feb 11, 2014 4:44 pm
Flair: [ˈvoːlˌʃtant], 狐エンジニア
Pronouns: he/him
Contact:

Re: Creating custom blocks of any size

Postby Wohlstand » Thu Jun 01, 2017 5:00 pm

OffensiveLemon wrote:So... I tried out PGE, but my custom block (#359 with an altered slope) doesn't work in the SMBX player, only PGE. What did I do? There are no graphical changes and the slope is 32px*32px instead of the intended 32px*64px. Note that I did try it in the SMBX editor (without saving before testing) before testing in the editor.
You must place that block in PGE Editor directly, or a small workaround:
- select all blocks
- move them into any position
- move them back (don't do "undo")
- save level
and then retry

OffensiveLemon
Spiny
Spiny
Posts: 28
Joined: Wed May 31, 2017 9:27 pm

Re: Creating custom blocks of any size

Postby OffensiveLemon » Thu Jun 01, 2017 5:08 pm

Actually, I just realized I saved the images as PNGs.

TDK
Foo
Foo
Posts: 1440
Joined: Wed Nov 11, 2015 12:26 pm
Flair: Retired

Re: Creating custom blocks of any size

Postby TDK » Thu Jun 01, 2017 5:09 pm

OffensiveLemon wrote:Actually, I just realized I saved the images as PNGs.
PNG should work if you're using any version higher than 1.3.0.1.

OffensiveLemon
Spiny
Spiny
Posts: 28
Joined: Wed May 31, 2017 9:27 pm

Re: Creating custom blocks of any size

Postby OffensiveLemon » Thu Jun 01, 2017 5:17 pm

Okay, so everything should be working... except my image is half the size it should be (16*32 instead of 32*64), and still functions like a 32*32 slope.
Last edited by OffensiveLemon on Fri Jun 02, 2017 9:12 pm, edited 1 time in total.

TDK
Foo
Foo
Posts: 1440
Joined: Wed Nov 11, 2015 12:26 pm
Flair: Retired

Re: Creating custom blocks of any size

Postby TDK » Thu Jun 01, 2017 5:19 pm

OffensiveLemon wrote:Okay so everything should be working... except my image is half the size it should be (16*32 instead of 32*64), and still functions like a 32*32 slope.
Are you placing the slopes in PGE or the SMBX editor?

OffensiveLemon
Spiny
Spiny
Posts: 28
Joined: Wed May 31, 2017 9:27 pm

Re: Creating custom blocks of any size

Postby OffensiveLemon » Thu Jun 01, 2017 6:01 pm

PGE.

OffensiveLemon
Spiny
Spiny
Posts: 28
Joined: Wed May 31, 2017 9:27 pm

Re: Creating custom blocks of any size

Postby OffensiveLemon » Fri Jun 02, 2017 8:34 pm

Aaaand now it works for some reason.

Now I can make a Snifit-based gun turret of some sort. Yay.


Return to “General”

Who is online

Users browsing this forum: mjj04e and 4 guests

SMWCentralTalkhausMario Fan Games GalaxyKafukaMarioWikiSMBXEquipoEstelari