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
This project was created for purpose to easily create game playable in browser for future projects and to apply Typescript and game design skills.
✅ 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, ...
⌛ Collision systemm
⌛ Animation using spritesheet
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