Last week I was given the task of creating a single page application for a class project using a Javascript frontend with a Rails backend. After so...
For further actions, you may consider blocking this person and/or reporting abuse
I made a game in Phaser with Typescript and Electron if any of you want to use it as a point of reference
omenking / swap-n-pop
Swap'N'Pop
Download: swapnpop.com
Cross-platform Realtime-Puzzle Game
We all remember our favorite match three puzzle game. Swap'N'Pop brings it back, but with a new look, new gameplay mechanics, with multiplayer designed for competitive play, integration with Discord and built in ranked ladder.
Project Info
We use Phaser together Electron to be cross-compatible. We recently switched to Typescript since we want to ensure typesafety. Webpack is also used to bundle all our files. Test Code runs through Chai and Sinon.
Current Team
Development
Please read the how to contribute code page on our gitbook for more info.
There are two
package.json
files/package.json
- the app itself, packaging the app for distribution/app/package.json
- additional devtoolsTo run the latest master branch locally:
clone Swap'N'Pop
Thanks for sharing!
Hey, what's that devtools pane you've got screenshotted on GitHub? It looks cool. Did you make your own?
100% made it myself.
That's sweet -- is it essentially inspecting the Phaser cache? Would you say it made debugging your game easier?
We're using our own data structure.
That devtool can step forward and back, fastforward rewind, snapshot a specific state and reload it.
Its an absolute must especially if you want to build a multiplayer game.
Dude that is awesome. Where did you get the assets for the game? Did you create them yourself? I am currently working on a real-time online multiplayer game with Phaser and was hoping you would be willing to tell me more about the backend side of your project to better understand how you implemented a login/username creation that saves the players score. Does the score get saved in a file the game creates locally in the temp folder of their computer or does it actually store it in a database you have on your backend? You can email me here jonathanedwardreeves1988@gmail.com. thanks
Looks nice, thanks for sharing!
Thanks!
Looks great, I didn't expect it to look so smooth. Great job!
Thank you!
Nice work!
Looks Great!
Thanks !