3 Star 3 Fork 0

Gitee 极速下载/astromenace

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
此仓库是为了提升国内下载速度的镜像仓库,每日同步一次。 原始仓库: https://github.com/viewizard/astromenace
克隆/下载
贡献代码
同步代码
取消
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
Loading...
README
CC-BY-SA-4.0

AstroMenace


AstroMenace on YouTube, a video is worth a thousand words.

Immerse into a decisive battle against tons of cunning foes, face the terrifying bosses and protect your homeland throughout 15 diverse levels of the game. The hardcore gameplay of AstroMenace, packed with pure non-stop action, will become a full scale test for your basic instinct of survival.

preview

The game provides a wide variety of armaments and weapon upgrades for discharging the retributive wrath upon the hordes of enemies, besides it has a great number of improvements for enhancing the defensive abilities of your spaceship. Collect money during the combat and invest them into turning your spaceship into an ultimate weapon of mass destruction.

preview

More information and screenshots could be found at AstroMenace website.

Installation

Installer for Windows could be found in Releases.

Almost all popular Linux distros, FlatPak and Snap already have a stable version of the game in their repositories. Install the "astromenace" package with your distro's package manager.

latest packaged version(s) Packaging status

Debian/Ubuntu and derivatives

sudo apt-get install astromenace

OpenSuse

sudo zypper install astromenace

Fedora

sudo yum install astromenace

Gentoo

sudo emerge astromenace

FlatPak

AstroMenace available as a FlatPak package from FlatHub.

Snap

AstroMenace available as a snap package on Canonical Snapcraft.

Build (Windows)

  • Install MSYS2 from https://www.msys2.org (follow step-by-step instruction on first page in order to install MSYS2)

For Windows 32bit build. Start MSYS2 > MSYS2 MINGW32 terminal session from Start menu. Install all necessary packages and download prebuilt dependencies:

cd ~/
pacman -S git unzip mingw-w64-i686-{toolchain,make,cmake,ninja}
wget https://github.com/viewizard/astromenace-windows-prebuilt-dependencies/releases/download/latest/prebuilt_dep_mingw_32bit.zip
unzip ./prebuilt_dep_mingw_32bit.zip

For Windows 64bit build. Start MSYS2 > MSYS2 MINGW64 terminal session from Start menu. Install all necessary packages and download prebuilt dependencies:

cd ~/
pacman -S git unzip mingw-w64-x86_64-{toolchain,make,cmake,ninja}
wget https://github.com/viewizard/astromenace-windows-prebuilt-dependencies/releases/download/latest/prebuilt_dep_mingw_64bit.zip
unzip ./prebuilt_dep_mingw_64bit.zip
  • Clone git with latest source files
git clone https://github.com/viewizard/astromenace.git
  • Compile game binary (game data file will be created automatically):
mkdir ~/astromenace/build
cd ~/astromenace/build

For Windows 32bit build:

cmake .. -G Ninja -DCMAKE_INSTALL_PREFIX=$PWD/../bin -DCMAKE_BUILD_TYPE=Release -DDEPS_PATH=$PWD/../../prebuilt_dep_mingw_32bit

For Windows 64bit build:

cmake .. -G Ninja -DCMAKE_INSTALL_PREFIX=$PWD/../bin -DCMAKE_BUILD_TYPE=Release -DDEPS_PATH=$PWD/../../prebuilt_dep_mingw_64bit
cmake --build . --target install
  • Create desktop shortcut or start AstroMenace
~/astromenace/bin/astromenace

Note, in case of default MSYS2 path, all AstroMenace binary files will be stored into folder C:\msys64\home\user\astromenace\bin. You can copy this files into folder you want and remove MSYS2 from your system.

Build (macOS, Linux, BSD)

Build dependencies: libSDL2 (ver 2.0.5+), libopenal (ver 1.0+), libalut (ver 1.0+), libogg (ver 1.1+), libvorbis (ver 1.1+), freetype (ver 2.1.6+)

The easy way to get up to date AstroMenace on your computer:

1) Make sure all necessary packages with development headers installed in your system:

gcc or clang or any compiler with full ISO/IEC 14882:2011 (C++11) support, cmake, make, git, libsdl2 (or libsdl3 with libsdl2-compat), libogg, libvorbis, openal, alut (freealut), freetype2

For macOS:

Download and install "Command Line Tools for Xcode" or "Xcode". Install HomeBrew package manager: https://brew.sh/

brew install ninja cmake sdl2 git libogg libvorbis freealut freetype

For Ubuntu/Mint/Debian:

sudo apt-get install g++ cmake make ninja-build libsdl2-dev libogg-dev \
git libvorbis-dev libopenal-dev libalut-dev libfreetype6-dev

For Mageia:

sudo urpmi gcc-c++ ninja cmake make git libsdl2.0-devel libogg-devel \
libvorbis-devel libopenal-devel libfreealut-devel freetype2-devel

For OpenSuse:

sudo zypper install gcc-c++ ninja cmake make libSDL2-devel libogg-devel \
git libvorbis-devel openal-soft-devel freealut-devel freetype2-devel

For Fedora:

sudo yum install gcc-c++ cmake make git SDL2-devel libogg-devel libvorbis-devel \
ninja-build openal-soft-devel freealut-devel freetype-devel linux-libertine-fonts

For FreeBSD:

sudo pkg_add -r -v gcc cmake git ninja sdl20 libogg libvorbis openal freealut freetype2

2) Clone git with latest source files

cd ~/
git clone https://github.com/viewizard/astromenace.git

3) Compile game binary (game data file will be created automatically)

mkdir ~/astromenace/build
cd ~/astromenace/build
cmake .. -G Ninja -DCMAKE_INSTALL_PREFIX=$PWD/../bin -DCMAKE_BUILD_TYPE=Release
cmake --build . --target install

4) Create desktop shortcut or start AstroMenace

~/astromenace/bin/astromenace
## AstroMenace Source Code AstroMenace is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. AstroMenace is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with AstroMenace. If not, see <https://www.gnu.org/licenses/>. ## AstroMenace Assets All game assets, except described below, were created by Viewizard team during AstroMenace development (see "Credits" menu in-game for full list of authors) and were released under "GNU GENERAL PUBLIC LICENSE Version 3" (see ./licenses/GPL-3.0.txt or <https://opensource.org/licenses/GPL-3.0>). All artwork sources could be found in [astromenace-artwork](https://github.com/viewizard/astromenace-artwork) repository. All game screenshots in "./share/" folder released under Creative Commons Attribution-ShareAlike 4.0 (CC BY-SA 4.0) license (see ./licenses/CC-BY-SA-4.0.txt or <https://creativecommons.org/licenses/by-sa/4.0/legalcode>). #### "models.pack" file (./gamedata/models/ folder) This file contains precompiled into AstroMenace game format 3D models and textures created by Max Shelekhov, 3drt.com. "models.pack" file is released under Creative Commons Attribution-ShareAlike 4.0 (CC BY-SA 4.0) license (see ./licenses/CC-BY-SA-4.0.txt or <https://creativecommons.org/licenses/by-sa/4.0/legalcode>). #### "a_class4.tga", "clouds.tga", "d_class3.tga" and "q_class2.tga" files (./gamedata/models/planet/ folder) These planetary textures created by Alex (Esgaroth) Reuter and Robert Stein are part of VegaTrek "Planetary textures add-on" licensed under "GNU GENERAL PUBLIC LICENSE Version 3". Full "Planetary textures add-on" package and all relative data can be downloaded from VegaTrek file section at https://sourceforge.net/projects/vegatrek/. Please note, all artwork in "Planetary textures add-on" (version 0.6) was released under "Freeware" license, but according to Alex e-mail replay: "... Actually, the licensing of the texture pack as freeware is a mistake (thanx for the hint !) , all should be licensed under GPLv3, so this will be no problem, I´ll fix it with the next release.", can be used under GPLv3 license terms (see ./licenses/GPL-3.0.txt or <https://opensource.org/licenses/GPL-3.0>). #### "FreeMonoBold.otf", "FreeSansBold.otf" and "FreeSerifBold.otf" files (./gamedata/font/ folder) These ttf fonts are part of GNU FreeFont package released under "GNU GENERAL PUBLIC LICENSE Version 3" (see ./licenses/GPL-3.0.txt or <https://opensource.org/licenses/GPL-3.0>). #### "LiberationMono-Bold.ttf", "LiberationSans-Bold.ttf" and "LiberationSerif-Bold.ttf" files (./gamedata/font/ folder) These ttf fonts are part of Liberation Fonts package released under "SIL Open Font License, Version 1.1" (see ./licenses/OFL-1.1.txt or <https://opensource.org/licenses/OFL-1.1>). #### "LinBiolinum_RB.otf" and "LinLibertine_RB.otf" files (./gamedata/font/ folder) These ttf fonts are part of Linux Libertine package released under "SIL Open Font License, Version 1.1" (see ./licenses/OFL-1.1.txt or <https://opensource.org/licenses/OFL-1.1>).

简介

AstroMenace ( 太空危机) 是一款效果出众 3D 立体纵版射击游戏,在游戏中你会进入外层空间和异星侵略者进行激烈的空间战争 展开 收起
C/C++ 等 4 种语言
CC-BY-SA-4.0
取消

发行版

暂无发行版

贡献者

全部

近期动态

不能加载更多了
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
C/C++
1
https://gitee.com/mirrors/astromenace.git
git@gitee.com:mirrors/astromenace.git
mirrors
astromenace
astromenace
master

搜索帮助