Platinum Arts Sandbox forks the Cube 2 engine to create a standalone game creation system.Since the engine code is open-source, a number of forks and derivatives have been based on it, most notably: The game was ported to iOS by FernLightning. The game shares most of its design goals and philosophy with its predecessor, but uses a new 6-directional heightfield (or octree) world model. Single-player modes feature both episodic gameplay and deathmatches on multiplayer maps with AI bots instead of human opponents.Ĭube 2: Sauerbraten started as a redesign of the original Cube game engine. Players can also engage in online cooperative map editing. The game features multiple modes, such as deathmatch, Capture the Flag, and variations thereof. The aim of the project is not to produce the most features and highest-quality graphics possible, but rather to allow map-editing to be done in real-time within the game, while keeping the engine source code small and elegant.Ĭube 2 features singleplayer and multiplayer, the latter offering LAN, local, and online play. The game media is released under various non-free licenses. ![]() The game engine is free and open-source software, under the zlib License, with commercial support available from the developer's business counterpart, Dot3 Labs. The game features single-player and multiplayer gameplay and contains an in-game level editor. Microsoft Windows, Linux, FreeBSD, OpenBSD, OS X, UnixĬube 2: Sauerbraten ( German for " sour roast", also known as Sauer) is a cross-platform, Quake-like first-person shooter that runs on Microsoft Windows, Linux, FreeBSD, OpenBSD, and Mac OS X using OpenGL and SDL. I haven't personally written quaternion camera code (yet!) but I'm sure the internet contains many examples and longer explanations you can work from.Wouter van Oortmerssen, Lee Salzman, Mike Dysart It is very common for general purpose game engines to use quaternions for describing objects' rotations. Quaternions are used somewhat like rotation matrices, but have fewer components you'll multiply quaternions by quaternions to apply player input, and convert quaternions to matrices to render with. Instead, you should represent your camera/player orientation as a quaternion, a mathematical structure that is good for representing arbitrary rotations. However, this approach (“Euler angles”) is both tricky to compute with and has numerical stability issues (“gimbal lock”). The minimal solution to this is to add a roll component to your camera state. As a consequence, no matter how you implement the controls, you will find that in some orientations the camera rolls strangely, because the effect of trying to do the math with this information is that every frame the roll is picked/reconstructed based on the pitch and yaw. Two numbers can represent a look-direction vector but they cannot represent the third component of camera orientation, called roll (rotation about the “depth” axis of the screen). The problem is that two numbers, pitch and yaw, provide insufficient degrees of freedom to represent consistent free rotation behavior in space without any “horizon”. Sauerbraten is not meant to be a quick game creation kit, it is a game. ![]() In this sense Cube 2: Sauerbraten is similar to games like Quake (its code is Open Source, but its media is not), it is a game that is meant to be added to, not copied and used as a template. ![]() Therefore, if you wish to produce a standalone game, be prepared to make many of the maps, models, textures, sounds etc from scratch yourself. Unless you have explicit permission from the authors, or the readme says explicitly "may be used for any purpose" or similar language, it will be illegal to include in your standalone game based on the engine (you may not assume that just because a file has no explicit license, that it is free of copyright). You can't simply redistribute the entire package with your modified files, as the majority of game media is not yours to use freely (it is made by many authors with a variety of licences and copyright restrictions). If you insist on making a standalone game based on Cube 2, do realize that only the sourcecode is yours to use freely (if you abide by the ZLIB license, see below), while the media is not.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |