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 Masking in general


Masking in general

One of the final steps of making a tileset is doing the mask. If you don't save this for the end, then you'll have to update your mask each time your want to compile your tileset.

The mask is the part of the tileset which tells JJ2 what the player (and the enemies, etc...) can bump into and what they can walk past.

You do not need a mask if your tileset is very basic with tiles that are squares, triangles, and other smooth shapes. If you made a tileset like that, then you can use automask.

The simpleist way to make a mask is take your image file and save it to something like mytileset_mask.bmp in your jazz2\tiles directory. Then erase everything that you want the player to be able to walk through. By erase I mean color over with palette colors #0 and/or #1. Also you can draw onto it with any color except #0 and #1 to make smoother edges and corners for the player to walk on and even invisible-wall type stuff ;) The more rigid the edges are, the more of a chance that the player will get stuck in them (remember the spike in the earlier versions of JJ2? It was for a different reason, but you get the idea, eh?)

blasteria.gif
blasteria_mask.gif

What is brown in the bottom picture is what the player will be able to walk on because it is palette color 78 (Non-0 AND Non-1) - The player can walk through the white stuff because it is palette color 0 (and/or color 1).

Added on: 2 June 2001 14:52. Made by Ice M A N.