TopicsSearchIndexQuickTipHelp


JCSref
First time visiting the jcsref website? Check out the welcome page for information.

Browse through the latest news to see what's going on with JCS and level editing in general.

Take a look at this month's feature articles for some of our best content.

Been a while since your last visit? Find out what's new in the latest updates section.

What have people been talking about on the site? Find out in the latest comments section.

Get to know the staff members of jcsref and find out how to contact us.

Our links section is full of great JCS resources. If you can't find it here, you'll find it on one of the links.



Topics
Not really sure what you're looking for? Want to see what all jcsref has to offer? Check out our topics listing now! You can use the link above, the book icon up top, or the topics tab to the left.

Search
Do you know exactly what you're looking for? Are you trying to get information on several topics? Give our archive search a try! Use the link above, the magnifying glass icon up top, or the search tab on the left.

Index
Not sure on the spelling of your topic? Need to browse through some keywords to find what you want? Our site index is just what you're looking for! To go there now, use the link above, the papers icon up top, or the index tab to the left.
 Viewing node Gradients


Gradients

The objects in JJ2 use a selection of gradients in the tileset's palette. Gradients in the palette world are a set of colours accross which the first colour makes a smooth transition to the last. Typically JJ2 objects use the standard JJ2 colours situated in the palette entries from index 16 to index 95, and look like this:



There are a few JJ2 objects that use colours that lie outside this range. It was intended that these were only to be used with certain tilesets. Their palette indices are as follows.

Carrotus pole:96-103 greens, 104-111 trunk
Diamondus pole:96-111
Jungle pole:128-143
Psych pole:144-159
Small tree:96-111 trunk, 128-143 greens

Pinball 500 bump:

96-103 & 15 inner, 27 "500", 128-143 outer
Pinball carrot bump:112-119 & 24
Pinball paddles:96-103 & 15

Snow:

128-136 & 201


The tiles used in "Warp Horizon" backgrounds must only use the palette indices in the range 176 to 207. These colours must form a gradient from the first to the last index. When JJ2 is run in 8-bit mode, the "Warp Horizon" backgrounds will stretch into the distance, gradually fading to the last colour.


The beauty of JJ2 tilesets is that you may edit these colours however you like. One popular method is to to tint the standard colours to match the environment. Though this was not used in the official tilesets, I recommend it. One idea I have toyed with is to turn all the gradients backwards, giving a back-lit effect. One thing you should not do is make an uneven mess. It may look cool for a few seconds, but soon it just looks annoying.

You may find that Palette Suite will help you create the gradients you want.

Flash adds: Links updated.

Added on: 28 February 2003 21:53. Made by Toxic Bunny.