Software:Cube (video game)

From HandWiki
Cube
Cube game icon green.png
Developer(s)Wouter van Oortmerssen[1]
Designer(s)Wouter van Oortmerssen[1]
Composer(s)Marc A. Pullen[1]
EngineCube Engine
Platform(s)Cross-platform
Release2001–2005
Genre(s)First-person shooter
Mode(s)Multiplayer, single-player

Cube is a free and open-source first-person shooter video game. It often is mistaken with its engine (zlib-licensed), the Cube Engine. The engine and game were developed by Wouter van Oortmerssen.[2][3][4]

It runs on a variety of operating systems, including Microsoft Windows, Linux, FreeBSD, OS X, AmigaOS 4, AROS, iPhone, Wii and Pocket PC devices with 3D acceleration such as Dell Axim x50v.[5] It uses OpenGL and SDL. Cube has both single-player and multiplayer gameplay. The game contains a built-in level editor.

The game was originally released in 2001.[6] The first release with single-player mode was in January 2002.[7] The latest update of Cube was released on August 29, 2005.

It's engine was reused for several other games. AssaultCube, released in November 2006, is the most popular of them.

An official successor has been made called Cube 2 (also simply known as Sauerbraten). Released in 2004, it uses an other engine, the Cube 2 engine.

Gameplay

Screenshot
Screenshot

As of the August 29, 2005, release, there were 37 single player maps and 65 deathmatch maps, for a total of 102 maps.

Multiplayer uses a networked game code and a thick client/thin server model.

Single-player

The single-player gameplay includes two modes. A plain single-player mode in which items and monsters do not respawn and have a fixed position; and a deathmatch-style mode (where there is a fixed number of monsters, ten per skill level) and items respawn.

Multiplayer

Multiplayer gameplay includes twelve modes:[8]

  • "Free For All": Non-teamplay, meant for free-for-all and duel games. This mode is often used for prewar and setting up teams.
  • "Coop Edit": Players can edit maps offline or online with others simultaneously.
  • "Teamplay": Like Free For All, only allied with those whose team variable is the same as the player's.
  • "Instagib": All players spawn with full rifle ammo and 1 health. No items are available (non-teamplay and teamplay).
  • "Efficiency": All players have two ammo packs each with 256 health (non-teamplay and teamplay).
  • "Insta Arena": When fragged (killed), players stay dead until there is only one player remaining, and then a new round begins; each player only has the rifle and fist (non-teamplay and teamplay).
  • "Tactics Arena": Like Insta Arena, but each player randomly gets two out of the four possible weapons (with fist), and two ammo packs each (non-teamplay and teamplay).

Development

Game engine

The Cube engine was designed as an outdoor engine, i.e. it's designed for maps that are outdoors rather than Doom and Quake, which are optimized for indoors. It utilizes a pseudo-3D world model similar to the Doom engine, based on a 2D height map. This imposes some limitations (e.g. no rooms above rooms), but does permit slopes and 3D props, which in turn can be used to make up for most limitations, for example, to create bridges with a passage below.

The engine is based on zero-precompilation philosophy—all map data is interpreted dynamically, with no need to recalculate such as shadowmaps or BSP data. This makes realtime in-game map editing feasible. Cube supports multi-user, realtime map editing.

The engine is compact and relies on simplicity and brute force instead of fine-tuned complexity.[9]

Further development

Engine

Early revision of ActionCube, later renamed AssaultCube

The engine was reused for several other games, the developers usually modified the engine to adapt it to the needs of their projects.

However, there also are changes of unclear nature. The main reason for this is that the engine code is not clearly separated from the game code. Such changes of unclear nature appear both in mods of Cube and in other games using the Cube Engine.

When the engine is modified, the changes tend to be minor but there also are cases where the changes are significant, such as in AssaultCube (released in November 2006[10]) and its fork AssaultCube Reloaded[11] (released in December 2010[12]).

Ports

Intel ported the game to OpenGL ES to demonstrate a new mobile 3D chipset at the Game Developers Conference in 2005.[5][13]

A Cube port, intended as a technology demo was submitted to the iPhone in 2008, and was released to the iPhone App Store on November 18.[14][15]

A version of AssaultCube for Android was released in May 2021.[16]

Successors (other engines)

Cube 2 Engine

Cube 2, released in 2004, is the official successor of Cube. It uses another engine, the Cube 2 Engine. Even if the earliest revisions of Cube 2 Engine were based on the Cube Engine, it became with time very different. There are many differences between the Cube Engine and the Cube 2 Engine, including two major ones.

One of these two major differences is the geometry. Unlike the Cube Engine, that has a 2.5D geometry, the Cube 2 Engine has a real 3D geometry.

The other of these two differences is the fact that the source code is foldered. The code of the engine and the game specific code are in two different folders and a third folder contain shared code, allowing communication between the game specific code and the engine. This third folder is named shared and the one containing the engine is named engine. the name of the folder containing the game specific code is often the name of the game but not always. In the Cube 2: Sauerbraten source code, the one of Sauerbraten is named fpsgame and the one of Eisenstern (the RPG embryo that come with most releases of Cube 2: Sauerbraten) is named rpggame. Alongside these folders, there are other folders, containing libraries used by the engine, the game(s) or both.

This does not prevent engine modifications. Blood Frontier then Red Eclipse (before the version 2.0 of Red Eclipse) used modded versions of the Cube 2 Engine. A part of the features of these modified versions, such as the rain particles effect, were later added to the official version of the engine.

Tesseract

Several forks of the Cube 2 Engine were made but only one of them is its official successor, Tesseract. This engine actually share its name with the game it was made for, unlike its predecessors (the Cube Engine was made for Cube and the Cube 2 Engine was made for Cube 2: Sauerbraten).

Others

Cube was used in a computer science course at Brown University 2006.[17]

Reception

Cube was reviewed positively by LinuxDevCenter in 2002[2] and awarded with the "Happypenguin Award" for "Best Free 3D Action Game" by The Linux Game Tome in 2003.[18] In 2005 in an O'Reilly article on "Open Source Mac Gaming" Cube was recommended.[19] MacUpdate rated the game's latest release 4.5 stars out of 5.[20] Cube was downloaded between 2004 and May 2017 alone from SourceForge.net 2.7 million times.[21]

See also

References

  1. 1.0 1.1 1.2 "cube". cubeengine.com. http://www.cubeengine.com/readme.html. 
  2. 2.0 2.1 Howard Wen. "Free Frags with Cube: The Linux First-Person Shooter". linuxdevcenter.com. O'Reilly Media. http://www.linuxdevcenter.com/pub/a/linux/2002/10/10/cube3d.html. 
  3. Barr, Joe. "'Tis the season to frag with Linux". linuxworld.com.au. IDG. http://www.linuxworld.com.au/index.php/id;924782336. 
  4. "Cube PC game - Mod DB". moddb.com. 27 August 2005. http://www.moddb.com/games/cube. 
  5. 5.0 5.1 "pda shots". cubeengine.com. http://www.cubeengine.com/cube_intel_pda/. 
  6. "cube history". cubeengine.com. 2006-01-27. http://cubeengine.com/docs/history.html. 
  7. Spencer, Bill. "CUBE free FPS game guide". http://www.intergate.com/~spentron/cube/cube.html. 
  8. "cube fps game". cubeengine.com. http://www.cubeengine.com/docs/game.html. 
  9. "Cube Engine Games". cubeengine.com. http://www.cubeengine.com/cube.php4. 
  10. "AssaultCube - Features in a Nutshell". assault.cubers.net. http://assault.cubers.net/#nutshell. 
  11. "AssaultCube Reloaded". acr.victorz.ca. https://acr.victorz.ca. 
  12. "Release 2.0.1-2.2.3 (0.1.0-0.11.0 semver)". acr.victorz.ca. https://github.com/acreloaded/acr/releases/tag/v2.0.1-v2.2.3. 
  13. "Migration: Porting a Game from PC to handheld" (PPT). http://www.khronos.org/developers/library/sf_2005/opengles_general/Intel_Porting-PC-to-Handheld.ppt. 
  14. "Cube". fernlightning.com. http://www.fernlightning.com/doku.php?id=iphone:cube:start. 
  15. arn (October 2008). "'Cube' First Person Shooter Coming Soon". toucharcade.com. Touch Arcade. http://toucharcade.com/2008/10/27/cube-first-person-shooter-coming-soon/. 
  16. "AssaultCube Mobile". assault.cubers.net. 2021-05-02. https://forum.cubers.net/thread-9094.html. 
  17. "CS138 Course Description, January - May 2006". cs.brown.edu. http://www.cs.brown.edu/courses/cs138/old/2006/. 
  18. "And the winners are...". happypenguin.org. http://happypenguin.org/forums/viewtopic.php?t=549. 
  19. Open Source Mac Gaming by Robert Daeley on O'Reilly Media, Inc. (2005)
  20. "Cube 2005-08-29 - MacUpdate". macupdate.com. http://www.macupdate.com/info.php/id/19822/cube. 
  21. stats 2000-05-14+to+2017-05-20 on sourceforge.net

External links