📄 readme.txt
字号:
===============================================================================
Data Structures For Game Programmers
Ron Penton
Graphical Demonstration 23-5
===============================================================================
This demonstration shows you how the four pathfinders compare to each other
- Move your mouse over the square where you want to place the starting point,
and press the S key on your keyboard.
- To place the goal on a square, press the G key on your keyboard.
- The box in the lower right corner of the screen shows you the current tile
that is selected. There are ten different tiles, ranging from white to black.
The 0-9 buttons on the keyboard select the current tile. White (0) tiles have
a weight of 1, almost-black (8) tiles have a weight of 9, and totally black (9)
tiles are walls that you cannot walk through. Once you select a tile to draw,
click your mouse on the map, and it will draw the tile on the map.
- Click one of the four pathfinder buttons to perform that search.
- The search area will be displayed in blue, and the path in red.
- Click the Clear button to clear the path once it is complete.
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -