This content originally appeared on DEV Community and was authored by typical pawel
Had too much coffee this morning and added a fun animated gesture feature to flat.social. The GIF with demo might load for a minute or two!
This work was done quite quickly - fortunately I found davidfig/pixi-ease on Github which made it much easier.
How does it work?
- User selected a gesture on the keyboard (each key from 1->7 is bound to a different gesture).
- App picks it up and sends an event via socket.io to the server. The server picks it up, figures out who sent it and informs everyone in the same room that a gesture has been emitted.
- Gesture event with associated playerId comes back to all of the clients connected to the room.
- Particular animation is triggered on the body of the player using pixi-ease.
Would love to know what you think!
This content originally appeared on DEV Community and was authored by typical pawel

typical pawel | Sciencx (2021-11-30T14:59:47+00:00) Fun feature update. Retrieved from https://www.scien.cx/2021/11/30/fun-feature-update/
Please log in to upload a file.
There are no updates yet.
Click the Upload button above to add an update.