Feature idea

General discussion about Super Mario Bros. X.

Moderator: Userbase Moderators

higgorgao1new
Koopa
Koopa
Posts: 17
Joined: Wed Feb 12, 2020 2:59 pm
Flair: Higgorgao1
Pronouns: he/him

Feature idea

Postby higgorgao1new » Sat Mar 21, 2020 7:22 pm

So, we all probably know about SMBX 38a, and there's this feature called “GFX expansion” which can be useful to some recolored sprites, instead of having a different block/NPC/background for each color
All we have to do is just put the sprite at the other side, and setting the sprite size correctly
Example:
Image will turn into Image
the graphics are different, but they act the same way, that's how the feature could work

DrMekar
Eerie
Eerie
Posts: 781
Joined: Sat Apr 08, 2017 7:16 am
Flair: CUSTOM CHARACTER CREATOR
Contact:

Re: Feature idea

Postby DrMekar » Sat Mar 21, 2020 9:46 pm

higgorgao1new wrote:
Sat Mar 21, 2020 7:22 pm
So, we all probably know about SMBX 38a, and there's this feature called “GFX expansion” which can be useful to some recolored sprites, instead of having a different block/NPC/background for each color
All we have to do is just put the sprite at the other side, and setting the sprite size correctly
Example:
Image will turn into Image
the graphics are different, but they act the same way, that's how the feature could work
You can do that too in SMBX2.

Image
Everyone of this Guys acts like a Blue Snifit.

https://youtu.be/-_Q1bglBjWM

(This Post was kinda Off Topic I know, though since I didn't understood your Point, it seemed fine.)

Chilly14
Snifit
Snifit
Posts: 236
Joined: Thu Jul 18, 2019 10:28 pm
Flair: wash your hands and stay at home
Pronouns: he/him

Re: Feature idea

Postby Chilly14 » Sat Mar 21, 2020 11:37 pm

DrMekar wrote:
Sat Mar 21, 2020 9:46 pm
higgorgao1new wrote:
Sat Mar 21, 2020 7:22 pm
So, we all probably know about SMBX 38a, and there's this feature called “GFX expansion” which can be useful to some recolored sprites, instead of having a different block/NPC/background for each color
All we have to do is just put the sprite at the other side, and setting the sprite size correctly
Example:
Image will turn into Image
the graphics are different, but they act the same way, that's how the feature could work
You can do that too in SMBX2.

Image
Everyone of this Guys acts like a Blue Snifit.

https://youtu.be/-_Q1bglBjWM

(This Post was kinda Off Topic I know, though since I didn't understood your Point, it seemed fine.)
With Lua or...?

higgorgao1new
Koopa
Koopa
Posts: 17
Joined: Wed Feb 12, 2020 2:59 pm
Flair: Higgorgao1
Pronouns: he/him

Re: Feature idea

Postby higgorgao1new » Sun Mar 22, 2020 6:51 am

Chilly14 wrote:
Sat Mar 21, 2020 11:37 pm
DrMekar wrote:
Sat Mar 21, 2020 9:46 pm
higgorgao1new wrote:
Sat Mar 21, 2020 7:22 pm
So, we all probably know about SMBX 38a, and there's this feature called “GFX expansion” which can be useful to some recolored sprites, instead of having a different block/NPC/background for each color
All we have to do is just put the sprite at the other side, and setting the sprite size correctly
Example:
Image will turn into Image
the graphics are different, but they act the same way, that's how the feature could work
You can do that too in SMBX2.

Image
Everyone of this Guys acts like a Blue Snifit.

https://youtu.be/-_Q1bglBjWM

(This Post was kinda Off Topic I know, though since I didn't understood your Point, it seemed fine.)
With Lua or...?
I think without Lua, I will try

I think with Lua

Emral
Cute Yoshi Egg
Cute Yoshi Egg
Posts: 9865
Joined: Mon Jan 20, 2014 12:58 pm
Flair: Phoenix

Re: Feature idea

Postby Emral » Sun Mar 22, 2020 7:09 am

Variant sprites (gfx expansion is a terrible name) are on the roadmap. They're tricky to implement in a basegame context. For per-episode or per-level, using them boils down to using Graphics.drawImageToSceneWP() with the correct arguments to draw the NPC sprites manually an offset them horizontally by their variant ID.

DrMekar
Eerie
Eerie
Posts: 781
Joined: Sat Apr 08, 2017 7:16 am
Flair: CUSTOM CHARACTER CREATOR
Contact:

Re: Feature idea

Postby DrMekar » Sun Mar 22, 2020 7:43 am

higgorgao1new wrote:
Sun Mar 22, 2020 7:03 am
I think with Lua
Barely. Actually the only Lua is the Lua File of the Snifit.

Hoeloe
Phanto
Phanto
Posts: 1465
Joined: Sat Oct 03, 2015 6:18 pm
Flair: The Codehaus Girl
Pronouns: she/her

Re: Feature idea

Postby Hoeloe » Mon Mar 23, 2020 11:44 am

Enjl wrote:
Sun Mar 22, 2020 7:09 am
Variant sprites (gfx expansion is a terrible name) are on the roadmap. They're tricky to implement in a basegame context. For per-episode or per-level, using them boils down to using Graphics.drawImageToSceneWP() with the correct arguments to draw the NPC sprites manually an offset them horizontally by their variant ID.
There's also the discussion on how best to actually implement them. I'm an advocate for separate image files for each alt gfx, which would allow for easier copying of custom graphics. Perhaps we could consider some hybrid, where either is supported, prioritizing one of them...


Return to “General”

Who is online

Users browsing this forum: No registered users and 2 guests

SMWCentralTalkhausMario Fan Games GalaxyKafukaMarioWikiSMBXEquipoEstelari