Giter Club home page Giter Club logo

sge's Introduction

SGE (Version 0.3)

A simple Python game engine used for creating simple 2D games. It is built on the Python Turtle module and is compatible with Python 2.x and 3.x.

IT IS VERY MUCH A WORK IN PROGRESS

Overview:

The purpose of the Simple Game Engine is to give beginning Python coders a simple framework to make basic 2D games. It is intended as a simple alternative to Pygame. As it is built on the Turtle module, it has the same features and limitations of that module. It does not require any external libraries to be added.

Getting Started

Download the repository to your computer. There are 2 demo files, SGE_Demo.py which is a simple game using primitives (triangles and circles). Use the left arrow, right arrow, and up arrow to control the player. The other demo, SGE_Minimal_Example.py contains a simple game framework which will create a window - use this as the basis of your own programs. Note: I used tabs, not spaces.

Known Issues

Image files need to be in .gif format. This is a limitation of the turtle module.

Sound files should be in .wav format for widest compatibility.

On Windows, SGE uses the winsound module to play sounds. I have not tested this yet as I do not have access to Windows at the moment.

Documentation Available on the Wiki

Follow me on Twitter @tokyoedtech

Various tutorials available on my YouTube Channel

sge's People

Contributors

wynand1004 avatar

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.