我正在研究一个大学的compsci项目,我想要一些关于视野算法的帮助。我主要是工作,但在某些情况下,算法可以看到墙壁和高墙,玩家不应该看到。{ //Does line of sight from any particular tile
for(int y = 0; y < m_Width; y++) { }
dou
我使用了Libgdx来生成一个键盘字符的地牢。我已决定将数组打印为文本文件。
而且,它不一致我不明白怎么回事?我检查了我的算法,没有发现任何问题。public class test1 extends ApplicationAdapter { Texture img;
int Y = 25;
////////// . ground
char[][][] mapChars = new
当我尝试运行这段代码时,在game_start函数中创建的pygame窗口没有启动。当我删除game_main_loop函数时,它会这样做。我不知道这个函数出了什么问题,有人有什么想法吗?import libtcodpy as libtcodimport constants
'''this function initialises the main window and the pygame library'
System.Drawing.Image.get_Width() bei RogueLike.Game1.saveTile(Int32 x, Int32 y) in C:\Users\Niklas\Documents\Visual Studio 2010\Projects\RogueLike\RogueLike\RogueLike\Game1.cs:Zeile 472.