📄 readme.txt
字号:
===============================================================================
Data Structures For Game Programmers
Ron Penton
Game Demonstration 19-2
===============================================================================
This the map editor for the game in Game Demonstration 19-1
There are a few major sections of the demo:
- The map: this is the big area on the upper left side of the screen. It
represents the entire map
- The Minimap: this is the small area in the upper-left side of the screen. It
shows a 3x3 grid zoomed in at the mouse cursor.
- The buttons: These are between the minimap and the main map. You use them
to select a palette to draw from, or to delete a tile, item, or player.
- The palette: this is the area on the bottom left side of the screen. It shows
at most 8 tiles. Click on a tile from this palette to select it as the current
tile to draw
- The command area: On the bottom left there is a checkbox, a textbox, and two
buttons. The checkbox, when checked, will make every instance of the current
tile on the main map turn blue.
The textbox holds the name of the file you are working on. Click Save to save
the map to that file, or Load to load a map from that file
- To draw, just click your mouse on the main map after you have selected your
desired tile, and drag the mouse where you want to draw.
- There are four layers on this map:
- base layer
- overlay layer
- item layer
- person layer
The editor seamlessly combines the layers for you, so you can't draw overlay
tiles on the base, or players on the item layer.
When deleting tiles, the deltile button will only delete an overlay tile; the
base tiles will always remain on the map and cannot be deleted.
This map editor is different from the map editors in Game Demonstrations 9-2 and
15-2. This map editor uses the direction-table map format. Therefore, the map
starts off with an initially blank map, where every cell is dark grey.
These maps use a different tileset, with stone and dirt, instead of grass, snow
and road.
Additionally, since rooms can now be non-existant, you have an extra delete button:
Delete Base. This button will make the mouse delete EVERYTHING where it draws, all
items, players, overlays, and the base tile. Since tiles with no base tile don't
exist, you cannot draw items, overlays or players on the grey cells.
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -