Skip to content

v0.3.19-pre

Pre-release
Pre-release

Choose a tag to compare

@DonovanMontoya DonovanMontoya released this 20 Aug 15:33
· 243 commits to main since this release
545151e

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 currentRound post-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 CinematicDirector with PlayScene, timeline control, and skip support
    • Triggered aphids cinematic during tutorial at the correct time
    • Added postAphidsTimeline and integrated with CardGameMaster
  • Robot sequencing:
    • Integrated RobotCardGameSequencer and improved look-target handling
    • Centralized sequencing enable/disable and PlayerPrefs usage
  • 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
    • PopUpController supports null images and pauses time during display
  • 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, and ValueReducerSticker
    • Added selection toggling, application rules, and serialization/deserialization in GameStateManager
    • Implemented ModifyValue in card classes; cloned visuals to avoid state leaks
  • 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 ClearActionCardVisuals for reuse
    • Returned IEnumerator from plant placement to avoid race conditions; yielded in TurnController
    • Cloned cards in _plantHand (and other hands) to prevent unwanted persistence
  • 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 PlayOneShot usage and player hand audio source
  • Card/action plumbing:
    • Refactored PlantCardFunctions and card interaction logic; improved error/null handling
    • Added interfaces/base class for Plant Location Cards
    • Queued and played plant effects consistently via PlantEffectRequest

馃И Tests

  • Added regression test for CardView destruction
  • Added tests for ValueReducerSticker behaviors
  • 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