Register FAQ Search Today's Posts Mark Forums Read
Go Back   JazzJackrabbit Community Forums » Open Forums » JCS & Scripting

Transparent tiles...

TUN3R TUN3R's Avatar

JCF Member

Joined: Aug 2009

Posts: 31

TUN3R is notorious for his worthless posts

Dec 12, 2010, 03:34 AM
TUN3R is offline
Reply With Quote
Transparent tiles...

Does JJ2 support them? And if yes... how can I draw 'em?
Toni Toni's Avatar

JCF Member

Joined: Dec 2009

Posts: 396

Toni should make better posts

Dec 12, 2010, 04:00 AM
Toni is offline
Reply With Quote
well you can draw them, but it's easier if you click right click on the tile what you want to be translucent (when you make the tileset), then type > translucent. Also it is possible if you press 'T' when your mouse is on tile in the tileset, and click on Translucent and ok.
__________________
TUN3R TUN3R's Avatar

JCF Member

Joined: Aug 2009

Posts: 31

TUN3R is notorious for his worthless posts

Dec 12, 2010, 05:08 AM
TUN3R is offline
Reply With Quote
Quote:
Originally Posted by Toni View Post
well you can draw them, but it's easier if you click right click on the tile what you want to be translucent (when you make the tileset), then type > translucent. Also it is possible if you press 'T' when your mouse is on tile in the tileset, and click on Translucent and ok.
Cool, thanks.
Seren Seren's Avatar

JCF Member

Joined: Feb 2010

Posts: 864

Seren is a name known to allSeren is a name known to allSeren is a name known to allSeren is a name known to allSeren is a name known to allSeren is a name known to all

Dec 12, 2010, 05:19 AM
Seren is offline
Reply With Quote
I won't talk about what JJ2 supports, because people (Violet) keep finding out that it does some pretty weird and unexpected things. JCS tileset compiler anyway, supports only 0% and 100% transparency. The only way to make something partially transparent is the "Translucent" type of tile (the transparency is about 40% then, to make it lower you can use other layers and you can't make it higher). Also, take a note that the Translucent tiles still use only the existing palette entries.

This is one of the things which keeps the tiles graphics impossible to make perfect and as a tileset maker you will have to deal with this. The others are: palette, tiles limit and layers limit.
__________________

I am an official JJ2+ programmer and this has been an official JJ2+ statement.
TUN3R TUN3R's Avatar

JCF Member

Joined: Aug 2009

Posts: 31

TUN3R is notorious for his worthless posts

Dec 12, 2010, 05:25 AM
TUN3R is offline
Reply With Quote
Quote:
Originally Posted by Sir Ementaler View Post
I won't talk about what JJ2 supports, because people (Violet) keep finding out that it does some pretty weird and unexpected things. JCS tileset compiler anyway, supports only 0% and 100% transparency. The only way to make something partially transparent is the "Translucent" type of tile (the transparency is about 40% then, to make it lower you can use other layers and you can't make it higher). Also, take a note that the Translucent tiles still use only the existing palette entries.

This is one of the things which keeps the tiles graphics impossible to make perfect and as a tileset maker you will have to deal with this. The others are: palette, tiles limit and layers limit.
Only way I know of making the tiles somewhat transparent is by making them... how should I say... kinda' like a chess table (1st color 100% transparent, 2nd color 0% transparent, or the opposite).

Speaking of palettes, happen to know how I can apply the palette to an image in Paint.NET?
Seren Seren's Avatar

JCF Member

Joined: Feb 2010

Posts: 864

Seren is a name known to allSeren is a name known to allSeren is a name known to allSeren is a name known to allSeren is a name known to allSeren is a name known to all

Dec 12, 2010, 05:57 AM
Seren is offline
Reply With Quote
Quote:
Originally Posted by TUN3R View Post
Only way I know of making the tiles somewhat transparent is by making them... how should I say... kinda' like a chess table (1st color 100% transparent, 2nd color 0% transparent, or the opposite).
True, but this never looks really well, especially in case of more detailed things (like sprites) behind it. Sucks even more when the transparent thing is supposed to have a shape itself. Even using that built-in "Translucent" option is a smarter thing to do.

Quote:
Originally Posted by TUN3R View Post
Speaking of palettes, happen to know how I can apply the palette to an image in Paint.NET?
As I'm not using the Paint.net, the only thing I can suggest is to download TilesetPal instead, since it's a tool made specifically for JJ2 tilesets and so it's the easiest in use color reduction program for them. Do whatever you want though.
__________________

I am an official JJ2+ programmer and this has been an official JJ2+ statement.
TUN3R TUN3R's Avatar

JCF Member

Joined: Aug 2009

Posts: 31

TUN3R is notorious for his worthless posts

Dec 12, 2010, 08:31 AM
TUN3R is offline
Reply With Quote
Quote:
Originally Posted by Sir Ementaler View Post
True, but this never looks really well, especially in case of more detailed things (like sprites) behind it. Sucks even more when the transparent thing is supposed to have a shape itself. Even using that built-in "Translucent" option is a smarter thing to do.


As I'm not using the Paint.net, the only thing I can suggest is to download TilesetPal instead, since it's a tool made specifically for JJ2 tilesets and so it's the easiest in use color reduction program for them. Do whatever you want though.
Already have it :P IDK what exactly it does tho.

By the way can't seem to find that translucent option.
Obi1mcd Obi1mcd's Avatar

JCF Member

Joined: Feb 2010

Posts: 692

Obi1mcd is OFF DA CHARTObi1mcd is OFF DA CHARTObi1mcd is OFF DA CHART

Dec 12, 2010, 10:01 PM
Obi1mcd is offline
Reply With Quote
TilesetPal reduces an image from 24-bit to 8-bit. It does it pretty well, too.

And for the translucent option, hold your mouse over a tile in the tileset viewer and press the T button. Then you can set it to translucent. Keep in mind that it affects the tile wherever you use it in the level.
__________________
Define 'normal'.
Violet CLM Violet CLM's Avatar

JCF Éminence Grise

Joined: Mar 2001

Posts: 10,986

Violet CLM has disabled reputation

Dec 13, 2010, 01:49 AM
Violet CLM is offline
Reply With Quote
Quote:
Originally Posted by Sir Ementaler View Post
I won't talk about what JJ2 supports, because people (Violet) keep finding out that it does some pretty weird and unexpected things.
Warm and fuzzy as I feel reading that, don't expect any changes on that front. Tile transparency masks (whether a given pixel is opaque or not) are stored basically as bits, so there's no room for any in-between values, and transparent is one tile type out of potentially several but stored in a single byte (the only other working option being Caption), so that can't plausibly be stored as a scale.
__________________
TUN3R TUN3R's Avatar

JCF Member

Joined: Aug 2009

Posts: 31

TUN3R is notorious for his worthless posts

Dec 13, 2010, 04:10 AM
TUN3R is offline
Reply With Quote
Quote:
Originally Posted by Unknown Rabbit View Post
Warm and fuzzy as I feel reading that, don't expect any changes on that front. Tile transparency masks (whether a given pixel is opaque or not) are stored basically as bits, so there's no room for any in-between values, and transparent is one tile type out of potentially several but stored in a single byte (the only other working option being Caption), so that can't plausibly be stored as a scale.
Ok... what?
Seren Seren's Avatar

JCF Member

Joined: Feb 2010

Posts: 864

Seren is a name known to allSeren is a name known to allSeren is a name known to allSeren is a name known to allSeren is a name known to allSeren is a name known to all

Dec 13, 2010, 04:40 AM
Seren is offline
Reply With Quote
Quote:
Originally Posted by Obi1mcd View Post
And for the translucent option, hold your mouse over a tile in the tileset viewer and press the T button. Then you can set it to translucent. Keep in mind that it affects the tile wherever you use it in the level.
I recommend to not get used to pressing the T button, or it'll be pain if you'll be ever using Prismatic Palace or something else needing much Translucent tiles. Shift+T sets the tile to Translucent without unnecessary additional windows.

Quote:
Originally Posted by TUN3R View Post
Ok... what?
He said that JJ2 doesn't support partial transparency other than Translucent tile type.
__________________

I am an official JJ2+ programmer and this has been an official JJ2+ statement.
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On

Forum Jump

All times are GMT -8. The time now is 01:36 PM.