ably-labs / realtime-multiplayer-space-invaders Goto Github PK
View Code? Open in Web Editor NEWRealtime Multiplayer Space Invaders Game with Phaser 3 and Ably
Home Page: https://space-invaders.ably.dev
License: Apache License 2.0
Realtime Multiplayer Space Invaders Game with Phaser 3 and Ably
Home Page: https://space-invaders.ably.dev
License: Apache License 2.0
It has been raised that, it might be annoying to open a web page that plays audio without a warning. This game does have audio, so we need to add a checkbox control so users can turn it on if they like, but it is off by default.
Currently, the game logic is so that the ship starts at a random position and moves with random speed and direction. This means the players don't really have enough time just when the game starts to understand the ship's position and try to escape. It would be worth making all the player invincible for about 2 seconds so they don't die even if a bullet hits them in the first two seconds of gameplay.
TODOS:
Currently, the game checks for left and right arrow click to compute player input. It would be great to extend this game to mobile browsers by adding controls for that.
Here's a good resource to get started on this: https://developer.mozilla.org/en-US/docs/Games/Techniques/Control_mechanisms/Mobile_touch#Touch_events_in_Phaser
I cloned the repository, started the app.. which didnt work, and left my computer. After a couple of hours I started receiving emails that my ably account was blocked because I'd sent over 50k messages. I don't know whats wrong, but thought you should be aware of it.
The README has an embedded gif that shows the working of the game with three players. Since then, the project has evolved to support multiple game rooms using Node JS worker threads.
The preview GIF needs to reflect that.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.