Releases: tryy3/flutter-game-jam-2023
v0.6.2
Description
Refactored the entity logic, instead of being event driven with Bloc pattern we are now more depended on linear process.
Game state remains in Bloc pattern but when managing player states, card usage and so on we process them through the entities directly.
This should make things easier to follow and nicer.
V0.5.1 - Bug fixes
Description
A few small bug fixes to previous release, adjustment of text display and lowered the damage and HP of boss in PvE mode.
v0.5.0 - New gamemodes
Description
Majority of the changes in this release was to create a foundation for new gamemodes.
We now have PvP mode where you play against another player but also PvE mode where you fight a boss. The PvE mode both have co-op mode and singleplayer.
For now it's mainly a foundation which means we just have a simple boss that is probably overpowered but at least ready to be tested.
Other changes
There has also been some major changes to the event loop and most things should be easier now, but might be a bit buggy.
With singleplayer fixed we also now have 3 render views, right, left and bottom.
V0.4.0 - New layout design
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.
V0.3.0 - Bloc and component update
There were two major changes this version and both of them were mainly backend with some frontend changes.
Changelog
- Component lifecycle update
- Game lifecycle (more Bloc)
Component updates
Most if not all components now live under the Player component.
Player is first generated and from there all components that belong to Player such as cards and health bar is generated after and is spawned as childs.
This allows a better dependency tree and also makes everything relative to the player.
With this there is also some minor changes on the frontend where most components is now spawned a bit more structured and reorganized compare to previous versions.
Bloc / Game lifecycle
This is more or less backend only change. In v0.2.0 I started introducing Bloc where I was able to introduce a simple end game. But I have now moved more of the game lifecycle into event driven programming.
For example the whole logic regarding drawing cards -> player turn is now completely event driven.
When a player take damage or deal damage is also event driven.