Underground 2 Revived
Play Need for Speed: Underground 2 (2004) in Chrome and Firefox with WebGPU graphics, Web Audio, up to 120 fps widescreen, controller support, free roam and Online races with friends. Fan project, not
翻译准备中
Beyond All Reason 是终极史诗级 RTS 游戏,适用于 Windows 和 Linux。指挥成千上万单位的庞大军队,在完全模拟的环境中作战。横跨陆地、海洋和
AI 翻译
Beyond All Reason is the ultimate epic-scale RTS game for Windows and Linux. Command colossal armies in battles with thousands of units in fully simulated environments. Wage war across land, sea, and
游戏Lua · CGitHub @beyond-all-reason在线运营者未确认
试用过了吗? 点一下就好,无需登录。
尚未检测到更新。GitHub 发布版本后会显示在这里。
个人 GitHub 账号下公开仓库的所有者可以登录并验证所有权,自行管理介绍,无需管理员批准。
登录并生成验证文件,在 30 分钟内将其提交到此仓库的默认分支。其他分支或分叉仓库中的文件无效。然后在下方检查文件,即可无需管理员批准直接管理项目。请保留文件以维持管理权限。
如需登录,将前往登录页面。登录后请回到此处,再次点击所选的验证按钮。
在项目文件夹中运行 /nomorevibe verify,即可验证所有权并自行管理介绍。
一分钟完成验证Beyond All Reason 的主要游戏仓库。
AI 翻译
Main game repository for Beyond All Reason.
取自仓库 README
正在加载完整 README。
查看完整 README ↗Open source RTS game built on top of the Recoil RTS Engine
https://www.beyondallreason.info/download
https://www.beyondallreason.info/guides
Beyond All Reason (BAR), consists of 2 primary components, the lobby (Chobby - https://github.com/beyond-all-reason/BYAR-Chobby) and the game code itself (this repository).
The game runs on top of the Recoil engine https://github.com/beyond-all-reason/RecoilEngine.
In order to develop the game (this repository) you first need a working install of the lobby/launcher. There are 2 ways to do this:
Download the full BAR application from the website and run it. This is probably what you will have done if you have previously installed and played the game.
OR if you want to develop the lobby client, follow the guide in the Chobby README. First download a release of Chobby and then launch Chobby, this will automatically download and install the engine and other dependencies.
Once you have a working install of BAR you need a local development copy of the game code to work with. This code will live in the BAR install directory.
To find the BAR install directory simply open the launcher (not full game) and click the "Open install directory" button. This is one of the 3 buttons (Toggle log and Upload log are the other 2). For Windows installs this might be your user's AppData/Local/Programs/Beyond-All-Reason/data directory, for Linux it might be your user's .local/state/Beyond All Reason/ directory.
In the BAR install directory create the empty file devmode.txt. E.g: AppData/Local/Programs/Beyond-All-Reason/data/devmode.txt or .local/state/Beyond All Reason/devmode.txt.
In the BAR install directory (inside the data folder on Windows) in the games sub-directory (create games if it doesn't exist) clone the code for this repository into a directory with a name ending in .sdd. For example:
git clone --recurse-submodules https://github.com/beyond-all-reason/Beyond-All-Reason.git BAR.sdd
Ensure that you have the correct path by looking for the file Beyond-All-Reason/data/games/BAR.sdd/modinfo.lua on Windows, or .local/state/Beyond All Reason/games/BAR.sdd/modinfo.lua on Linux.
Now you have the game code launch the full game from the launcher as normal. Then go to Settings > Developer > Singleplayer and select Beyond All Reason Dev.
Now you can launch a match normally through the game UI. This match will use the development copy of the Lua code in the BAR.sdd directory you cloned in step 3.
If developing Chobby also clone the code into the games directory. Follow the guide in the Chobby README.
(Optional, Advanced) If you want to run automated integration tests, see the testing documentation
More on the .sdd directory to run raw LUA and the structure expected by Spring Engine is documented here.
Lua 5.1
debian/linux
sudo apt install -y lua5.1
windows (MSYS2 UCRT64)
pacman -S --needed mingw-w64-ucrt-x86_64-lua51
macOS
brew install [email protected]
Lux Package Manager Follow the Lux Getting Started Guide.
Or follow the Cargo instructions to manually build on the Lux Github
From the repo root (where lux.toml lives):
lux --max-jobs=2 update
Note: in my testing --max-jobs was super specific to my machine and anything above that number would sometimes cause deadlocks.
Run the full suite (via Busted):
# preferred for predictable CLI behavior
busted
Filter by tag:
busted -t focus
Optionally, run through Lux’s wrapper:
lx test
# run the emmylua type check
lx check
# or to drop into a shell so you can run `busted` manually
lx shell --test
busted
8 successes / 0 failures / 0 errors / 0 pending : 0.246881 seconds
See Lux Guides for more information.
Inspect objects inline while debugging:
print(VFS.Include("inspect.lua")(someObject))
This handy plugin lets you switch between the test and the code-being-tested just by tapping Cmd+Shift+Y.
VSCode Plugin: https://marketplace.visualstudio.com/items?itemName=bmalehorn.test-switcher
Then open User Settings (JSON) and add:
"test-switcher.rules": [
{
"pattern": "spec/(.*)_spec\\.lua",
"replacement": "$1.lua"
},
{
"pattern": "spec/builder_specs/(.*)_spec\\.lua",
"replacement": "spec/builders/$1.lua"
},
{
"pattern": "spec/builders/(.*)\\.lua",
"replacement": "spec/builder_specs/$1_spec.lua"
},
{
"pattern": "(luarules|common|luaui|gamedata)/(.*)\\.lua",
"replacement": "spec/$1/$2_spec.lua"
}
],