Skip to content
项目

关于

非欧几里得 GPU 光线追踪游戏

游戏与模拟器

这些数字如何统计

实测星标增长

24小时
0
7天
-1
15天
-1
1个月
正在收集历史

各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。

README.md

原文

Compiling and running

On Linux:

make -j
./noeuclid

On Windows: Open MSYS shell and run:

make noeuclid.exe
./noeuclid.exe

Explanation Video

Prerequisites

You'll probably want to compile your own copy of TinyCC, you'll need to build tcc 0.9.26.

Right now we use GLUT, But we plan to (already have moved?) to SDL.

And you'll need a modern GPU. Some intel GPUs kind of work, most post-2013 NVIDIA and ATI GPUs work, too. (And higher end ones from before)

Files you care about:

  • rooms.txt < the levels.
  • scripthelpers.h < helper functions for the level scripts
  • tileattributes.txt < File containing the visual appearance for various tiles.

Modifying rooms.txt while the game is running will just cause it to be recompiled in-place. Where you are.

Hotkeys:

Key Action
w Walk forward.
s Walk backward.
d Walk right.
a Walk Left.
  (spacebar) jump.
g Go into noclip mode.
] Go up.
[ Go down.
0 Show additional debug info.
+ Go up level.
- Go down level.
r Reload current.
l Load ALL levels right now.
p Pauses.
8 Mouse Sensitivity down.
9 Mouse Sensitivity up.

You can add new blocks by modifying tileattributes.txt

Building on Linux: Needed packages:

sudo apt-get install build-essential libtcc-dev libsfml-dev libglew-dev

Building on Windows: You need MinGW to build on Windows.

Caveats

Does not run on discrete GPU on macOS. If running on macOS use a tool such as gfxCardStatus to force the integrated GPU

探索相关项目

加载中…