General discussion about Super Mario Bros. X.
Moderator: Userbase Moderators
|
|
|
|
-
higgorgao1new
- Koopa

- Posts: 17
- Joined: Wed Feb 12, 2020 2:59 pm
- Flair: Higgorgao1
- Pronouns: he/him
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:
 will turn into 
the graphics are different, but they act the same way, that's how the feature could work
|
|
|
|
|
|
|
|
|
-
DrMekar
- Eerie

- Posts: 781
- Joined: Sat Apr 08, 2017 7:16 am
- Flair: CUSTOM CHARACTER CREATOR
-
Contact:
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:
 will turn into 
the graphics are different, but they act the same way, that's how the feature could work
You can do that too in SMBX2.

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

- Posts: 236
- Joined: Thu Jul 18, 2019 10:28 pm
- Flair: wash your hands and stay at home
- Pronouns: he/him
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:
 will turn into 
the graphics are different, but they act the same way, that's how the feature could work
You can do that too in SMBX2.

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

- Posts: 17
- Joined: Wed Feb 12, 2020 2:59 pm
- Flair: Higgorgao1
- Pronouns: he/him
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:
 will turn into 
the graphics are different, but they act the same way, that's how the feature could work
You can do that too in SMBX2.

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

- Posts: 9865
- Joined: Mon Jan 20, 2014 12:58 pm
- Flair: Phoenix
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

- Posts: 781
- Joined: Sat Apr 08, 2017 7:16 am
- Flair: CUSTOM CHARACTER CREATOR
-
Contact:
Postby DrMekar » Sun Mar 22, 2020 7:43 am
Barely. Actually the only Lua is the Lua File of the Snifit.
|
|
|
|
|
|
|
|
|
-
Hoeloe
- Phanto

- Posts: 1465
- Joined: Sat Oct 03, 2015 6:18 pm
- Flair: The Codehaus Girl
- Pronouns: she/her
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”
Users browsing this forum: No registered users and 4 guests
|