Please help! Custom Tileset problem!

  • 28 Replies
  • 11317 Views
*

Offline GFA101

  • 22
  • 0
    • View Profile
Please help! Custom Tileset problem!
« on: December 07, 2012, 23:09:37 »
Help! I created my very own Custom Tileset, but I have a problem with the transparency! All the other Tilesets have a transparent background, and so does mine, but it comes out all black in the editor! Please help!  :sad:


*

Offline sergiocornaga

  • 1286
  • 131
    • View Profile
    • Sergio's Games
Re: Please help! Custom Tileset problem!
« Reply #1 on: December 07, 2012, 23:24:06 »
I'm guessing that's because your tileset is an 8-bit PNG, a format Knytt Stories typically doesn't get on well with. If so, the solution would be to convert it to a 24-bit PNG with a full alpha channel. Also, only the top left corner tile should be fully transparent.

*

Offline GFA101

  • 22
  • 0
    • View Profile
Re: Please help! Custom Tileset problem!
« Reply #2 on: December 07, 2012, 23:59:08 »
Thanks, but what do you mean by "Full Transparent"? Do you mean lower the transparency level?

*

Offline LPChip

  • You can only truly help other people by allowing them to fail.
  • 3510
  • 138
  • Excel at the thing you're the best at!
    • View Profile
    • LPChip Interactive
Re: Please help! Custom Tileset problem!
« Reply #3 on: December 08, 2012, 00:48:08 »
fully transparent means: the entire tile cannot have any pixels other than transparency.
on the left, above my avatar.

MODPlug Central Forum
"If I tried to kill you, I'd end up with a big fat hole through my laptop." - Chironex

*

Offline GFA101

  • 22
  • 0
    • View Profile
Re: Please help! Custom Tileset problem!
« Reply #4 on: December 08, 2012, 01:22:18 »
Ugh, sorry, I tried all the things you guys said, but it still did not work. :(

*

Offline Healy

  • 352
  • 50
    • View Profile
Re: Please help! Custom Tileset problem!
« Reply #5 on: December 08, 2012, 01:39:15 »
Are you using Paint.net? You might have to save it as a 32-bit png.

*

Offline GFA101

  • 22
  • 0
    • View Profile
Re: Please help! Custom Tileset problem!
« Reply #6 on: December 08, 2012, 03:58:47 »
Though I CAN'T save it as 32 bit, I'm using it Windows XP And it isn't there. Well, I guess I'll just use the tilesets that are already there...

*

Offline Firecat

  • 370
  • 52
  • Every bit is important.
    • View Profile
Re: Please help! Custom Tileset problem!
« Reply #7 on: December 08, 2012, 04:24:34 »
One last resort would be to apply a magenta background that, if the image really isn't transparent, the game will remove automatically.
There's 110011 kinds of people in the world. Those who understand binary, Those who don't, and those who confuse it with ASCII.

*

Offline LPChip

  • You can only truly help other people by allowing them to fail.
  • 3510
  • 138
  • Excel at the thing you're the best at!
    • View Profile
    • LPChip Interactive
Re: Please help! Custom Tileset problem!
« Reply #8 on: December 08, 2012, 12:16:18 »
Weird. I used paint.net in the past to make my tilesets, so it should work.

Are you using the latest version of paint.net?
on the left, above my avatar.

MODPlug Central Forum
"If I tried to kill you, I'd end up with a big fat hole through my laptop." - Chironex

*

Offline GFA101

  • 22
  • 0
    • View Profile
Re: Please help! Custom Tileset problem!
« Reply #9 on: December 08, 2012, 16:50:25 »
Yes sir! I am using the latest version of Paint.NET. I wonder if it has to do with my operating system.

*

Offline LPChip

  • You can only truly help other people by allowing them to fail.
  • 3510
  • 138
  • Excel at the thing you're the best at!
    • View Profile
    • LPChip Interactive
Re: Please help! Custom Tileset problem!
« Reply #10 on: December 08, 2012, 17:45:42 »
Google gave me this:

http://forum.worldweaver.com/showthread.php?8518-Paint-NET-and-Transparent-PNGs

If you miss the 32-bit one, you might need a plugin for paint.net to allow saving as 32-bit png. I remember that I installed such plugin myself.
on the left, above my avatar.

MODPlug Central Forum
"If I tried to kill you, I'd end up with a big fat hole through my laptop." - Chironex

*

Offline GFA101

  • 22
  • 0
    • View Profile
Re: Please help! Custom Tileset problem!
« Reply #11 on: December 08, 2012, 20:49:44 »
Oh, thank you so much everyone! It worked! Thanks guys! Now I can continue making my first level! Take your stars!  8D  C)p C)p C)p C)p
EDIT: Though I have just ONE last problem. Since I can't turn it on 0 transparency, I still have a problem: Look carefully, it sorta darkens the background around the object. :(
« Last Edit: December 08, 2012, 21:24:00 by GFA101 »

*

Offline LPChip

  • You can only truly help other people by allowing them to fail.
  • 3510
  • 138
  • Excel at the thing you're the best at!
    • View Profile
    • LPChip Interactive
Re: Please help! Custom Tileset problem!
« Reply #12 on: December 08, 2012, 22:03:24 »
Thats weird, you should be able to use full transparancy. Just make sure you delete everything that is supposed to be transparent.
on the left, above my avatar.

MODPlug Central Forum
"If I tried to kill you, I'd end up with a big fat hole through my laptop." - Chironex

Re: Please help! Custom Tileset problem!
« Reply #13 on: December 09, 2012, 00:01:10 »
Use tileset0 as your base template and draw everything on top of it. Then, start erasing the blue-ish background colors (I use magic wand selection) and save your tileset as png. If you know how your graphics program work then you should try creating new layers (because its already transparent) and merge them once you're done drawing your tiles.


I started doing some of your tiles as an example, the black tileset should be transparent now.

*

Offline GFA101

  • 22
  • 0
    • View Profile
Re: Please help! Custom Tileset problem!
« Reply #14 on: December 09, 2012, 00:24:39 »
Use tileset0 as your base template and draw everything on top of it. Then, start erasing the blue-ish background colors (I use magic wand selection) and save your tileset as png. If you know how your graphics program work then you should try creating new layers (because its already transparent) and merge them once you're done drawing your tiles.


I started doing some of your tiles as an example, the black tileset should be transparent now.

I tried that, I tried literally everything. I tried laying your black blocks and it worked! It did not darken the background, but then when I tried doing the same thing, it just did not work. Thanks for your help guys, but I give up.  :sad: