Skip to content

V0.4.0 - New layout design

Compare
Choose a tag to compare
@tryy3 tryy3 released this 01 Jan 16:09
· 21 commits to main since this release
f2375c4

Description

Biggest change this version is the new layout design, it's a major redesign. The basic idea is still the same that you have two players on opposite side of the view area. But all the parts have been moved around and redesigned.

Most if not all parts of the layout is now considered a component with it's own logic and rendering, they still reference eachother for example in positioning but We now have a Deck, Card Slots, Stats and InformationSection component that is being rendered on the layout.

Other big changes

The health bar has also had some redesign both in terms of UI but also the game play of it. It's now a bar with min and max health of 20. When it goes below 0 the player will die instantly even if the round isn't over.

I have also started introducing a bar for cold/heat to introduce more elements in the game where the health isn't your only concern. For now it's simply a "cost" mechanism for using cards.

The state management has also had major changes on the backend, where there is now more states during the game loop. I also added some mechanism at the end of the round, where the players will get more cards and cold/heat after each round.