Skip to content

A 2D train driving game/simulator made with Python

Notifications You must be signed in to change notification settings

evermine18/TrainGame

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Page

Train Game

A 2D train driving game/simulator made with Python

Project Description

This project is made for educational purposes, I wanted to get involved in making a game in python to know that I can learn and overcome personal challenges, it is made with python and using pygame as a library. This game pretends to be a 2D simulator of metropolitan trains.

Warning: The simulation is not 100% to the real one, but I will try to inform myself and I appreciate comments that allow me to improve functionalities so that it resembles it as much as possible

Getting Started

In this section I will explain how to install the requirements and be able to start the game

Prerequisites

We will need to install Python 3 and Pygame(library)

  • Python 3: In the case of windows we will find it in the Microsoft Store it is simply to install it, but on Ubuntu it requires this command in Terminal.

    sudo apt-get update
    sudo apt-get install python3.6
  • Now we need Pygame, we open a terminal and install it with:

    pip install -U pygame --user

Installation

  1. Clone or download the repo:
    git clone https://github.com/evermine18/TrainGame.git
  2. Enter the folder where the project is
  3. Start ir with:
    python main.py

MINIMAL TODO

  • Animation system
  • Add UI to the game with main menu
  • Train UI
  • More map editor tools
  • Possible multiplayer
  • Engine phisics
  • Basic sprite rendering
  • Sprite rendering with png
  • Update sprite position
  • Engine that is responsible for updating the position of each object
  • Keyboard events
  • Mapping tool and map load system
  • Camera System
  • Render Optimizations
  • Works with any resolution
  • More realistic speed

This project uses

About

A 2D train driving game/simulator made with Python

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages