Navigation

  • Recent
  • Tags
  • Users
  • Search
  • Login
Colyseus
  • Login
  • Search
  • Recent
  • Tags
  • Users

Documentation GitHub

We're migrating to GitHub Discussions. This forum does not accept new registrations since April 6, 2023.
  1. Home
  2. halftheopposite
  3. Best
  • Profile
  • More
    • Continue chat with halftheopposite
    • Flag Profile
    • Following
    • Followers
    • Topics
    • Posts
    • Best
    • Groups

Best posts made by halftheopposite

RE: Check out my game TOSIOS: The Open-Source IO Shooter.

Hi everyone!

It's been a long time since my first post on this forum, and I have made a lot of changes since to TOSIOS (https://github.com/halftheopposite/tosios).

These changes include:

  • A simplified code structure (I will try to simplify the code even more).
  • A fully working mobile mode (still a few bugs with the orientation of the device sometimes).
  • A revamped HUD written purely with React (this should have been a no-brainer from the beginning, as composing interfaces in React with the power of CSS makes things 10x faster. This HUD includes:
    • Better messages from the game's events.
    • More contextual information.
    • A leaderboard.
    • A menu to explain keymaps and to share a game's link.
  • Simple AI for flying bats that patrol, chase and attack players.
  • A Team Death Match mode.

The new HUD:
0_1589125257938_banner.jpg

The leaderboard:
1_1589125284181_Screen Shot 2020-05-10 at 2.09.08 PM.png

The menu:
0_1589125284180_Screen Shot 2020-05-10 at 2.08.32 PM.png

The mobile version of the game:
0_1589125262547_mobile.jpg

In the incoming months I have a few plans regarding the game:

  • A better and more generic client-side prediction and lag-compensation.
  • Power ups (other weapons, buffs, etc.)
  • Bouncy bullets (for a more challenging gameplay)

As always the game's licenses does not changes and you a free to explore and modify the source code as you wish (regarding the MIT license).

I am in need of any feedback that could improve the gameplay and the developer experience too, so please do not hesitate to share what's on your mind!

Thank you all

posted in Showcase • 10 May 2020, 15:48
Check out my game TOSIOS: The Open-Source IO Shooter.

Hi everyone,

I've been working for a few months on a browser multiplayer shooter game: TOSIOS GitHub page.

0_1569237950425_968a12a2-009c-4c99-8aa5-009f5a2865a6-image.png

DEMO: https://tosios.online

Goals
I had 3 goals in mind when I developed this game:

  1. Code my first multiplayer browser game.
  2. Make it open-source.
  3. Provide an easy way for anyone to deploy and modify it.

Game's rules
The game principles are fairly easy to grasp:

  • Every player is positionned randomly on the map during the lobby.
  • When the game starts, each player must take down others.
  • There are some potions on the map that restore health.
  • The last one alive wins 🎉.

Movements

  • Move: W A S D or ↑ ← ↓ →.
  • Aim: Mouse
  • Shoot: Left click or Space

Tech stack
The whole project is a monorepo using yarn workspaces and coded in TypeScript. It is composed of:

  • client: A react application using PIXI.js
  • server: A colyseus (why would I post it here otherwise) and express.
  • common: A set of utils and constants used in both project.

You can either use the docker-compose file which uses an automatically published image from Docker Hub.

You can also build the docker image yourself using the Dockerfile.

Future
I play this game with friends regularly and we all have much fun (this is how the project started in my mind), and there are a lot of features that I'm developing or that I will develop:

  • Mobile-mode (~50% complete)
  • Other potions/buffs
  • A 4th map
  • Better compatibility with Windows (the mv command doesn't work, I should use the move instead)

Please tell me what you guys think, and please don't hesitate to share this with friends or colleagues at work!

posted in Showcase • 23 Sept 2019, 11:38
RE: Colyseus.js "Cannot read property '_schema' of undefined".

Hi @KiloGram,

I ran into a similar issue a few weeks ago, and this problem has normally been resolved in the lastest versions. You can check out this GitHub ticket that I had created -> https://github.com/colyseus/colyseus/issues/227.

TD;DR: Delete your node_modules and package-json.lock and run an npm i.

posted in Questions & Help • 9 Apr 2019, 08:34
RE: Check out my game TOSIOS: The Open-Source IO Shooter.

@marwan38 Needless to say that I'm flattered! I'm glad that my little project has been able to help you so far, as I am really not a game dev at first. Lately I've improved the whole architecture by removing a lot of code, making a cleaner and more flexible hud, using r-trees for collisions on the client and server side, and making actions more responsive. Though there are still a few minor bugs, but nothing really critical.

And nice to hear the game was working great on mobile! I'm really working hard to have a similar experience on both desktop and phones.

PS: I'll check your pm

posted in Showcase • 16 Oct 2019, 16:42

© 2023 Endel Dreyer