Difference between revisions of "Games"

From Minetest Wiki
Jump to navigation Jump to search
(Move to subgames)
Line 1: Line 1:
#REDIRECT [[Subgames]]
+
{{Languages}}
 +
 
 +
Games (previously called subgames) provide are a collection of scripts and media files which the Minetest Engine reads
 +
run. The Engine does not define any blocks or tools or other content, instead they are defined by games.
 +
Support for games is one of '''the''' core features of the Minetest Engine.
 +
Currently, the only game to come prepackaged with the Minetest Engine is [[Minetest Game]].
 +
 
 +
=== Introduction ===
 +
==== Description ====
 +
“Game” is a technical term; in practise, a game could be a complete game, a sandbox, a puzzle, something-in-between or something completely different.
 +
 
 +
Technically, a game is really simple: It's just a collection of [[mods]] and a few extra files (mostly for the main menu images), but packaged together to provide a complete product
 +
which can be used out-of-the-box. When a player starts a games, all the mods packaged with that game will be used.
 +
 
 +
==== Screenshots ====
 +
 
 +
To give you an impression about the variety of possible games in Minetest, here's a screenshot gallery of many games:
 +
 
 +
{{Game gallery}}
 +
 
 +
==== Game examples ====
 +
<!-- NOTE TO EDITORS: This section is intended to give a FEW examples (not more than 10) of games to demonstrate the variety in Minetest games. Please do not list *all* games here, only those which are different enough from the others to demonstrate variety. Unique games are good. -->
 +
 
 +
''Main article: [[List of Games]]''
 +
 
 +
* '''[[Games/Minetest Game|Minetest Game]]''' (<code>minetest_game</code>)
 +
This is the default game in Minetest. It's a rather simple sandbox without any goal. It has some [[Biomes|biomes]] to explore, 6 [[ores]] to mine, a simple [[farming]] system with 2 farmable plants, different [[trees]], and more. You can use [[boat]]s and [[cart]]s for faster travel. There are no [[Mobs|computer-controlled enemies or animals]], so the gameplay is very peaceful. It has all the [[blocks]] and [[items]] and most other stuff you find in this wiki.
 +
 
 +
* '''[[Games/Lord of the Test|Lord of the Test]]'''
 +
A mix of the “voxel sandbox” and the role-playing game genres which takes place on Middle Earth from the Lord of the Rings triology by J. R. R. Tolkien.
 +
 
 +
* '''[[Games/Minetest Saturn|Minetest Saturn]]'''
 +
A space simulation near the planet Saturn. You control a small space ship and can fly in all 3 dimensions (just like in space) and mine for ores in asteroids, do package deliveries between space stations, upgrade your ship or combat enemies. It is very different from the other games.
 +
 
 +
* '''[[Games/Minetest Hades|Minetest Hades]]'''
 +
This is another mostly sandbox game, but a bit more challenging than the others. You start on the volcanic planet Hades with large lava seas and a very rough terrain and barren terrain formation. Go mining and use your crafting and building skills for terraforming to turn the land into a beautiful habitable land.
 +
 
 +
<!-- Maybe this example should be removed when the list becomes too crowded -->
 +
* '''[[Games/Minimal development test|Minimal development test]]''' (<code>minimal</code>)
 +
This game is not intended for playing, just for testing and development. It is not a game.
 +
 
 +
See the Minetest Forums for a more complete list of games.
 +
 
 +
== User manual ==
 +
=== Using a game ===
 +
Assuming you already have a few games, here's how to use them:
 +
 
 +
# Start Minetest
 +
# On the game icon bar (4), click on the game you want to play. (On the first start, Minetest Game is pre-selected)
 +
# Create a new [[Worlds|world]] by clicking on “New”
 +
# Enter a world name, select a [[Map generator]] and hit “Create”
 +
# Click “Play Game”
 +
 
 +
Here's the annotated singleplayer menu of Minetest, in this example the user has installed tons of games:
 +
 
 +
[[File:Minetest_main_menu_annotated.png|Main menu]]
 +
 
 +
* 1: '''Game banner''': Usually this shows a text logo for the current game. It's “Minetest Game” in this case
 +
* 2: '''Icon of Minetest Game''': This is the icon of Minetest Game, the default game
 +
* 3: '''Game name''': Name of the current active game
 +
* 4: '''Game icon bar''': Each icon represents a game, click on an icon to select a new game, click on the arrows to scroll
 +
* 5: '''List of worlds''': Valid for the currently selected game only
 +
* 6: '''Basic settings'''
 +
 
 +
=== Finding games ===
 +
The first game you probably already have is Minetest Game. Finding it is trivial. ;-)
 +
 
 +
The main place to find other games is in the Minetest Forums. Almost everyone who creates games posts it in the forums:
 +
 
 +
* [https://forum.minetest.net/viewforum.php?f=15 Minetest Forums: Game Releases]
 +
* [https://forum.minetest.net/viewforum.php?f=50 Minetest Forums: WIP Games]
 +
 
 +
On other webpages you can find a different look on games if you find navigating the forums hard. Those pages are usually incomplete.
 +
 
 +
* [[List of Games]]
 +
* [https://lgdb.org/engine/minetest Linux Game Database: Game engine entry for “Minetest”] (very incomplete)
 +
 
 +
=== Installing games ===
 +
 
 +
Usually games are distributed in Zip archives (other archive formats such as <code>.tar.gz</code> are of course possible, too). Follow these steps to install a game from an archive:
 +
 
 +
* Get the archive which contains the game
 +
* Extract (or unzip) the archive into the the <code>games</code> sub-directory of Minetest. The location of this directory depends on your operating system:
 +
** '''GNU/Linux''': <code>$HOME/.minetest/games</code>, where “<code>$HOME</code>” refers to your home directory.
 +
** '''Mac OS''': <code>$HOME/.minetest/games</code>, where “<code>$HOME</code>” refers to your home directory.
 +
** '''Windows''': into the <code>games</code> directory found in the main program folder in which you have installed Minetest. It is the directory containing the directories like <code>bin</code> (which in turn contains <code>minetest.exe</code>), <code>builtin</code>, <code>client</code>, <code>doc</code>, <code>fonts</code>, <code>games</code>, <code>locale</code>, <code>mods</code>, <code>textures</code>, etc.
 +
 
 +
The game should now be installed and be found at the next Minetest start.
 +
 
 +
Now you can start Minetest and the game should have been found by Minetest. You can select the new game in singleplayer mode by clicking one of the icons at the bottom or by creating a new world.
 +
 
 +
=== Playing on servers ===
 +
You can also “find” games by just joining a highly customized [[Server|server]]. While many servers host Minetest Game or (most likely) a modded variant of it, some servers host other games as well. Because of the nature of Minetest, every server can be unique. Joining a server is a good way to quickly explore the possibilities of Minetest without needing for a manual game installation.
 +
 
 +
 
 +
== Troubleshooting ==
 +
 
 +
To help you finding the correct location, here is an example directory listing to help you make sure that the game was installed into the correct directory. In this diagram, the game directory is located at “<code><GAME></code>”. After installation, the directory tree should look more or less like this (note that some files or directories are optional, but all directories must be, if present, in the corrent position of the tree):
 +
 
 +
<pre>
 +
minetest/
 +
├── bin/
 +
├── builtin/
 +
├── (other uninteresting directories)
 +
├── games/
 +
│  ├── <GAME>
 +
│  │  ├── mods/
 +
│  │  │  └── (usually a lot of mod directories)
 +
│  │  ├── menu/
 +
│  │  │  └── (some PNG files)
 +
│  │  └── game.conf
 +
│  └── <ANOTHER GAME>
 +
        └── (same directories as for the game above)
 +
</pre>
 +
 
 +
Note that the directory name of the game does not matter; you can even change it after initial installation. But renaming the game directory afterwards is not recommended because Minetest won't find the existing worlds for the game anymore.
 +
 
 +
You also can use the environment variable <code>MINETEST_GAME_PATH</code> to define the location of the <code>games</code> directory, but this is usually not required.
 +
 
 +
== See also ==
 +
* [http://dev.minetest.net/Games Creating games] on the [http://dev.minetest.net Minetest-dev wiki].
 +
 
 +
[[Category:Games]]

Revision as of 16:13, 12 March 2018

Languages Language: English • français • italiano • 日本語 • Bahasa Melayu

Games (previously called subgames) provide are a collection of scripts and media files which the Minetest Engine reads run. The Engine does not define any blocks or tools or other content, instead they are defined by games. Support for games is one of the core features of the Minetest Engine. Currently, the only game to come prepackaged with the Minetest Engine is Minetest Game.

Introduction

Description

“Game” is a technical term; in practise, a game could be a complete game, a sandbox, a puzzle, something-in-between or something completely different.

Technically, a game is really simple: It's just a collection of mods and a few extra files (mostly for the main menu images), but packaged together to provide a complete product which can be used out-of-the-box. When a player starts a games, all the mods packaged with that game will be used.

Screenshots

To give you an impression about the variety of possible games in Minetest, here's a screenshot gallery of many games:

Game examples

Main article: List of Games

This is the default game in Minetest. It's a rather simple sandbox without any goal. It has some biomes to explore, 6 ores to mine, a simple farming system with 2 farmable plants, different trees, and more. You can use boats and carts for faster travel. There are no computer-controlled enemies or animals, so the gameplay is very peaceful. It has all the blocks and items and most other stuff you find in this wiki.

A mix of the “voxel sandbox” and the role-playing game genres which takes place on Middle Earth from the Lord of the Rings triology by J. R. R. Tolkien.

A space simulation near the planet Saturn. You control a small space ship and can fly in all 3 dimensions (just like in space) and mine for ores in asteroids, do package deliveries between space stations, upgrade your ship or combat enemies. It is very different from the other games.

This is another mostly sandbox game, but a bit more challenging than the others. You start on the volcanic planet Hades with large lava seas and a very rough terrain and barren terrain formation. Go mining and use your crafting and building skills for terraforming to turn the land into a beautiful habitable land.

This game is not intended for playing, just for testing and development. It is not a game.

See the Minetest Forums for a more complete list of games.

User manual

Using a game

Assuming you already have a few games, here's how to use them:

  1. Start Minetest
  2. On the game icon bar (4), click on the game you want to play. (On the first start, Minetest Game is pre-selected)
  3. Create a new world by clicking on “New”
  4. Enter a world name, select a Map generator and hit “Create”
  5. Click “Play Game”

Here's the annotated singleplayer menu of Minetest, in this example the user has installed tons of games:

Main menu

  • 1: Game banner: Usually this shows a text logo for the current game. It's “Minetest Game” in this case
  • 2: Icon of Minetest Game: This is the icon of Minetest Game, the default game
  • 3: Game name: Name of the current active game
  • 4: Game icon bar: Each icon represents a game, click on an icon to select a new game, click on the arrows to scroll
  • 5: List of worlds: Valid for the currently selected game only
  • 6: Basic settings

Finding games

The first game you probably already have is Minetest Game. Finding it is trivial. ;-)

The main place to find other games is in the Minetest Forums. Almost everyone who creates games posts it in the forums:

On other webpages you can find a different look on games if you find navigating the forums hard. Those pages are usually incomplete.

Installing games

Usually games are distributed in Zip archives (other archive formats such as .tar.gz are of course possible, too). Follow these steps to install a game from an archive:

  • Get the archive which contains the game
  • Extract (or unzip) the archive into the the games sub-directory of Minetest. The location of this directory depends on your operating system:
    • GNU/Linux: $HOME/.minetest/games, where “$HOME” refers to your home directory.
    • Mac OS: $HOME/.minetest/games, where “$HOME” refers to your home directory.
    • Windows: into the games directory found in the main program folder in which you have installed Minetest. It is the directory containing the directories like bin (which in turn contains minetest.exe), builtin, client, doc, fonts, games, locale, mods, textures, etc.

The game should now be installed and be found at the next Minetest start.

Now you can start Minetest and the game should have been found by Minetest. You can select the new game in singleplayer mode by clicking one of the icons at the bottom or by creating a new world.

Playing on servers

You can also “find” games by just joining a highly customized server. While many servers host Minetest Game or (most likely) a modded variant of it, some servers host other games as well. Because of the nature of Minetest, every server can be unique. Joining a server is a good way to quickly explore the possibilities of Minetest without needing for a manual game installation.


Troubleshooting

To help you finding the correct location, here is an example directory listing to help you make sure that the game was installed into the correct directory. In this diagram, the game directory is located at “<GAME>”. After installation, the directory tree should look more or less like this (note that some files or directories are optional, but all directories must be, if present, in the corrent position of the tree):

minetest/
├── bin/
├── builtin/
├── (other uninteresting directories)
├── games/
│   ├── <GAME>
│   │   ├── mods/
│   │   │   └── (usually a lot of mod directories)
│   │   ├── menu/
│   │   │   └── (some PNG files)
│   │   └── game.conf
│   └── <ANOTHER GAME>
        └── (same directories as for the game above)

Note that the directory name of the game does not matter; you can even change it after initial installation. But renaming the game directory afterwards is not recommended because Minetest won't find the existing worlds for the game anymore.

You also can use the environment variable MINETEST_GAME_PATH to define the location of the games directory, but this is usually not required.

See also