Skip to content

mobilex1122/TS-Game-Vite

Repository files navigation

TS-Game-Vite

Game made in TS with custom made game engine that's being developed at the same as the game and will be relased as separate game engine in future.

Note: This is continuation of mobilex1122/TS-Game ported to Vite for better and faster loading/building.

Relased Versions

Option 1: Online version (Easy)

  • Go to releases and find online version link

  • Alternatively go to https://mobilex1122.eu/games/ts-game-vite/<relase tag>/

    Example for tag b2: https://mobilex1122.eu/games/ts-game-vite/b2/

Option 2: Local play (Advanced)

  1. Go to releases and download Game.zip
  2. Extract Game.zip in new folder
  3. Run any html server inside that folder. Recomended (and easy) html servers:
    • VS Code Live server:
      1. Open extracted folder in VS Code
      2. Install Live Server
      3. Run Live Server (Go Love button in bottom right panel)
    • Python http server
      1. Install python
      2. Open extracted folder in terminal (Or navigate to it)
      3. Run python -m http.server
  4. Open server adress in web browser (http:https://localhost:<port>)

Manual Build or Setup for development

  1. Install node.js
  2. Run npm install inside project folder
  3. Run npm run dev to run live server or run npm run build to make static version.

TODO

  • Collisions
  • Object Management
  • Render Distance (Don't render things that are not on screen)
  • Sound
  • Animated character
  • Bigger resolution (right now 500x500)
  • Textures

Limitations (as for version b3)

  • Map limited to chunks (all chunks are rendered at the same time)
  • Tileset limited to 16x16 (Hardcoded)
  • Chunks limited to 16x16 (Hardcoded)