⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 readme.txt

📁 游戏开发数据结构Data Structures for Game Programmers
💻 TXT
字号:
===============================================================================
Data Structures For Game Programmers
Ron Penton
Graphical Demonstration 23-4
===============================================================================
This demonstration shows you how an A* pathfinder works.

- 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 the "Go!" button to start the pathfinding.
- Click the Faster or Slower buttons to make the pathfinder search faster or
  slower.
- When the pathfinder completes, the path will be highlighted in red.
- Click the Clear button to clear the path once it is complete.

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -