Skip to content

maderarasto/ts-create-game

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

79 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Typescript Create Game

The project is a template for simple game using TypeScript language. The application is handled in main game loop that is responsible for handling events, updating game logic and real-time rendering of visual content for each processed frame.

Tags: TypeScript, Game, Game development

Table of Content

  1. Motivation
  2. State of project
  3. Configuration
  4. Getting started

Motivation

This project was created for purpose to easily create game playable in browser for future projects and to apply Typescript and game design skills.

State of project

Done

✅ Main game loop (handling events, updating game logic, rendering visuals)
✅ Asset manager (loading assets from local files and accessing them on request)
✅ Entities for representation of static and movable objects
✅ Commands a command queue for simple execution of entity actions
✅ Input controller for simple registration input keys for player
✅ Application states and state stack
✅ UI library for simple rendering elements such as texts, static images, ...

In development

⌛ Collision systemm
⌛ Animation using spritesheet

Configuration

This project is created with build tools Vite so you have to install all dependeciens using NPM package system. If you do not have NPM you can install Node.js which also includes NPM. After installation you can install project dependencies with command:

npm install

After setup you can start game application with comand:

npm run start

or alternitavely in development environment you can run applicaiton with watching changes in project using command:

npm run dev

Getting started

About

Template for creating a simple game in Typescript.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published