Skip to content

Commit

Permalink
- Added VS2022 to package script
Browse files Browse the repository at this point in the history
- Updated README file accordingly
  • Loading branch information
iarwain committed Jan 15, 2022
1 parent 56be858 commit e23501b
Show file tree
Hide file tree
Showing 3 changed files with 43 additions and 320 deletions.
319 changes: 1 addition & 318 deletions README.html
Original file line number Diff line number Diff line change
Expand Up @@ -979,322 +979,5 @@
.markdown-body .pl-12 {
padding-left: 128px!important;
}
</style><title>README</title></head><body><article class="markdown-body"><p><a href="https://orx-project.org/discord" rel="nofollow"><img src="https://camo.githubusercontent.com/0ac6198a324b0bce71fd696e28a98de31a633429329e195200ee14348bf167f0/68747470733a2f2f646973636f72646170702e636f6d2f6170692f6775696c64732f3532323136373733363832333138353431382f7769646765742e706e673f7374796c653d736869656c64" alt="Join the chat on https://orx-project.org/discord" data-canonical-src="https://discordapp.com/api/guilds/522167736823185418/widget.png?style=shield" style="max-width:100%;"></a>
<a href="https://app.travis-ci.com/github/orx/orx" rel="nofollow"><img src="https://camo.githubusercontent.com/dfac15bcf864ff96a9937ec368439fdad609084032e7e7f8194318a906b6a47f/68747470733a2f2f6170692e7472617669732d63692e636f6d2f6f72782f6f72782e7376673f6272616e63683d6d6173746572" alt="Travis build" data-canonical-src="https://api.travis-ci.com/orx/orx.svg?branch=master" style="max-width:100%;"></a>
<a href="https://ci.appveyor.com/project/iarwain/orx" rel="nofollow"><img src="https://camo.githubusercontent.com/80e93263349b23712975d9462deee00db6144c74fd3ac36636b7524beacc4984/68747470733a2f2f63692e6170707665796f722e636f6d2f6170692f70726f6a656374732f7374617475732f616c776d34696c377831773667316f343f7376673d74727565" alt="Build status" data-canonical-src="https://ci.appveyor.com/api/projects/status/alwm4il7x1w6g1o4?svg=true" style="max-width:100%;"></a></p>
<h1>
<a id="user-content-orx---portable-game-engine-version-112" class="anchor" href="#orx---portable-game-engine-version-112" aria-hidden="true"><span aria-hidden="true" class="octicon octicon-link"></span></a>Orx - Portable Game Engine (Version 1.12)</h1>
<p>Email iarwain [at] orx-project.org to contact the author; or, better,
check <a href="https://orx-project.org" rel="nofollow">orx's homepage</a> for the most up-to-date contact information.
You can also come <a href="https://orx-project.org/discord" rel="nofollow">chat with us</a>
if you have any questions or comments.</p>
<p>This engine is licensed under the very permissive <a href="https://en.wikipedia.org/wiki/Zlib_License" rel="nofollow">zlib license</a>,
see the <a href="https://github.com/orx/orx/blob/master/LICENSE">LICENSE</a> file for details.</p>
<h2>
<a id="user-content-summary" class="anchor" href="#summary" aria-hidden="true"><span aria-hidden="true" class="octicon octicon-link"></span></a>Summary</h2>
<p><a href="https://orx-project.org" rel="nofollow">Orx</a> is a 2D-oriented, data-driven, portable game engine focused primarily on ease of use and powerful features.
See below for a list of supported platforms.</p>
<p>This is a release candidate for orx v1.12. If you find any bugs,
please report them on the <a href="https://forum.orx-project.org" rel="nofollow">forum</a>, in the "Bug report - Feature request" board,
or via orx's <a href="https://github.com/orx/orx/issues">issue page/tracker</a>.</p>
<p>Some notable features of the engine are:</p>
<ul>
<li>hardware-accelerated rendering that provides: translation, anisotropic scale, rotation,
transparency (alpha blending), different blending modes, coloring, tiling and mirroring</li>
<li>advanced rendering features such as MRT (Multiple Render Targets) support and easy compositing</li>
<li>powerful config system that makes orx data-driven and provides an easy to use load/save system</li>
<li>powerful resource management allowing for easy multi-platform data support and patching</li>
<li>automatic hotloading of resources upon modification on disk shortens drastically iteration times</li>
<li>timelines and commands modules allow for config-driven scripting-like features</li>
<li>interactive console can execute commands at runtime (very useful for tweaking/debug purposes)</li>
<li>advanced animation engine (including a chaining graph &amp; custom animation events for synchronization)</li>
<li>fragment (pixel) shader support</li>
<li>visual FXs based on curve combinations</li>
<li>integrated runtime profiler (with graphical display) to easily spot which parts of your game need to be optimized</li>
<li>collision handling and rigid body physics</li>
<li>camera/viewport scheme allowing multiple views displayed with camera translation, zoom and rotation</li>
<li>generic input system that abstracts keyboard, mouse, joystick, touch and accelerometer inputs</li>
<li>powerful localization module</li>
<li>spawners (provides an easy way to create particles or projectiles)</li>
<li>3D positioning using "scene nodes"</li>
<li>custom bitmap font support</li>
<li>automatic differential scrolling and depth scaling upon request</li>
<li>music and spatialized sound support</li>
<li>clock system that provides time consistency and allows time stretching + high precision timers</li>
<li>event manager</li>
<li>unicode support with UTF-8 encoding</li>
<li>plugin system</li>
<li>screenshot capture tool (supports bmp, png, jpg, tga and dds)</li>
</ul>
<p>See <a href="https://orx-project.org/wiki" rel="nofollow">orx's wiki</a> for detailed information, including:</p>
<ul>
<li>initial setup</li>
<li>beginner's guide</li>
<li>tools</li>
<li>samples</li>
<li>detailed tutorials (both official and community-made ones)</li>
</ul>
<p>See the <a href="https://github.com/orx/orx/tree/master/doc/html">doc/html</a> directory for the doxygen documentation of orx's API.
The documentation for the latest release version is <a href="https://orx-project.org/orx/doc/html" rel="nofollow">available here</a> at orx's homepage.</p>
<h2>
<a id="user-content-supported-platforms" class="anchor" href="#supported-platforms" aria-hidden="true"><span aria-hidden="true" class="octicon octicon-link"></span></a>Supported Platforms</h2>
<p>The engine compiles and is tested for:</p>
<ul>
<li>Linux (x86/x86-64 with codelite, codeblocks and GNU makefile)</li>
<li>Windows (x86/x86-64 with vs2015, vs2017 &amp; vs2019, x86/x86-64 mingw-w64 (8.1.0) with codelite, codeblocks and GNU makefile)</li>
<li>MacOS X (x86/x86-64 with xcode or x86/x86-64 with codelite, codeblocks and GNU makefile), version 10.6+</li>
<li>iOS (iPhone/iPod Touch/iPad, simulator &amp; device with xcode)</li>
<li>Android (NDK build files, simulator &amp; device)</li>
</ul>
<h2>
<a id="user-content-versions" class="anchor" href="#versions" aria-hidden="true"><span aria-hidden="true" class="octicon octicon-link"></span></a>Versions</h2>
<p>Those are not revision versions but link/run versions.
Orx library can be compiled as a static or a dynamic library.
In addition to these modes, orx can be compiled as an embedded version or not.</p>
<p>Orx's core is basically platform-independent. All the platform/OS-dependent features
are implemented via plugins. These plugins can be loaded at runtime (hotplug) or
they can be embedded at linktime.</p>
<p>If you use the non-embedded versions, you'll have to specify which plugins to use.
This is more flexible but also requires additional files (the plugins themselves).
The embedded version will store everything in orx's library, meaning you won't be able
to choose which plugin to use at runtime, but will also be more compact. This will
also make orx run considerably faster.</p>
<p>From the download page you'll find precompiled binaries for Windows (x86), Linux (x86/x86-64), MacOS X (ppc/x86/x86-64),
iOS and Android, using the dynamic embedded versions only.
If you want to use the non-embedded versions (to use with your own plugins), you'll need to compile orx yourself from the source.
Everything compiles out-of-the-box for the hardware platforms cited above.</p>
<p>The embedded versions currently use:</p>
<ul>
<li>GLFW-based (+SOIL) plugins for display, joystick, keyboard and mouse for all non-iOS/non-Android platforms</li>
<li>OpenAL-based (+libsndfile/stb_vorbis/tremor) plugins for sound for all platforms</li>
<li>Box2D-based plugin for physics</li>
<li>homemade plugin for 2D rendering</li>
<li>OpenGL ES plugins for display on iOS and Android</li>
<li>Touch/MultiTouch-based plugin for mouse on iOS and Android</li>
<li>Accelerometer-based plugin for joystick on iOS and Android</li>
</ul>
<p>All the 11 basic and advanced official tutorials are shipped with the dev packages, including precompiled release binaries.</p>
<p>Some tools (precompiled binaries only) are also shipped with the dev packages:</p>
<ul>
<li>
<code>orxCrypt</code> : command line tool to encrypt/decrypt/merge multiple config files</li>
<li>
<code>orxFontGen</code>: command line tool (based on FreeType2) to generate custom bitmap fonts (.png texture &amp; .ini config file) from TrueType fonts</li>
</ul>
<h2>
<a id="user-content-packages" class="anchor" href="#packages" aria-hidden="true"><span aria-hidden="true" class="octicon octicon-link"></span></a>Packages</h2>
<p>You can download all the packages from <a href="https://sf.net/projects/orx" rel="nofollow">sourceforge</a> or <a href="https://github.com/orx/orx/releases">github</a>.
Here is a list with a small description for each package.</p>
<ul>
<li>
<code>orx-doc-1.12.zip</code> : orx's API doxygen documentation</li>
<li>
<code>orx-src-1.12.zip</code> : orx's source code, ready for compile after running the setup script</li>
<li>
<code>orx-dev-linux32-1.12.tar.bz2</code> : dynamic embedded binaries for Linux (x86), release/profile/debug + tools.</li>
<li>
<code>orx-dev-linux64-1.12.tar.bz2</code> : dynamic embedded binaries for Linux (x86-64), release/profile/debug + tools.</li>
<li>
<code>orx-dev-mac-1.12.zip</code> : dynamic embedded binaries for MacOS X (x86/x86-64), release/profile/debug + tools.</li>
<li>
<code>orx-dev-mingw-32-1.12.zip</code> : dynamic embedded binaries for Windows (mingw/x86), release/profile/debug + tools.</li>
<li>
<code>orx-dev-mingw-64-1.12.zip</code> : dynamic embedded binaries for Windows (mingw/x86-64), release/profile/debug + tools.</li>
<li>
<code>orx-dev-vs2015-32-1.12.zip</code> : dynamic embedded binaries for Windows (Visual Studio 2015, x86), release/profile/debug + tools.</li>
<li>
<code>orx-dev-vs2015-64-1.12.zip</code> : dynamic embedded binaries for Windows (Visual Studio 2015, x86-64), release/profile/debug + tools.</li>
<li>
<code>orx-dev-vs2017-32-1.12.zip</code> : dynamic embedded binaries for Windows (Visual Studio 2017, x86), release/profile/debug + tools.</li>
<li>
<code>orx-dev-vs2017-64-1.12.zip</code> : dynamic embedded binaries for Windows (Visual Studio 2017, x86-64), release/profile/debug + tools.</li>
<li>
<code>orx-dev-vs2019-32-1.12.zip</code> : dynamic embedded binaries for Windows (Visual Studio 2019, x86), release/profile/debug + tools.</li>
<li>
<code>orx-dev-vs2019-64-1.12.zip</code> : dynamic embedded binaries for Windows (Visual Studio 2019, x86-64), release/profile/debug + tools.</li>
<li>
<code>orx-full-ios-1.12.zip</code> : static embedded binaries for iOS, release/profile/debug, simulator/device + doc + source + XCode project file.</li>
<li>
<code>orx-dev-android-1.12.zip</code> : static embedded binaries for Android, release/profile/debug (device).</li>
<li>
<code>orx-dev-android-native-1.12.zip</code> : static embedded binaries for Android Native, release/profile/debug (device).</li>
<li>
<code>orx-tutorial-linux32-1.12.tar.bz2</code> : tutorials for Linux (x86)</li>
<li>
<code>orx-tutorial-linux64-1.12.tar.bz2</code> : tutorials for Linux (x86-64)</li>
<li>
<code>orx-tutorial-mac-1.12.zip</code> : tutorials for MacOS X (x86/x86-64)</li>
<li>
<code>orx-tutorial-mingw-32-1.12.zip</code> : tutorials for Windows (mingw/x86)</li>
<li>
<code>orx-tutorial-mingw-64-1.12.zip</code> : tutorials for Windows (mingw/x86-64)</li>
<li>
<code>orx-tutorial-vs2015-32-1.12.zip</code> : tutorials for Windows (Visual Studio 2015, x86)</li>
<li>
<code>orx-tutorial-vs2015-64-1.12.zip</code> : tutorials for Windows (Visual Studio 2015, x86-64)</li>
<li>
<code>orx-tutorial-vs2017-32-1.12.zip</code> : tutorials for Windows (Visual Studio 2017, x86)</li>
<li>
<code>orx-tutorial-vs2017-64-1.12.zip</code> : tutorials for Windows (Visual Studio 2017, x86-64)</li>
<li>
<code>orx-tutorial-vs2019-32-1.12.zip</code> : tutorials for Windows (Visual Studio 2019, x86)</li>
<li>
<code>orx-tutorial-vs2019-64-1.12.zip</code> : tutorials for Windows (Visual Studio 2019, x86-64)</li>
</ul>
<p>All the <code>*-dev-*</code> packages above include:</p>
<ul>
<li>orx release/profile/debug libraries used for linking</li>
<li>runtime release/profile/debug orx libraries</li>
<li>headers to include at compile time</li>
<li>template files exposing which properties can be accessed using the config system (for user reference only, not needed by orx)</li>
</ul>
<p>All the <code>*-tutorial-*</code> packages above include:</p>
<ul>
<li>heavily commented source code for 11 basic and advanced tutorials</li>
<li>precompiled binaries (orx link library, orx runtime library)</li>
<li>headers to include at compile time</li>
<li>template files exposing which properties can be accessed using the config system (for user reference only, not needed by orx)</li>
<li>build/project files</li>
</ul>
<h2>
<a id="user-content-compiling" class="anchor" href="#compiling" aria-hidden="true"><span aria-hidden="true" class="octicon octicon-link"></span></a>Compiling</h2>
<h3>
<a id="user-content-important---first-step" class="anchor" href="#important---first-step" aria-hidden="true"><span aria-hidden="true" class="octicon octicon-link"></span></a>Important - first step:</h3>
<p><strong>If you just downloaded the <code>src</code> package or cloned orx with mercurial or git, you will need to run the setup.bat / setup.sh script
that's located at its root before being able to compile the engine.
This script will download all the needed dependencies and generate all the project files for your platform.
The script will then hook itself to mercurial/git and you shouldn't have to run it manually after subsequent pulls.</strong></p>
<p>The easiest way to learn how to compile your project using orx for a given platform
is to look at the tutorial build project files.</p>
<p>NB: The debug version is far slower than the release one, but will output all the warning
and error messages useful during development.</p>
<p>Here's a quick list of the available compile preprocessor flags:</p>
<ul>
<li>
<p><code>__orxDEBUG__</code> : used to compile and link against the debug versions of orx library
(liborxd.a / orxd.lib / liborxd.dylib), if not specified it refers to
the release versions (liborx.a / orx.lib / liborx.dylib).<br>
NB: If you want to link against the debug versions of orx library, you need
to specify it to your compiler!</p>
</li>
<li>
<p><code>__orxPROFILER__</code> : used to enable the profiling push/pop macros for release builds
It's automatically enabled for debug builds and it has been enabled to
build liborxp.a / orxp.lib / orxp.dll / liborxp.dylib / liborxp.so<br>
NB: You can define it in your projects even when using regular release builds,
but you won't be able to see orx's internal profiling markers!</p>
</li>
<li>
<p><code>__orxSTATIC__</code> : used to compile and link against the static versions of orx library.<br>
NB: If you want to link against the static versions of orx library, you need
to specify it to your compiler!</p>
</li>
<li>
<p><code>__orxEMBEDDED__</code> : used to compile the embedded versions of orx library.<br>
NB: this flag is <em>ONLY</em> needed when compiling orx library, not when linking
against it.</p>
</li>
</ul>
<p>There are other preprocessor flags used when compiling the orx library,
but those should be easy enough to decipher. markdo
However, you might want to specify them manually for cross-compiling or
use them so that your code will behave differently depending on the architecture
for which you're compiling. Here's a quick list of these flags:</p>
<table>
<thead>
<tr>
<th align="center">Flag</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td align="center"><code>__orxARM__</code></td>
<td>orx is being compiled for an ARM architecture</td>
</tr>
<tr>
<td align="center"><code>__orxPPC__</code></td>
<td>orx is being compiled for a PowerPC architecture</td>
</tr>
<tr>
<td align="center"><code>__orxPPC64__</code></td>
<td>orx is being compiled for a PowerPC 64 architecture</td>
</tr>
<tr>
<td align="center"><code>__orxX86__</code></td>
<td>orx is being compiled for a x86 architecture</td>
</tr>
<tr>
<td align="center"><code>__orxX86_64__</code></td>
<td>orx is being compiled for a x86-64 architecture</td>
</tr>
<tr>
<td align="center"><code>__orxLITTLE_ENDIAN__</code></td>
<td>orx is being compiled for a little endian architecture</td>
</tr>
<tr>
<td align="center"><code>__orxBIG_ENDIAN__</code></td>
<td>orx is being compiled for a big endian architecture</td>
</tr>
<tr>
<td align="center"><code>__orxGCC__</code></td>
<td>orx is being compiled with gcc</td>
</tr>
<tr>
<td align="center"><code>__orxMSVC__</code></td>
<td>orx is being compiled with visual studio C/C++</td>
</tr>
<tr>
<td align="center"><code>__orxLLVM__</code></td>
<td>orx is being compiled with llvm/clang</td>
</tr>
<tr>
<td align="center"><code>__orxWINDOWS__</code></td>
<td>orx is being compiled for Windows</td>
</tr>
<tr>
<td align="center"><code>__orxMAC__</code></td>
<td>orx is being compiled for MacOS X</td>
</tr>
<tr>
<td align="center"><code>__orxLINUX__</code></td>
<td>orx is being compiled for Linux</td>
</tr>
<tr>
<td align="center"><code>__orxIOS__</code></td>
<td>orx is being compiled for iOS</td>
</tr>
<tr>
<td align="center"><code>__orxANDROID__</code></td>
<td>orx is being compiled for Android</td>
</tr>
<tr>
<td align="center"><code>__orxANDROID_NATIVE__</code></td>
<td>orx is being compiled for Android Native</td>
</tr>
<tr>
<td align="center"><code>__orxCPP__</code></td>
<td>orx is being compiled with a C++ compiler</td>
</tr>
<tr>
<td align="center"><code>__orxOBJC__</code></td>
<td>orx is being compiled with an Objective-C compiler</td>
</tr>
<tr>
<td align="center"><code>__orxPLUGIN__</code></td>
<td>a plugin for orx is being compiled</td>
</tr>
<tr>
<td align="center"><code>__orxEXTERN__</code></td>
<td>code using orx's library is being compiled</td>
</tr>
</tbody>
</table>
<h2>
<a id="user-content-comments" class="anchor" href="#comments" aria-hidden="true"><span aria-hidden="true" class="octicon octicon-link"></span></a>Comments</h2>
<p>If you have any questions, comments, ideas or reviews, feel free to either
post them on <a href="https://forum.orx-project.org" rel="nofollow">orx's forum</a>,
come <a href="https://orx-project.org/discord" rel="nofollow">chat with us</a>
or send them directly by email to iarwain [at] orx-project.org</p>
<p>Enjoy!</p>
</style><title>README</title></head><body><article class="markdown-body"><p>2019</p>
</article></body></html>
Loading

0 comments on commit e23501b

Please sign in to comment.