4,027 Commits over 853 Days - 0.20cph!
Different approach to multiple cameras support. Camera.Main is set to the camera that has the "maincamera" tag
Set default camera priority to 1
Give Camera prefab the "maincamera" tag by default
Add "maincamera" tag to default editor scene
Editor viewport camera shouldn't really care about render tags
Render game viewport from tools if game isn't playing
Clean up GameMenuDll.OnRender
Docs
Define SerializedProperty.IsEditable in inherited types where possible (ReadOnlyAttribute or !CanWrite)
https://files.facepunch.com/tony/1b1311b1/sbox_R9sUMW3RGj.png
Scene: Copy / Paste (As Child) supports multiple objects
Scene: Cut supports multiple selection, fixed paste NRE if no selection, use the scene as a fallback
Scene: add multi-select duplicate support
Get rid of angle pitch jitter in scene view
Remove ConVar.Replicated and associated code
Editor: Remove Game tab, moved "Project Settings" to Edit, moved "Open Project in Explorer" to File
Remove ConVar.ClientData and associated code
Remove f5 screenshot from user_keys_default.vcfg
Add Edit/Play menu option, with F5 keyboard shortcut
Clean up GameMenuDll.OnRender
Render game viewport from tools if game isn't playing
Editor viewport camera shouldn't really care about render tags
Different approach to multiple cameras support. Camera.Main is set to the camera that has the "maincamera" tag
Set default camera priority to 1
Give Camera prefab the "maincamera" tag by default
Add "maincamera" tag to default editor scene
Add orthographic view support to camera gizmo https://files.facepunch.com/tony/1b1111b1/sbox_FDMS0kbBzH.mp4
Fixed cell hover color not being set, and fixed cursor type
Adjust alignment of keyboard code cell for consistency
Add inline support for gamepad code
Add tooltip to gamepad cell
Add inline keyboard code editing to InputActionPanel
https://files.facepunch.com/tony/1b1011b1/sbox_1Wb5szvOnF.mp4
Added some features to input actions editor, sorted categories (collapsible, persistent)
Add GameNetworkManager, handle player creation there
Add PlayerLoadout component, responsible for spawning weapons on a player
Create PrefabUtility, while I figure out the best way to approach this
Add accessor to get player's weapon from player controller
For now, move the viewmodel to be right on the camera
Add Weapon.HoldType, GetHoldType
Expose hold type to player controller
Add Duck, don't rotate body to velocity, always use eye angles
Add property for hiding the body
Disable the camera if we are proxy
Add CitizenAnimationHelper, hook up PlayerController stuff (from testbed), add custom message to ComponentNotFoundException
Cancel out pitch when building velocity, clamp EyeAngles pitch
Write a bullshit weapon component class
ViewModel class
Add CameraController, hook up PlayerController to CharacterController, add ComponentNotFoundException
Add Client
Expose Client properties so I can see them in the editor
Update .gitignore
Add testing scene
Create WeaponDataResource to hold basic info & prefabs for weapons
Tidy up ready to start on scene stuff
Expose Scene.NetworkFrequency to SceneInspector
Update game.minimal template, very simple default scene, example component
Fixed error when trying to creating a new component
Remake game in Scene
Mostly as it was before, missing a few features but will add back as we go.
missing assets
Fixed compile
Add Program.cs
Re-added a bunch of missing components on jumper scene, added an editor folder (what)
Fix camera controls
Fixed player controls
Added missing content + set up scene with map
-program +startingscene
Convert to use scene
Use EditorTypeLibrary for ComponentTemplate type search
BaseComponent reference -> Component
Re-added a bunch of missing components on jumper scene, added an editor folder (what)
Remove out of date code files from game.minimal, made it empty for now
Don't exclude png files from base/materials dir (let me know if this is intentional, the only other file I could find was a grain LUT), fixes gizmo images not being shipped
Removed materials that are in sbox now
Moved gizmo materials from testbed
Promote CameraComponent.AddHookAfterTransparent/AddHookBeforeOverlay to public so they can be used in games
Remove a couple of obsolete docs causing warnings
Remove old game templates (except minimal which won't work yet either)
Get rid of newlines/tabs/returns when outputting logs to status bar
Render the main camera if we're not in play mode (not sure about this yet)
Get lowest priority camera for player controller (so we're not trying to control the viewmodel camera)
Update cameras.scene
Remove SceneCamera.Enabled (isn't required)
Update to not use camera.Enabled
Add viewmodel camera test scene