raycasting-study:有关Java中的Raycasting的研究

时间:2021-03-03 01:50:43
【文件属性】:
文件名称:raycasting-study:有关Java中的Raycasting的研究
文件大小:481KB
文件格式:ZIP
更新时间:2021-03-03 01:50:43
TypeScript 射线广播研究 该技术包括在2D地图上移动方块(玩家)并“投射”射线,直到射线撞击墙壁。 对于击中的墙的每个像素,在另一个画布中渲染一个等效的矩形。 所有这些矩形(根据玩家的距离具有正确的颜色和大小)给人以假3D的印象。 安装 全局安装Typescript: npm install -g typescript 并运行: npm install npm start 失误 如果运行时出错,请尝试创建一个文件夹dist 。 如果文件夹不存在,有时browserify会引发错误。 参考
【文件预览】:
raycasting-study-master
----.eslintrc(2KB)
----package.json(972B)
----map-builder()
--------package.json(996B)
--------.eslintrc.json(1KB)
--------prettier.config.js(91B)
--------src()
--------tsconfig.json(481B)
--------.gitignore(310B)
--------public()
--------README.md(2KB)
--------yarn.lock(469KB)
--------.editorconfig(146B)
----copy-files-from-to.json(380B)
----yarn-error.log(133KB)
----.prettierrc(47B)
----assets()
--------_floor.jpg(7KB)
--------sky.jpg(17KB)
--------gun.gif(4KB)
--------favicon.png(2KB)
--------crosshair.png(245B)
--------controls.png(94KB)
--------stone.png(1KB)
--------floor.jpg(1KB)
--------barrel.png(428B)
--------github.png(30KB)
--------floor-test.jpg(2KB)
--------jail.png(1KB)
--------pillar.png(430B)
--------wall.png(1KB)
--------lamp.png(282B)
--------table.png(438B)
--------wood.png(453B)
----index.html(2KB)
----dist()
--------config.js(2KB)
--------engine()
--------main.js(269B)
--------types.js(123B)
--------bundle.js(44KB)
----src()
--------config()
--------main.ts(231B)
--------engine()
--------types.ts(151B)
----tsconfig.json(215B)
----.gitignore(28B)
----README.md(2KB)
----yarn.lock(125KB)
----style.css(2KB)

网友评论