Camera Editor Setup for 4.4

This commit is contained in:
Josef 2025-03-27 19:56:15 +01:00
parent 068e072388
commit 243387f086
10 changed files with 315 additions and 1934 deletions

View File

@ -1,35 +1,34 @@
[gd_scene load_steps=50 format=4 uid="uid://dk0p4j4bvakwj"]
[gd_scene load_steps=49 format=4 uid="uid://dk0p4j4bvakwj"]
[ext_resource type="PackedScene" uid="uid://dxopbum6c606y" path="res://Packed/Setup/Application.tscn" id="1_3xlgt"]
[ext_resource type="PackedScene" uid="uid://cldwxu6bbswx7" path="res://Packed/Dark World/Dark World.tscn" id="2_kftla"]
[ext_resource type="Resource" uid="uid://ch5nsa6yafs5l" path="res://addons/rokojori_action_library/Runtime/Time/TimeLines/GameTime.tres" id="3_bdt4g"]
[ext_resource type="Script" uid="uid://bkefj5g5km2ao" path="res://addons/rokojori_action_library/Runtime/Animation/Shake/Shake.cs" id="10_rtx5p"]
[ext_resource type="Script" uid="uid://bnhnintao4qu0" path="res://addons/rokojori_action_library/Runtime/Animation/Shake/Shake.cs" id="10_rtx5p"]
[ext_resource type="Resource" uid="uid://c2wbn25rxynk8" path="res://addons/rokojori_action_library/Runtime/Animation/Shake/Presets/Small Impact Low FPS - Shake.tres" id="11_a32tl"]
[ext_resource type="Resource" uid="uid://begmg64jiaoq0" path="res://addons/rokojori_action_library/Runtime/Animation/Shake/Presets/Mini Poke - Shake.tres" id="11_kv57l"]
[ext_resource type="Script" uid="uid://dsfymubxsimx2" path="res://addons/rokojori_action_library/Runtime/Interactions/Grabbable.cs" id="12_tevia"]
[ext_resource type="Script" uid="uid://b1lw6t0yp13lq" path="res://addons/rokojori_action_library/Runtime/Procedural/Parametric/Cuboid/Cuboid.cs" id="18_6u4rt"]
[ext_resource type="Script" uid="uid://drx2l2e81di4h" path="res://addons/rokojori_action_library/Runtime/Actions/Sequence/Parallel.cs" id="24_vsk86"]
[ext_resource type="Script" uid="uid://dox0mfbihokfo" path="res://addons/rokojori_action_library/Runtime/Actions/Time/Delay.cs" id="26_imrh7"]
[ext_resource type="Script" uid="uid://b5rxovdepmpnu" path="res://addons/rokojori_action_library/Runtime/Localization/LocaleLabel3D.cs" id="28_tlgxg"]
[ext_resource type="Script" uid="uid://c7fymrxt3qvlh" path="res://addons/rokojori_action_library/Runtime/Interactions/Grabbable.cs" id="12_tevia"]
[ext_resource type="Script" uid="uid://d16ef6yoxkj5q" path="res://addons/rokojori_action_library/Runtime/Procedural/Parametric/Cuboid/Cuboid.cs" id="18_6u4rt"]
[ext_resource type="Script" uid="uid://dy65lu5p2yf3j" path="res://addons/rokojori_action_library/Runtime/Actions/Sequence/Parallel.cs" id="24_vsk86"]
[ext_resource type="Script" uid="uid://b2g7rycr0ouu4" path="res://addons/rokojori_action_library/Runtime/Actions/Time/Delay.cs" id="26_imrh7"]
[ext_resource type="Script" uid="uid://spneqt27uveo" path="res://addons/rokojori_action_library/Runtime/Localization/LocaleLabel3D.cs" id="28_tlgxg"]
[ext_resource type="Resource" uid="uid://cptsuefrom6wu" path="res://Research/Hello World.tres" id="29_e5hcu"]
[ext_resource type="Script" uid="uid://ny4r8f87b8po" path="res://addons/rokojori_action_library/Runtime/Godot/Scenes/SceneFileReader.cs" id="30_gswu4"]
[ext_resource type="PackedScene" uid="uid://igjwcq828c3x" path="res://Packed/Character/character.glb" id="34_iqgaf"]
[ext_resource type="Script" uid="uid://d2kukvsokpevq" path="res://addons/rokojori_action_library/Runtime/Actions/ActionList.cs" id="36_48c1t"]
[ext_resource type="Script" uid="uid://c8xk2x8xgkpce" path="res://addons/rokojori_action_library/Runtime/Animation/Flash/Flash.cs" id="37_jrcib"]
[ext_resource type="Script" uid="uid://bip7ficujepw8" path="res://addons/rokojori_action_library/Runtime/Interactions/Pointable.cs" id="38_iknbl"]
[ext_resource type="Script" uid="uid://b4yjsis2fh64c" path="res://addons/rokojori_action_library/Runtime/Actions/ActionList.cs" id="36_48c1t"]
[ext_resource type="Script" uid="uid://dnwqkymbre3vb" path="res://addons/rokojori_action_library/Runtime/Animation/Flash/Flash.cs" id="37_jrcib"]
[ext_resource type="Script" uid="uid://dla1wn2mlw2d0" path="res://addons/rokojori_action_library/Runtime/Interactions/Pointable.cs" id="38_iknbl"]
[ext_resource type="Resource" uid="uid://bfxwx0fiejnk3" path="res://addons/rokojori_action_library/Runtime/Animation/Flash/Presets/Blue Shield - Flash.tres" id="39_1edeu"]
[ext_resource type="Script" uid="uid://qfenwgjjavbr" path="res://addons/rokojori_action_library/Runtime/Interactions/Interactable.cs" id="44_4apug"]
[ext_resource type="Script" uid="uid://choxbls4rmsqn" path="res://addons/rokojori_action_library/Runtime/Interactions/Interactable.cs" id="44_4apug"]
[ext_resource type="Resource" uid="uid://drjdsp2qnceql" path="res://addons/rokojori_action_library/Runtime/Animation/Flash/Presets/Green Charge - Flash.tres" id="49_td0wp"]
[ext_resource type="Resource" uid="uid://d06w8jorebto2" path="res://addons/rokojori_action_library/Runtime/Animation/Flash/Presets/Orange Boost - Flash.tres" id="50_uj384"]
[ext_resource type="Resource" uid="uid://pok7bfoksfmr" path="res://addons/rokojori_action_library/Runtime/Animation/Flash/Presets/White Blinking - Flash.tres" id="51_iktfu"]
[ext_resource type="Resource" uid="uid://cwdnm658q3jta" path="res://addons/rokojori_action_library/Runtime/Animation/Flash/Presets/Red Hit - Flash.tres" id="52_pmlj5"]
[ext_resource type="Material" uid="uid://crki78c10w11u" path="res://Research/RainbowMaterial.material" id="54_tihw8"]
[ext_resource type="Script" uid="uid://8mbha1fcs3ty" path="res://addons/rokojori_action_library/Runtime/Animation/Rotate.cs" id="55_67hvr"]
[ext_resource type="Script" uid="uid://bbrxyifjx4fit" path="res://addons/rokojori_action_library/Runtime/Actions/ActionSequence.cs" id="56_nd25v"]
[ext_resource type="Script" uid="uid://butjmu7ygyupl" path="res://addons/rokojori_action_library/Runtime/VirtualCameras/Effects/PlayCameraEffect.cs" id="57_2ytre"]
[ext_resource type="Script" uid="uid://d0nim4vxa2t3i" path="res://addons/rokojori_action_library/Runtime/Animation/Rotate.cs" id="55_67hvr"]
[ext_resource type="Script" uid="uid://ceaglilesxsi4" path="res://addons/rokojori_action_library/Runtime/Actions/ActionSequence.cs" id="56_nd25v"]
[ext_resource type="Script" uid="uid://c1ivlrrt71nwp" path="res://addons/rokojori_action_library/Runtime/VirtualCameras/Effects/PlayCameraEffect.cs" id="57_2ytre"]
[ext_resource type="Resource" uid="uid://uyuplc6hm25j" path="res://addons/rokojori_action_library/Runtime/VirtualCameras/Effects/Presets/ScreenShake.tres" id="58_gwjbe"]
[ext_resource type="Script" uid="uid://bna0cq2rqt1v7" path="res://addons/rokojori_action_library/Runtime/Time/ModulateTimeLineSpeed.cs" id="59_nluph"]
[ext_resource type="Script" uid="uid://c1o3bxnc8dwuh" path="res://addons/rokojori_action_library/Runtime/Animation/AnimationCurve.cs" id="60_u7bgt"]
[ext_resource type="Script" uid="uid://f1qtdesygcg" path="res://addons/rokojori_action_library/Runtime/Time/ModulateTimeLineSpeed.cs" id="59_nluph"]
[ext_resource type="Script" uid="uid://c5tm02yj1bhhx" path="res://addons/rokojori_action_library/Runtime/Animation/AnimationCurve.cs" id="60_u7bgt"]
[sub_resource type="ArrayMesh" id="ArrayMesh_2m7yo"]
_surfaces = [{
@ -485,7 +484,7 @@ output = NodePath("Node3D/MeshInstance3D")
metadata/_edit_group_ = true
[node name="Node3D" type="Node3D" parent="Flash Examples/Special Cube"]
transform = Transform3D(0.0254748, 0, -0.999674, 0, 1, 0, 0.999674, 0, 0.0254748, 0, 0, 0)
transform = Transform3D(0.776824, 0, -0.629715, 0, 1, 0, 0.629715, 0, 0.776824, 0, 0, 0)
[node name="MeshInstance3D" type="MeshInstance3D" parent="Flash Examples/Special Cube/Node3D"]
transform = Transform3D(-0.707107, 0.707107, 0, -0.566941, -0.566941, -0.597625, -0.422585, -0.422585, 0.801776, 0, 0.5, 0)
@ -639,9 +638,4 @@ text = "Hallo Welt!"
script = ExtResource("28_tlgxg")
locale = ExtResource("29_e5hcu")
[node name="SceneFileReader" type="Node" parent="."]
script = ExtResource("30_gswu4")
path = "C:/rokojori/godot-projects/rokojori-action-library-examples/Packed/Setup/Application.tscn"
exportHTML = true
[editable path="Flash Examples/Flash Targets/Character"]

View File

@ -1,9 +1,9 @@
[gd_scene load_steps=19 format=4 uid="uid://cldwxu6bbswx7"]
[ext_resource type="Shader" uid="uid://sxnbdxbxycnl" path="res://Packed/Setup/Sky.gdshader" id="1_ofd25"]
[ext_resource type="Script" uid="uid://dk0e4cuuadvwq" path="res://addons/rokojori_action_library/Runtime/Procedural/Mesh/MeshCombiner.cs" id="3_gujm0"]
[ext_resource type="Script" uid="uid://ccndwluy1uv80" path="res://addons/rokojori_action_library/Runtime/Procedural/Mesh/MeshCombiner.cs" id="3_gujm0"]
[ext_resource type="Material" uid="uid://ctut88k70n35x" path="res://Packed/Setup/Dark-Ground.material" id="15_b7qve"]
[ext_resource type="Script" uid="uid://b1lw6t0yp13lq" path="res://addons/rokojori_action_library/Runtime/Procedural/Parametric/Cuboid/Cuboid.cs" id="16_3pt4o"]
[ext_resource type="Script" uid="uid://d16ef6yoxkj5q" path="res://addons/rokojori_action_library/Runtime/Procedural/Parametric/Cuboid/Cuboid.cs" id="16_3pt4o"]
[sub_resource type="Gradient" id="Gradient_lfbf4"]
offsets = PackedFloat32Array(0.390947, 0.44856, 0.469136, 0.534979, 0.711934, 0.851852)
@ -200,7 +200,6 @@ sourceNodes = [NodePath("../Decoration")]
uVCombineMode = 0
outputMesh = NodePath("@MeshInstance3D@24110")
outputMaterials = [SubResource("StandardMaterial3D_mmiv8")]
metadata/_custom_type_script = "uid://dk0e4cuuadvwq"
[node name="@MeshInstance3D@24110" type="MeshInstance3D" parent="MeshCombiner"]
mesh = SubResource("ArrayMesh_v8rjp")

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,42 @@
[gd_resource type="Resource" script_class="MouseEditorCameraInputSettings" load_steps=12 format=3 uid="uid://bnet7evogp0d4"]
[ext_resource type="Resource" uid="uid://c5ueac4xt7oyb" path="res://addons/rokojori_action_library/Runtime/Sensors/Default-Sensors/Keyboard & Mouse/Movement/Move Back.tres" id="1_rwmom"]
[ext_resource type="Resource" uid="uid://ds1rrltuj0mse" path="res://addons/rokojori_action_library/Runtime/Sensors/Default-Sensors/Keyboard & Mouse/Movement/Move Down.tres" id="2_xkl31"]
[ext_resource type="Resource" uid="uid://mbnb46tah4i7" path="res://addons/rokojori_action_library/Runtime/Sensors/Default-Sensors/Keyboard & Mouse/Movement/Move Forward.tres" id="3_4o1do"]
[ext_resource type="Resource" uid="uid://bfxeh1y1vgkiu" path="res://addons/rokojori_action_library/Runtime/Sensors/Default-Sensors/Keyboard & Mouse/Movement/Strafe Left.tres" id="4_w7f83"]
[ext_resource type="Resource" uid="uid://cbqyav0cnehoq" path="res://addons/rokojori_action_library/Runtime/Sensors/Default-Sensors/Keyboard & Mouse/Mouse/Mouse-Button Right.tres" id="5_8c60h"]
[ext_resource type="Resource" uid="uid://b8u374emi528p" path="res://addons/rokojori_action_library/Runtime/Sensors/Default-Sensors/Keyboard & Mouse/Mouse/Mouse-Button Middle.tres" id="6_403a2"]
[ext_resource type="Resource" uid="uid://bm2d6nhevcjel" path="res://addons/rokojori_action_library/Runtime/Sensors/Default-Sensors/Keyboard & Mouse/Movement/Strafe Right.tres" id="7_58qny"]
[ext_resource type="Script" uid="uid://dfihqotugioar" path="res://addons/rokojori_action_library/Runtime/VirtualCameras/MouseEditorCameraInputSettings.cs" id="8_rc30m"]
[ext_resource type="Resource" uid="uid://dwigqkllvj8dq" path="res://addons/rokojori_action_library/Runtime/Sensors/Default-Sensors/Keyboard & Mouse/Movement/Move Up.tres" id="9_1q6ql"]
[ext_resource type="Resource" uid="uid://b52horrdbgyaa" path="res://addons/rokojori_action_library/Runtime/Sensors/Default-Sensors/Keyboard & Mouse/Mouse/Mouse-Wheel Up.tres" id="10_hwgpc"]
[ext_resource type="Resource" uid="uid://chwstub7bnlpp" path="res://addons/rokojori_action_library/Runtime/Sensors/Default-Sensors/Keyboard & Mouse/Mouse/Mouse-Wheel Down.tres" id="11_nc4eh"]
[resource]
script = ExtResource("8_rc30m")
yawButtonsSpeed = 1.0
pitchButtonsSpeed = 1.0
zoomStepInPercentage = 10.0
zoomInButton = ExtResource("10_hwgpc")
zoomInModifierButtons = []
zoomOutButton = ExtResource("11_nc4eh")
zoomOutModifierButtons = []
continousZoomStepInPercentage = 1.0
forwardButton = ExtResource("3_4o1do")
backwardsButton = ExtResource("1_rwmom")
leftButton = ExtResource("4_w7f83")
rightButton = ExtResource("7_58qny")
upButton = ExtResource("9_1q6ql")
downButton = ExtResource("2_xkl31")
moveSpeed = 1.0
mouseMovementEnabled = true
minimizeDistanceOnMovement = true
mouseMovementYawSpeed = 0.2
mouseMovementPitchSpeed = 0.2
mouseMovementOrbitButton = ExtResource("5_8c60h")
mouseMovementOrbitModifierButtons = []
mouseMovementPanSpeedX = 0.01
mouseMovementPanSpeedY = 0.01
mouseMovementPanButton = ExtResource("6_403a2")
mouseMovementPanModifierButtons = []
metadata/_custom_type_script = "uid://dfihqotugioar"

View File

@ -0,0 +1,18 @@
[gd_resource type="Resource" script_class="CombineSensor" load_steps=3 format=3 uid="uid://c7msoe5b0k5bp"]
[ext_resource type="Script" uid="uid://eid0qnlvq4n1" path="res://addons/rokojori_action_library/Runtime/Sensors/CombineSensor.cs" id="1_1j1kl"]
[ext_resource type="Resource" uid="uid://b8u374emi528p" path="res://addons/rokojori_action_library/Runtime/Sensors/Default-Sensors/Keyboard & Mouse/Mouse/Mouse-Button Middle.tres" id="2_e3b12"]
[resource]
script = ExtResource("1_1j1kl")
sensors = [ExtResource("2_e3b12")]
showOnlyVisibleIcons = false
numVisible = 0
inputIcons = []
useInputIconsFromSensors = true
continous = false
_value = 0.0
_wasActive = false
_active = false
_activeTreshold = 0.5
metadata/_custom_type_script = "uid://eid0qnlvq4n1"

View File

@ -0,0 +1,18 @@
[gd_resource type="Resource" script_class="CombineSensor" load_steps=3 format=3 uid="uid://cshqmy08jhmrp"]
[ext_resource type="Script" uid="uid://eid0qnlvq4n1" path="res://addons/rokojori_action_library/Runtime/Sensors/CombineSensor.cs" id="1_h68ww"]
[ext_resource type="Resource" uid="uid://cbqyav0cnehoq" path="res://addons/rokojori_action_library/Runtime/Sensors/Default-Sensors/Keyboard & Mouse/Mouse/Mouse-Button Right.tres" id="2_m8eqt"]
[resource]
script = ExtResource("1_h68ww")
sensors = [ExtResource("2_m8eqt")]
showOnlyVisibleIcons = false
numVisible = 0
inputIcons = []
useInputIconsFromSensors = true
continous = false
_value = 0.0
_wasActive = false
_active = false
_activeTreshold = 0.5
metadata/_custom_type_script = "uid://eid0qnlvq4n1"

View File

@ -1,8 +1,8 @@
[gd_resource type="Resource" script_class="CombineSensor" load_steps=5 format=3 uid="uid://b73j0lq2sqck7"]
[ext_resource type="Script" path="res://addons/rokojori_action_library/Runtime/Sensors/CombineSensor.cs" id="1_lnrk8"]
[ext_resource type="Script" uid="uid://eid0qnlvq4n1" path="res://addons/rokojori_action_library/Runtime/Sensors/CombineSensor.cs" id="1_lnrk8"]
[ext_resource type="Resource" uid="uid://chwstub7bnlpp" path="res://addons/rokojori_action_library/Runtime/Sensors/Default-Sensors/Keyboard & Mouse/Mouse/Mouse-Wheel Down.tres" id="2_tuiuf"]
[ext_resource type="Script" path="res://addons/rokojori_action_library/Runtime/Sensors/GamePadAxisSensor.cs" id="3_5t03r"]
[ext_resource type="Script" uid="uid://cb81s7ud1de7h" path="res://addons/rokojori_action_library/Runtime/Sensors/GamePadAxisSensor.cs" id="3_5t03r"]
[sub_resource type="Resource" id="Resource_rjqry"]
script = ExtResource("3_5t03r")

View File

@ -1,8 +1,8 @@
[gd_resource type="Resource" script_class="CombineSensor" load_steps=5 format=3 uid="uid://b3o3ht1b2llnh"]
[ext_resource type="Script" path="res://addons/rokojori_action_library/Runtime/Sensors/CombineSensor.cs" id="1_w21si"]
[ext_resource type="Script" uid="uid://eid0qnlvq4n1" path="res://addons/rokojori_action_library/Runtime/Sensors/CombineSensor.cs" id="1_w21si"]
[ext_resource type="Resource" uid="uid://b52horrdbgyaa" path="res://addons/rokojori_action_library/Runtime/Sensors/Default-Sensors/Keyboard & Mouse/Mouse/Mouse-Wheel Up.tres" id="2_dk7mn"]
[ext_resource type="Script" path="res://addons/rokojori_action_library/Runtime/Sensors/GamePadAxisSensor.cs" id="3_pu70j"]
[ext_resource type="Script" uid="uid://cb81s7ud1de7h" path="res://addons/rokojori_action_library/Runtime/Sensors/GamePadAxisSensor.cs" id="3_pu70j"]
[sub_resource type="Resource" id="Resource_aybyw"]
script = ExtResource("3_pu70j")

View File

@ -0,0 +1,42 @@
[gd_resource type="Resource" script_class="MouseEditorCameraInputSettings" load_steps=12 format=3 uid="uid://dgxeibp77r1wy"]
[ext_resource type="Resource" uid="uid://o55y4n73ivh5" path="res://Packed/Setup/Input Sensors/Editor Camera/Move Back.tres" id="1_thixm"]
[ext_resource type="Resource" uid="uid://t5no1o63fjr5" path="res://Packed/Setup/Input Sensors/Editor Camera/Move Down.tres" id="2_jknb0"]
[ext_resource type="Resource" uid="uid://df6lrugctcuel" path="res://Packed/Setup/Input Sensors/Editor Camera/Move Forward.tres" id="3_bmph5"]
[ext_resource type="Resource" uid="uid://csuggvbd1w2a4" path="res://Packed/Setup/Input Sensors/Editor Camera/Move Left.tres" id="4_nn62x"]
[ext_resource type="Resource" uid="uid://cbqyav0cnehoq" path="res://addons/rokojori_action_library/Runtime/Sensors/Default-Sensors/Keyboard & Mouse/Mouse/Mouse-Button Right.tres" id="5_r8nl0"]
[ext_resource type="Resource" uid="uid://b8u374emi528p" path="res://addons/rokojori_action_library/Runtime/Sensors/Default-Sensors/Keyboard & Mouse/Mouse/Mouse-Button Middle.tres" id="6_sydsp"]
[ext_resource type="Resource" uid="uid://da2q51p05qdyy" path="res://Packed/Setup/Input Sensors/Editor Camera/Move Right.tres" id="7_r8nl0"]
[ext_resource type="Script" uid="uid://dfihqotugioar" path="res://addons/rokojori_action_library/Runtime/VirtualCameras/MouseEditorCameraInputSettings.cs" id="8_2c0d3"]
[ext_resource type="Resource" uid="uid://4mbw74ka5aln" path="res://Packed/Setup/Input Sensors/Editor Camera/Move Upward.tres" id="9_sydsp"]
[ext_resource type="Resource" uid="uid://b73j0lq2sqck7" path="res://Packed/Setup/Input Sensors/Editor Camera/Zoom In.tres" id="10_phpwm"]
[ext_resource type="Resource" uid="uid://b3o3ht1b2llnh" path="res://Packed/Setup/Input Sensors/Editor Camera/Zoom Out.tres" id="11_2c0d3"]
[resource]
script = ExtResource("8_2c0d3")
yawButtonsSpeed = 1.0
pitchButtonsSpeed = 1.0
zoomStepInPercentage = 10.0
zoomInButton = ExtResource("10_phpwm")
zoomInModifierButtons = []
zoomOutButton = ExtResource("11_2c0d3")
zoomOutModifierButtons = []
continousZoomStepInPercentage = 1.0
forwardButton = ExtResource("3_bmph5")
backwardsButton = ExtResource("1_thixm")
leftButton = ExtResource("4_nn62x")
rightButton = ExtResource("7_r8nl0")
upButton = ExtResource("9_sydsp")
downButton = ExtResource("2_jknb0")
moveSpeed = 1.0
mouseMovementEnabled = true
minimizeDistanceOnMovement = true
mouseMovementYawSpeed = 0.2
mouseMovementPitchSpeed = 0.2
mouseMovementOrbitButton = ExtResource("6_sydsp")
mouseMovementOrbitModifierButtons = []
mouseMovementPanSpeedX = 0.001
mouseMovementPanSpeedY = 0.001
mouseMovementPanButton = ExtResource("5_r8nl0")
mouseMovementPanModifierButtons = []
metadata/_custom_type_script = "uid://dfihqotugioar"

View File

@ -11,6 +11,7 @@ config_version=5
[application]
config/name="Rokojori Action Library Examples"
run/main_scene="uid://dk0p4j4bvakwj"
config/features=PackedStringArray("4.4", "C#", "Forward Plus")
run/max_fps=60
config/icon="res://icon.svg"