Open Surge Forum

A fun 2D retro platformer inspired by Sonic games and a game creation system

You are not logged in.

Announcement

Our community has moved to Discord! https://discord.gg/w8JqM7m

#1 2010-07-25 20:16:26

JorgeRubira
Member
Registered: 2010-07-25
Posts: 9

Transparent image

Hello.

I'm designing a image and I can't show the transparent color. I tried pink and transparent color (png) but I run Open Sonic and it shows pink and black color. I use GIMP. I don't now why.

Please, some suggestion?

Last edited by JorgeRubira (2010-07-25 20:34:21)

Offline

#2 2010-07-25 20:18:54

Felicia_Val
Member
Registered: 2010-05-28
Posts: 100

Re: Transparent image

Try saving it in BMP instead of png, but depending on what you're modifying you'll have to modify the sprite.def file as well. And also if you have GIMP you can delete the background and make it transparent. Try that and save as png as well.

Offline

#3 2010-07-25 20:39:33

JorgeRubira
Member
Registered: 2010-07-25
Posts: 9

Re: Transparent image

BMP is ok!.

Thanks.

Offline

#4 2010-07-25 20:40:08

Alexandre
Administrator
From: Brazil
Registered: 2009-01-27
Posts: 3,300
Website

Re: Transparent image

Welcome, JorgeRubira smile

As Felicia_Val has said, saving your file as .bmp works.

If you're able to compile the game from the source code, please grab the latest revision from the SVN repository. This bug has been fixed already - and you will be able to use .png's

Offline

#5 2010-07-25 20:51:57

So-Nick
Member
From: Brasil
Registered: 2010-03-20
Posts: 608

Re: Transparent image

Alexandre wrote:

Welcome, JorgeRubira smile

As Felicia_Val has said, saving your file as .bmp works.

If you're able to compile the game from the source code, please grab the latest revision from the SVN repository. This bug has been fixed already - and you will be able to use .png's

OPEN SONC SUPORT .BMP FILES?


sonicknucklesemeraldsma.gif

Offline

#6 2010-07-25 21:04:53

JorgeRubira
Member
Registered: 2010-07-25
Posts: 9

Re: Transparent image

Thanks Alexandre.

For the moment, i'm going to finish my first "beta zone" and after i'll try to compile and change to PNG format. cool

As soon as i'll have something playable, i'll upload it. smile

Offline

#7 2010-07-27 03:47:52

SurgeChris
Member
From: Surabaya, Indonesia
Registered: 2010-04-25
Posts: 401

Re: Transparent image

JorgeRubira wrote:

Hello.

I'm designing a image and I can't show the transparent color. I tried pink and transparent color (png) but I run Open Sonic and it shows pink and black color. I use GIMP. I don't now why.

Please, some suggestion?

                        Last edited by JorgeRubira (Yesterday 04:34:21)

By the way, there is an alternative that requires Paint (won't work if you don't have Windows). Open the file with Paint and copy ALL of the picture to a new file. recolor the magenta to make sure it's right, then save it in the same .png format with the same name. After that, it should work (it always works for me).


Your teacher asks you. What to answer? Say this:
"I thought the teacher is supposed to know."

Offline

Board footer

Powered by FluxBB  hosted by tuxfamily.org