Esposter
1
Posted by Jimmy Chen 10 months ago
Devlog[6]: Dungeons: My god this was a huge effort, but I literally wrote a phaser to vue compiler-like library

It was very annoying using OOP with classes to try and do all these weird things to create UI and containers around them in phaser. I really wanted to be able to declaratively write my code in vue but have it just be reactive and also do the same things in phaser. Hence I just wrote a library ~1000 lines in code that's perfectly type-safe and just handles everything beautifully and now we can use all the nice vue primitives like ref, computed and watch etc, and it just syncs up with phaser! amazing.

We can finally now start on properly following the tute for building up dungeons and it will be a great experience 😎

Be the first to comment
Nobody's responded to this post yet.
Add your thoughts and get the conversation going.