HyperCrowd / moba

Quick MOBA Concept using Phaser.js
0 stars 0 forks source link

Setup UI #12

Open HyperCrowd opened 5 days ago

HyperCrowd commented 5 days ago
HyperCrowd commented 5 days ago

SolidJS is integrated. Will have to implement a simple UI example

HyperCrowd commented 1 day ago

We now have a basic UI grid layout: https://github.com/HyperCrowd/moba/commit/2b8826257f0f4a3dca6ee0d274792d26a1299612

Black lines won't be shown in game time, but when you modify UI components, they will. And the UI elements can be written in pure HTML and CSS for user modding, too!

Plus the UI handling is written in SolidJS, so UI states can persist between loading easily and signalling is a breeze to reason about