Repository navigation
v0.3.19-pre
Pre-release
Pre-release
·
243 commits
to main
since this release
Version 0.3.19
馃 Gameplay & Logic
- Tutorial refinements:
- Converted tutorial money goal to a class variable
- Made tutorial decks non-static to prevent persistence
- Advanced tutorial turn via
EndRound(advanceTutorial: ...)to avoid accidental skips - Tracked tutorial completion and reset
currentRoundpost-tutorial - Introduced a tutorial turn count constant and gradual card introduction
- Round flow improvements:
- End rounds early if all plants are healthy or have zero value
- Improved affliction spread condition checks
- Retained card handling:
- Added locking/unlocking, selection animation, and safer return logic
- Strengthened null checks and visual restoration when retained cards change
- Balance/content updates:
- Added Spider Mites and Fungus Gnats afflictions and cards
- Added Spinosad and Imidacloprid treatments and cards; updated values/descriptions
- Renamed NeemOil to HorticulturalOil across classes
馃幀 Cinematics & Animation
- Cinematic system:
- Added
CinematicDirectorwithPlayScene, timeline control, and skip support - Triggered aphids cinematic during tutorial at the correct time
- Added
postAphidsTimelineand integrated withCardGameMaster
- Added
- Robot sequencing:
- Integrated
RobotCardGameSequencerand improved look-target handling - Centralized sequencing enable/disable and PlayerPrefs usage
- Integrated
- Card/sticker animation:
- Implemented animated card display and selection (DOTween)
- Kept hover animations accurate via
Click3D.UpdateOriginalTransform
馃帹 Visuals & UI
- Inspection and popup UX:
- Enabled plant inspection via
InspectFromClick+SiteDataFetcher PopUpControllersupports null images and pauses time during display
- Enabled plant inspection via
- Card/sticker presentation:
- Stickers: hover scaling, fan layout arrangement, and disabled clicks on applied stickers
- Switched card visuals to Materials; improved material handling
- Quality and camera:
- Mobile-focused quality settings UI; device-specific FOV handling
- Display mode/resolution dropdowns; safer initialization for mobile UI
馃И Systems & Code Architecture
- Sticker system:
- Introduced
StickerDefinition,StickerView,ISticker,CopySticker,CopyStickerDefinition, andValueReducerSticker - Added selection toggling, application rules, and serialization/deserialization in
GameStateManager - Implemented
ModifyValuein card classes; cloned visuals to avoid state leaks
- Introduced
- Save/load and restoration:
- Implemented game state save/load for turn, score, deck, and plants
- Restored plants with preserved states; sequenced restoration; triggered shader updates post-restore
- Suppressed/cleared queued effects during deck restoration; refreshed action hand
- Deck/turn refactors:
- Extracted
ClearActionCardVisualsfor reuse - Returned
IEnumeratorfrom plant placement to avoid race conditions; yielded inTurnController - Cloned cards in
_plantHand(and other hands) to prevent unwanted persistence
- Extracted
- Input and interaction safety:
- Debounced placement clicks; prevented duplicate clicks and immediate pickups
- Centralized input module access via
CardGameMaster.Instance.uiInputModule
- Audio and sequencing:
- Centralized audio handling; added robot narration audio source/clip
- Unified
PlayOneShotusage and player hand audio source
- Card/action plumbing:
- Refactored
PlantCardFunctionsand card interaction logic; improved error/null handling - Added interfaces/base class for Plant Location Cards
- Queued and played plant effects consistently via
PlantEffectRequest
- Refactored
馃И Tests
- Added regression test for
CardViewdestruction - Added tests for
ValueReducerStickerbehaviors - Added Play Mode tests for
SiteDataFetcher; updated asmdef for TMP dependency - Improved test scaffolding in
TurnTester/DeckTester; silenced setup warnings
馃Ч Codebase Cleanup
- Removed tutorial override that forced it on; pruned deprecated/unused logic
- Switched references to GUIDs; updated naming and comments
- Removed unused audio managers; streamlined coroutines and namespaces
- Added documentation for Audio, Cinematics, and Classes systems
馃敡 Project & Infrastructure
- Updated
.gitignore - Added PlayerPrefs-backed toggles (e.g., tutorial enabled, sequencing)
- Minor README fixes and repo maintenance
IOS: For now, You can Join the Public IOS TestFlight
Full Changelog: https://github.com/Unity-Environmental-University/Horticulture-Scripts/commits/v0.3.19-pre