在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称:adam4813/Sigma开源软件地址:https://github.com/adam4813/Sigma开源编程语言:C++ 93.3%开源软件介绍:SigmaThe Sigma game engine for creating games on multiple platforms. The name Sigma was chosen due to its meaning in math of summation notation. In Sigma, engine components are assigned to entities, and it is the sum of all the components that makes an entity. Requires CMake and one of the following compilers:
ContributingThe easiest way to contribute is to fork and experiment. To better understand the organization please refer to this drawing. Coding standards and practices can be found here. InstallingSigma requires the following dependencies:
Sigma on Linux also requires GTK+ 2, due to usage of Chromium Embedded Framework.
When building these libraries from source, always build them as shared objects ( You'll also need a package of assets. Unpack it in the build/bin/ directory. Setting up Chromium Embedded FrameworkMake sure you use a binary release from Adobe. For Windows and Linux, use the latest version that is NOT marked as dev (trunk). For OS X, use the latest Mac 32-bit from dev (trunk) (Windows/Linux)
(OS X)
BuildingUse CMake to create makefiles or projects. The resulting executable will be saved in build/bin/. OS XIf you want to compile Sigma on OS X, your system must be running OS X 10.7 or later. You will need to have installed Xcode and, unless your system is running 10.9, the Command Line Tools. Both can be downloaded from the Apple Developer Website. Before you can build Sigma, you'll first need to install the dependencies separately. Using a package manager, such as MacPorts, is recommended. If MacPorts is present, you can use the following commands to install CMake, GLM, GLFW, libogg and libvorbis:
The current Macports version of Bullet does not include all of the libraries Sigma depends on. You will need to compile Bullet manually.
Sigma on OS X requires a patched version of SOIL that must be installed manually.
Once all the dependencies are installed, you can build Sigma. mkdir build/
cd build/
cmake ..
make Running(Unix/Linux/OS X) The binary On OS X, you must launch Sigma from a shell in the build directory. Launching Sigma through the Finder will not set the working directory correctly. Visual StudioYou must change the startup project via right-clicking on the project in the solution explorer in order for Debugging to launch the correct program. Also you must go into the project's properties, and under the 'Debugging' category change the 'Working Directory' to '$(OutDir)'. XcodeOn OS X, CMake can generate an Xcode project for Sigma. mkdir build/
cd build/
cmake .. -G Xcode You must change the current scheme to Sigma by clicking on the scheme popup menu and selecting Sigma. You can also change the working directory used when Sigma is started by Xcode. Select Edit Scheme from the scheme popup menu, switch to the Options tab, check the box next to Working Directory, and enter the path to the Sigma assets in the text field. |
2022-08-15
2022-08-17
2022-09-23
2023-10-27
2022-08-18
请发表评论