CustomGraphicsEngine: Samples for pictures and masks

Discuss Chaos Strikes Back for Windows and Linux, an unofficial port of Chaos Strikes Back to PC by Paul Stevens, as well as CSBuild, an associated dungeon editor.

Moderator: Zyx

Forum rules
Please read the Forum rules and policies before posting.
Post Reply
User avatar
Zyx
DSA Master
Posts: 2592
Joined: Mon Jun 05, 2000 1:53 pm
Location: in the mind
Contact:

CustomGraphicsEngine: Samples for pictures and masks

Post by Zyx »

This is the picture for the floor:
Image

Those are the masks:

Code: Select all

--------------------------
| 0  | 4  | 6  | 5  | 1  |
|    |    |    |    |    |
--------------------------
| 2  | 7  | 9  | 8  | 3  |
|    |    |    |    |    |
--------------------------
| 10 | 12 | 14 | 13 | 11 |
|    |    |    |    |    |
--------------------------
     | 15 | 17 | 16 |
     |    |    |    |
     ----------------
     | 18 | 20 | 19 |
     |    | P  |    |
     ----------------
Image Image Image Image Image

Image Image Image

Image Image Image

Image Image Image

(I may have made some small mistakes)
Note also that some locations are not used: the masks at distance 4 (0,4,6,5,1) and the walls on the far sides (2,3,10,11).

When transforming the masks to .bin files, you have to precise their coordinates: where should they be aplied on the floor picture, and where should the result mask + floor picture should be displayed on the viewport.
User avatar
Paul Stevens
CSBwin Guru
Posts: 4318
Joined: Sun Apr 08, 2001 6:00 pm
Location: Madison, Wisconsin, USA

Post by Paul Stevens »

For the sake of time and space these masks could be
made smaller. There should not be any horizontal white
lines at the top or the bottom and there should never
be more than 15 vertical white lines on the sides.

I may add a check and a warning for that.
Post Reply

Return to “Chaos Strikes Back for Windows & Linux (CSBWin) / CSBuild”