Cube (video game)

{{About|the 2001 indie shooter|other uses|Cube (disambiguation)}}{{Not to be confused|The Cube (video game)}}{{Infobox video game

|title = Cube

|image = Cube_game_icon_green.png

|developer = Wouter van Oortmerssen{{cite web | url=http://www.cubeengine.com/readme.html | title=cube |access-date=2009-02-24 | work=cubeengine.com}}

|designer = Wouter van Oortmerssen

|composer = Marc A. Pullen

|engine = Cube Engine

|released = 2001–2005

|genre = First-person shooter

|modes = Multiplayer, single-player

|platforms = Cross-platform

}}

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

{{cite web |url=http://www.linuxdevcenter.com/pub/a/linux/2002/10/10/cube3d.html |title=Free Frags with Cube: The Linux First-Person Shooter |access-date=2008-11-11 |author= Howard Wen |work=linuxdevcenter.com |publisher=O'Reilly Media}}{{cite web |url=http://www.linuxworld.com.au/index.php/id;924782336 |archive-url=https://web.archive.org/web/20080731084748/http://www.linuxworld.com.au/index.php/id;924782336 |url-status=dead |archive-date=2008-07-31 |title='Tis the season to frag with Linux |access-date=2008-11-11 |first=Joe |last=Barr |work=linuxworld.com.au |publisher=IDG}}{{cite web |url=http://www.moddb.com/games/cube |title=Cube PC game - Mod DB |access-date=2008-11-11 |work=moddb.com|date=27 August 2005}}

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.{{cite web |url=http://www.cubeengine.com/cube_intel_pda/ |title=pda shots |access-date=2008-11-09 |work=cubeengine.com}} 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.{{cite web |url=http://cubeengine.com/docs/history.html |title=cube history |date=2006-01-27 |access-date=2013-02-17 |work=cubeengine.com}}

The first release with single-player mode was in January 2002.{{cite web | url= http://www.intergate.com/~spentron/cube/cube.html | archive-url = https://web.archive.org/web/20080226091714/http://www.intergate.com/~spentron/cube/cube.html | archive-date = 2008-02-26 | title = CUBE free FPS game guide | access-date = 2008-11-15 | first= Bill | last=Spencer}} The latest update of Cube was released on August 29, 2005.

Its engine has been reused for several other games, of which AssaultCube, released in November 2006, is the most popular.

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

Gameplay

File:Cube_screenshot_199627.jpg

File:Cube screenshot 1914089.jpg

As of the August 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. One is a plain single-player mode in which items and monsters do not respawn and have a fixed position; the other is 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:{{cite web |url=http://www.cubeengine.com/docs/game.html |title=cube fps game |access-date=2008-11-11 |work=cubeengine.com}}

  • "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 a 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.{{cite web |url=http://www.cubeengine.com/cube.php4 |title=Cube Engine Games |access-date=2008-11-09 |work=cubeengine.com}}

=Further development=

== Engine ==

File:ActionCube game 800x600.jpg]]

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 are also 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{{cite web |url=http://assault.cubers.net/#nutshell |title=AssaultCube - Features in a Nutshell |access-date=2010-06-22 |work=assault.cubers.net |archive-url= https://web.archive.org/web/20100623004621/http://www.assault.cubers.net/ |archive-date= 23 June 2010 |url-status= live}}) and its fork AssaultCube Reloaded{{cite web |url=https://acr.victorz.ca |title=AssaultCube Reloaded |access-date=2021-01-17 |work=acr.victorz.ca |url-status= live|archive-url=https://web.archive.org/web/20120419205839/http://acr.victorz.ca:80/ |archive-date=2012-04-19}} (released in December 2010{{cite web |url=https://github.com/acreloaded/acr/releases/tag/v2.0.1-v2.2.3 |title=Release 2.0.1-2.2.3 (0.1.0-0.11.0 semver) |access-date=2021-01-17 |work=acr.victorz.ca}}).

=== Ports ===

Intel ported the game to OpenGL ES to demonstrate a new mobile 3D chipset at the Game Developers Conference in 2005.{{cite web |url=http://www.khronos.org/developers/library/sf_2005/opengles_general/Intel_Porting-PC-to-Handheld.ppt |title=Migration: Porting a Game from PC to handheld |format=PPT |access-date=2008-11-11 |url-status=dead |archive-url=https://web.archive.org/web/20110615153018/http://www.khronos.org/developers/library/sf_2005/opengles_general/Intel_Porting-PC-to-Handheld.ppt |archive-date=2011-06-15}}

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.{{cite web | url = http://www.fernlightning.com/doku.php?id=iphone:cube:start | title = Cube | access-date = 2008-11-15 | publisher = fernlightning.com | archive-url = https://web.archive.org/web/20161002050532/http://www.fernlightning.com/doku.php?id=iphone:cube:start | archive-date = 2016-10-02 | url-status = dead}}{{cite web | url = http://toucharcade.com/2008/10/27/cube-first-person-shooter-coming-soon/ | title = 'Cube' First Person Shooter Coming Soon | author = arn | date = October 2008 | publisher = Touch Arcade | access-date = 2008-11-15 | work = toucharcade.com}}

A version of AssaultCube for Android was released in May 2021.{{cite web |url=https://forum.cubers.net/thread-9094.html |title=AssaultCube Mobile |date=2021-05-02 |access-date=2022-01-20 |work=assault.cubers.net}}

== Successors (other engines) ==

=== Cube 2 Engine ===

Cube 2: Sauerbraten, released in 2004, is the official successor of Cube. It uses another engine, the Cube 2 Engine. While the earliest revisions of the Cube 2 Engine were based on code from the Cube Engine, with time it became 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, which 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 contains 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, and later Red Eclipse (before the version 2.0 of Red Eclipse), used modded versions of the Cube 2 Engine. Some 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 shares 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 in 2006.{{cite web |url=http://www.cs.brown.edu/courses/cs138/old/2006/ |title=CS138 Course Description, January - May 2006 |access-date=2008-11-11 |work=cs.brown.edu |url-status=dead |archive-url=https://archive.today/20120731193114/http://www.cs.brown.edu/courses/cs138/old/2006/ |archive-date=2012-07-31}}

Reception

Cube was reviewed positively by LinuxDevCenter in 2002 and awarded with the "Happypenguin Award" for "Best Free 3D Action Game" by The Linux Game Tome in 2003.{{cite web |url=http://happypenguin.org/forums/viewtopic.php?t=549 |title=And the winners are... |access-date=2008-11-09 |work=happypenguin.org |url-status=usurped |archive-url=https://web.archive.org/web/20120919010143/http://happypenguin.org/forums/viewtopic.php?t=549 |archive-date=2012-09-19}} In 2005 in an O'Reilly article on "Open Source Mac Gaming" Cube was recommended.[http://archive.oreilly.com/pub/post/open_source_mac_gaming.html Open Source Mac Gaming] {{Webarchive|url=https://web.archive.org/web/20170916182256/http://archive.oreilly.com/pub/post/open_source_mac_gaming.html |date=2017-09-16}} by Robert Daeley on O'Reilly Media, Inc. (2005) MacUpdate rated the game's latest release 4.5 stars out of 5.{{cite web |url=http://www.macupdate.com/info.php/id/19822/cube |title=Cube 2005-08-29 - MacUpdate |access-date=2008-11-09 |work=macupdate.com |url-status=dead |archive-url=https://web.archive.org/web/20081019232342/http://www.macupdate.com/info.php/id/19822/cube |archive-date=2008-10-19}} Cube was downloaded between 2004 and May 2017 alone from SourceForge.net 2.7 million times.[https://sourceforge.net/projects/cube/files/stats/timeline?dates=2000-05-14+to+2017-05-20 stats 2000-05-14+to+2017-05-20] on sourceforge.net

See also

{{Portal|Free and open-source software|Video games|Amiga}}

References

{{Reflist|30em}}