Git Product home page Git Product logo

metro's Introduction

Build Status

METRO

METRO is a small and simple rapid transit simulator. You can build tracks and stations, buy trains and realize a massive transport system by creating an efficient railway network.

In addition to this page, there's also a [wiki](https://github.com/hauke96/METRO/wiki) for more detailed non-tech information.

For developer

Contribute

There's currently only one thing you can contribute: Report bugs, errors and feature wishes. If you have something you want to tell me, just go into the issues section and create a new ticket. I'll process the ticket as soon as possible.

For Player

If you have compiled the source into a jar or started the project via you favorite IDE, there will appear the main menu. Just click on Play and the game starts. Currently there are no save games implemented (this comes later).

Settings

Pressing ESC -> Settings will lead you into the settings window. There are some options available yet (e.g. resolution) and maybe there'll be more in the future. If you've troubles with changed settings, just remove the settings.cfg file and start the game (METRO will generate a default new one).

Strange circles

The circles show the population in this region. The more people live there, the more people wants to travel. The population index (between 0 and 9) is shown by hovering a ring with the cursor.

Important words

  • track - Tracks have no function. A train can move on tracks, but only if you tell them.
  • line - You can define a train line (or just line) to tell a train where to move.
  • station - You can tell a train to stop there. Passengers can now enter or leave the train.
  • node - A railway node (or just node) is just a point where a train or station can be. If two nodes are next to each other there will appear a line (s.o.). A train just moves from node to node.

Little guide

This is a small guide showing you how to do the most important things.

Create tracks and stations

Now you have the normal map (with the grid and these strange circles), the info bar in the top-left corner, the tool bar on the left side and some debug-information on the top.

To built new tracks (the first thing to do), just click on the second button on the tool bar. Now you can choose a start point (first click) and an end point (second click). By right clicking you can cancel the building process.

These tracks need stations so click on the first button to build stations (just click). When you're finished just click right to go back to the normal mode.

Create line

To tell a train where to drive, you must define train lines to do that. Just click on the third icon in the tool bar to open the train line dialog.

A line can have a name, a color and an amount of railway nodes. Click on Create line to create a new line. After clicking on that button, you can click on each node that should be in this line.

(In)valid lines

To finish the process, the line has to be valid. If one of these conditions is true, the line is not valid:

  • There's no node in the line
  • There's only one node in the line
  • There's at least one gap in the line

Normally a small message label will be visible, telling you whats wrong with the settings you've chosen.

Edit lines

It's also possible to edit a line. Just click on a line in the list and then on the Edit button.

Create new trains

To buy a new train you can click on the last button on the toolbar which will lead you into the train management where you can buy new trains, edit existing or sell trains. On the top half of the dialog there are two lists: The line list on the right and the train list (showing all trains of the selected line) on the left. The list on the bottom shows all train models you can buy.

Train Models

There will be many train models you can choose between. Some are more expensive but also more lucrative than others and so on. One important part of the trains is their lifetime. They don't get any damage or something but the money you have to pay each month to pay the operating costs, is rising with each month. After some years the costs of a train are so high that the earning of a full train is less than its costs.

On that point you can decide between increasing rising the price per ticket or buying a new train (you can also buy the same model again).

There's already a 'buy'- but no 'manage'- or any other functionality yet.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.