GithubHelp home page GithubHelp logo

studenttraineecenter / stcengine Goto Github PK

View Code? Open in Web Editor NEW
2.0 1.0 0.0 4.59 MB

A simple 2D game engine made for a graduate thesis for the STC program.

License: MIT License

C# 100.00%
2d-game-engine csharp game-2d game-development game-engine platformer rpg

stcengine's Introduction

STCEngine

This is a 2D game engine made for a graduate thesis for the STC program. It allows the user to create a simple 2D game and easily modify the level using JSON. It is mostly made for RPGs, but other genres are possible as well.
The repository contains two demos, a user manual and the source code for one of the demos.

Features

The engine allows the user to create a simple 2D game using premade "Components" attached to "GameObjects" written in JSON. To further modify the game logic, the user has to edit the game script. (more information in the Modification section) More components may be added in the future, for example physics simulation.

Installation

  1. Navigate to the place where you want the app to be downloaded in Command Prompt.
  2. Clone the repository using git clone https://github.com/StudentTraineeCenter/STCEngine.git or git clone -b Platformer https://github.com/StudentTraineeCenter/STCEngine.git

Demos

The STCEngine Demos directory contains two demos to demonstrate the basic functionality, as well as a Czech user manual on controls and level editing. To start a demo, run STCEngine Demos/RPG Demo/net6.0-windows/STCEngine.exe
or STCEngine Demos/Platformer Demo/net6.0-windows/STCEngine.exe.

Demos showcase:

Combat mechanics: Návrh bez názvu

NPC dialogue: Návrh bez názvu (1)

Dropping and collecting items: Návrh bez názvu (2)

Platformer gravity and jumping: Návrh bez názvu (3)

Modification

Simple level editing is possible by changing the JSON files in the Assets folder in the same folder as is the .exe file of the demo you wish to edit. Details on how to create GameObjects is in the user manual at STCEngine Demos/Uživatelská příručka.docx.

Example of a JSON GameObject configuration:
image

Game logic modification is possible by editing the Test Apka STC Engine/Game.cs script and building the application. (to open the project in Visual Studio, open Test Apka STC Engine/STCEngine.sln)

This branch contains the source code for the RPG demo, if you wish to see the platformers source code, switch to the "Platformer" branch.

Thank you for checking this out! :)

stcengine's People

Contributors

admexir avatar

Stargazers

Petr Kučera avatar  avatar

Watchers

Matyáš Koc 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.