From gif file to png file bug aka m file disappearance

Description: Subforum dedicated to SMBX-38A - a fan-made remake of the original SMBX Engine, made by 5438A38A.
Forum rules: This is official Europan/American community for the SMBX-38A. Suggested to don't post stuff for this engine outside this subforum.
Moderators: Yoshi021, Lx Xzit, 5438A38A, Semi-moderatos, Moderators

Bulletbill510 M
Topic author, Good citizen
Good citizen
Bulletbill510 M
Topic author, Good citizen
Good citizen
Age: 21
Reputation: 6
Posts: 22
Joined: 17 May 2017

Post #1by Bulletbill510 » 26 Jun 2018, 3:33

I was going to make a custom level using some graphics but something bad keeps happening to them when I'm trying to make my level.

Bottom Picture aka Picture #1: Here is what I did before the bug happened, everything seems normal in the level folder at first.
Note: These are NOT my custom graphics, so credit goes to original owners.

Middle Picture aka Picture #2: Notice how one of the slopes (The one to the right of the fire flower) got transparent, I do not know how that happened but I don't think this has never happened before.

Top Picture aka Pic #3: I open up my level folder and all of the graphics have been turned from gif files into png files and all of the m files have disappeared too. I do not know what is causing this bug but if you know what is causing it, then that would be great to know.
Attachments
bug pic 1 after.PNG
6-25-2018_20h20m13s791ms.png
bug pic 1 before.PNG
Feel free to visit my Youtube channel! Bulletbill510 :)

Lx Xzit M
Moderator
Moderator
Avatar
Lx Xzit M
Moderator
Moderator
Reputation: 256
Posts: 588
Joined: 9 Nov 2015
Website

Post #2by Lx Xzit » 26 Jun 2018, 3:58

This is not a bug. If you see the blocks transparents in because the mask wasn't completely black (SMBX calculates the transparency of the object depending on how much near is the color to the black). In your sprites didn't had a proper mask, as you shown in third screen its mask is basically the same file but without black backgroound. SMBX also removes the mask and make the images be png-only
VISIT MY YOUTUBE CHANNEL! LX XZIT
Join our 38A Discord server!

Image

Bulletbill510 M
Topic author, Good citizen
Good citizen
Bulletbill510 M
Topic author, Good citizen
Good citizen
Age: 21
Reputation: 6
Posts: 22
Joined: 17 May 2017

Post #3by Bulletbill510 » 27 Jun 2018, 4:41

Oh, I see, then I guess I should probably find a better graphics pack next time without having that transparency issue, and I guess I don't really need that transparent slope in my level really.
Feel free to visit my Youtube channel! Bulletbill510 :)

Wohlstand M
Lead Developer
Lead Developer
Avatar
Wohlstand M
Lead Developer
Lead Developer
Age: 27
Reputation: 385
Posts: 1420
Joined: 15 Feb 2014
Location: Moscow, Russia
Website Skype YouTube

Post #4by Wohlstand » 1 Jul 2018, 10:54

You can use PGE's GIFs2PNG converter which you can apply to your graphics before to open your level in SMBX-38A. The algorithm of front+mask merge in GIFs2PNG is much more accurate and it had three reworks to get the current state.

RocketRacoon14 M
Nice citizen
Nice citizen
Avatar
RocketRacoon14 M
Nice citizen
Nice citizen
Age: 13
Reputation: -3
Posts: 17
Joined: 23 Jun 2018
Location: A house with a Door

Post #5by RocketRacoon14 » 5 Aug 2018, 1:28

this seems to me more an advantage than an error or bug xD
Can not you understand my English?
"cough" ... "cough" .. google translator "cough" ..
You can contact me in Spanish if you speak Spanish.

I'm working on my episode: SUPER MARIO EPIC.
I will give information on a specific topic when I advance more.


Return to “Super Mario Bros. X by 38A (SMBX-38A)”

Who is online (over the past 5 minutes)

Users browsing this forum: 18 guests