1,056 Commits over 183 Days - 0.24cph!
Fix PlayAmbience NRE
CameraTrigger fixes
Hook up DspEffect and update Mixer
Music/Ambience now plays based on what is defined in LevelManager
Add more Metadata to LevelManager and implement ISceneMetadata
Remove all SceneInformation components in favour our new one
Fix SoundEvent JsonUpgrader to accommodate for RangedFloat values.
Basic MapSelectTrigger
SceneTrigger and FadeUI improvements. Added option to send player to World Map
Fix Player getting stuck in squish states sometimes
Added loading screen with cute animation
https://files.facepunch.com/CarsonKompon/2024/October/29_14-04-DarkblueShrimp.mp4
World Map now does the new fade-in and load screen. Should be uniform just about everywhere now
Added Distance/Falloff to Sounds (#1682)
Triggers are much more reliable
Catch case when ResourceProperty has no asset
Use cloud asset type instead of file extension for filters in Cloud Browser. Resolves Facepunch/sbox-issues#6721
Long Folder names will wrap in Asset Browser icon view
Fix Folder Icons not being centered
Added Folder Metadata window. Allows you to change folder Color/Icon and see additional information. Resolves Facepunch/sbox-issues#6705
https://files.facepunch.com/CarsonKompon/2024/October/28_13-38-MeagerIbizanhound.png
Re-implemented FilterAssetTypes in AssetBrowser and CloudBrowser. ResourceControlWidgets will now only show the selected resources
Unify "Show In Explorer" icons in Asset Browser
Don't show Games in the Cloud Browser. Don't include in type facet
DistanceAttenuation bool is now used again
Rename `Attenuation` to `Falloff` with better Curve initializing
SoundComponent gizmos no longer rotate with the GameObject
Change default Distance value to something closer to the previous default
Updated default curve to feel more like the previous range calculation. Added some more curves to CurvePresets
Created JsonUpgrader for SoundEvent which tries to maintain previous range settings while resetting Volume to 1. Doesn't perform changes to 2D sounds or sounds without DistanceAttenuation
Moved SoundEvent into Sound folder
PreviewSound dragging is more intuitive. Removed logs
SoundEvent Upgrader fixes/adjustments
Added Distance and Attenuation overrides to SoundComponents
Draw range gizmos on SoundComponents when selected, respecting
Added `Range` float and `Falloff` Curve to SoundEvent. Allows you to directly specify how many units away a sound can be heard and where along that range the sound begins to falloff.
Rename Range and Falloff to Distance and Attenuation
Added Sound Distance ControlWidget. Includes quick access to some preset common distances
https://files.facepunch.com/CarsonKompon/2024/October/27_19-32-DopeyAmericancrocodile.mp4
Moved all distance-related variables into a Distance Attentuation ToggleGroup (similar to occlusion)
Add attribute for audio distance float
Slider fixes
Re-implemented PreviewSound
https://files.facepunch.com/CarsonKompon/2024/October/27_20-48-SteepBighorn.mp4
Fix SoundHandle.ListenLocal not working as intended
FloatSlider on AudioDistanceFloatProperty is now exponential, so lower ranges can be fine-tuned with more granularity
Unify all asset delete methods, fix delete not working for certain assets. Resolves Facepunch/sbox-issues#6692
Disable Forward/Back buttons in the Asset Browser if you cannot go forward/backward instead of throwing error
https://files.facepunch.com/CarsonKompon/2024/October/26_10-32-LightcyanAntarcticfurseal.png
Updated to fit the changes of Asset/AssetEntry
Converted QuestResource [Groups] to [Feature]s
Add [Feature]s to TileResource
Add [Feature]s to EntityResource
Added StartingRotation to Projectile
Updated ItemResource to use [Feature]s instead of [Group]s, creating a new item is much less overwhelming now
Updated all ItemResources using certain Features
Update SpriteTools
Fix crosshair targeting on Entities
Added Rotation [Feature] to Projectile
Added Bone item drops and projectiles
Cleaned up a bunch of lengthy components by converting [Group]s to [Feature]s
Added Ranged Combat Feature to Enemy. Skeletons now throw bone projectiles from a distance
Fix ControlSheet issues
Create Input.config
Added all the OnMouseX overrides from Panel to PanelComponent. Resolves Facepunch/sbox-issues#6678
SceneEditorSession.Resolve null check
Added some more checks to loading startup scenes. Facepunch/sbox-issues#6594
Implement QuestResource and Quest save system
Created QuestUI
Created 3 starting quest lines
Player now checks for quests requiring items automatically
Fix ItemPickups deleting themselves in editor
Save System fixes
Fix a bunch of quest logic + did a bunch of quest cleanup
Tongue Physics Improvements
Can no longer drag a prefab into itself. Resolves Facepunch/sbox-issues#6595
Can no longer change an existing prefab instance's PrefabFile out for the prefab you're already in via the inspector.
Added GetFrustum to CameraComponent
Rename "Available" to "sbox.game" in Library Manager + a different icon.
https://files.facepunch.com/CarsonKompon/2024/October/24_10-08-LavenderAnemonecrab.png
Adding/Removing a Component with a corresponding EditorTool will instantly create/destroy it. Resolves Facepunch/sbox-issues#6643
Adding a Camera Component to a GameObject no longer throws an error when it shouldn't. Resolves Facepunch/sbox-issues#6641
Add ulong constructor to Friend class. Resolves Facepunch/sbox-issues#6644
Tongue in the direction of movement, not camera direction
CameraTrigger tweaks and fixes
Player movement is based on camera forward instead of EyeAngles
Exit tongue state when target is disabled
Added CameraPull to TongueTarget
TongueTarget PullingMode and OnTongueHit action
Can tongue certain objects towards you. Player can carry objects
Fix punchable scaling when grabbed
Neutral Jump from a slide will cancel forward momentum
Tongue Improvements, much more responsive while still being physics based
Basic implementation of tongue swinging
TongueAbility now highlights tongueable objects
Create TongueUI, will be used to highlight tongue-able objects
Start TongueAbility, give existing Abilities custom Icons
SceneViewportWidget now refocuses last non-game viewport instead of last selected. Resolves play mode sometimes starting on an Empty Scene
AssetInspector now hotloads when changes to the asset have been made. No longer have to click into something else and click back in.
https://files.facepunch.com/CarsonKompon/2024/October/22_09-47-StaleImperialeagle.mp4
Focus last selected SceneViewport when leaving Play Mode. Resolves Facepunch/sbox-issues#6605
Add IsDeleted checks to loading startup scenes. Facepunch/sbox-issues#6594
Give PhysicsCharacter ToggleCameraModeButton [InputAction] attribute