The game is deployed at https://warped.lukaslitvan.cz/.
- Genre: Space Shooter
- Library: PixiJS
- Space: 2D view from the top, player cannot move outside of the screen
- Objects: player (spaceship), enemies, meteorites, power ups
- Actions:
- moving within the boundaries of the screen
- shooting and destroying enemies, meteorites
- picking up lives, laser upgrades, shield
- Rules
- the goal is to obtain as much score points as possible by destroying enemies/meteorites
- if player runs out of lives, the game ends
- player can move with WASD and shoot with left mouse click towards the current mouse position
- at the start, player has 3 lives and shoots with basic laser
- player can sometimes get another life, laser upgrades or a shield for 10 seconds from destroyed meteorites
- the enemies spawn more based on elapsed time
- the project is powered by ParcelJS, TypeScript, PixiJS and ECSLite libraries
- install NodeJS
- execute
npm install
- execute
npm run dev
- go to
localhost:1234
and find the project there
- lint: run
npm run lint
to see if there are linting errors. They can be fixed by usingnpm run lint -- --fix
- compilation test: run
npm run compile-test
to see if there are any TypeScript errors - deployment: run
npm run deploy
and find the deployed project in thebuild
folder
- Math library with functions for pathfinding, perlin noise, steering behavior, etc. Also, it includes structures such as heap, linked-list, and priority queue
- this library is used by the example repo, the link of which you can find on the web
- ECSLite library for component architecture. The documentation can be found on the web
- parcelJS is a simple bundler that requires minimum configuration (alternative to webpack)