Patreon Weekly Build: Alpha 0.3.6 out!
Another week, another update! A lot of good stuff this week. Got elevators in, reworked the pickup database system to prepare for scaling up items in game. Added the Master Audio system to handle audio in the game, loads and unloads sounds as needed. Finally have the light containment music in! And, there's now a linux version!
I would say that we'll be ready for a general build either next week or the week after. I want to focus on finally finishing the new worldgen this week, and then fix bugs / add stuff the week after.
Check it out!
Changelog
Code: Select all
v0.3.6
Fixed bug with general documents duplicating in codex. Rewrote CodexUI, created a DocumentLabelList class to generalize storing and handling document labels. Now, codex just calls relevant methods on DocumentLabelLists scpLabels and otherLabels. This will make it easy to add new types of documents in the future.
Added TextReader which allows for text documents to be displayed with options to increase / decrease font size to look good on multiple displays
Reworked PickupEditors so that all pickup editors inherit from a base one with base functionality - now editors just need to write functions for subclass specific fields and properties!
Added TeleportElevators!
Reworked button system - all buttons inherit base button for sound and interactable
Reworked room3storage 3d model and room prefab, elevator prefab separated from room and lower room finished
Added TeleportElevator, which teleports objects between bounds of ElevatorFloors. ElevatorFloors all use the same prefab so that when the player teleports, there is no shifting - currently light shifts slightly but it is not very noticeable.
Volume for walking audio now changes depending on whether player is running, walking, or crouching
Fixed bug in linux where mouse was still captured when alt-tabbing, by calling a method to free the mouse when the application loses focus
Added min and max fields to OptionSliders to propagate to the slider component
Removed TargetActor - DoorButton now just calls a list of doors
AirlockButton OnClick() now calls base.OnClick() for button sound
Added LockroomSiren sound
Reworked scp205 room so that 173 can travel up stairs
Imported and set up Master Audio unity asset (Thanks to patrons!)
Benefits include:
-No longer are there hundreds of audio sources in a scene (one per door, one per button, etc, etc) - sources are only created as needed
-Loading / unloading of sounds automatically
-Sound occlusion (not set up yet but soon!)
Reworked all audio in the game to use this system
-Reworked WalkingSound
-Reworked PlaySound
Fixed bug with CharacterMover - now IsMoving returns actual velocity not input strength (which can change)
Tesla Idle has better volume falloff over distance
Merged alarm intro into one sound and made a one-time sound so that music can play in the background (better immersion when pausing with music then when pausing with OMG CONTAINMENT BREACHHHHEED)
Added basic pickup sounds