Sync Update, Added Localized/Input Labels

This commit is contained in:
Josef 2025-02-12 17:48:57 +01:00
parent cde1399e8e
commit ab688ccbbc
37 changed files with 51552 additions and 77 deletions

View File

@ -1,4 +1,4 @@
[gd_scene load_steps=47 format=4 uid="uid://dk0p4j4bvakwj"]
[gd_scene load_steps=50 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"]
@ -10,6 +10,9 @@
[ext_resource type="Script" path="res://addons/rokojori_action_library/Runtime/Procedural/Parametric/Cuboid/Cuboid.cs" id="18_6u4rt"]
[ext_resource type="Script" path="res://addons/rokojori_action_library/Runtime/Actions/Sequence/Parallel.cs" id="24_vsk86"]
[ext_resource type="Script" path="res://addons/rokojori_action_library/Runtime/Actions/Time/Delay.cs" id="26_imrh7"]
[ext_resource type="Script" 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" 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" path="res://addons/rokojori_action_library/Runtime/Actions/ActionList.cs" id="36_48c1t"]
[ext_resource type="Script" path="res://addons/rokojori_action_library/Runtime/Animation/Flash/Flash.cs" id="37_jrcib"]
@ -309,18 +312,16 @@ surface_material_override/0 = SubResource("StandardMaterial3D_ylj0b")
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.25, 0)
shape = SubResource("BoxShape3D_tgb73")
[node name="Pointable" type="Node3D" parent="Flash Examples/Shield Cube/StaticBody3D" node_paths=PackedStringArray("highlightTargets", "pointers")]
[node name="Pointable" type="Node3D" parent="Flash Examples/Shield Cube/StaticBody3D" node_paths=PackedStringArray("highlightTargets")]
script = ExtResource("38_iknbl")
highlightTargets = [NodePath("../../MeshInstance3D")]
pointers = []
[node name="Interactable" type="Node3D" parent="Flash Examples/Shield Cube/StaticBody3D" node_paths=PackedStringArray("onInteraction")]
script = ExtResource("44_4apug")
onInteraction = NodePath("../../OnInteraction")
[node name="OnInteraction" type="Node" parent="Flash Examples/Shield Cube" node_paths=PackedStringArray("actions")]
[node name="OnInteraction" type="Node" parent="Flash Examples/Shield Cube"]
script = ExtResource("36_48c1t")
actions = []
[node name="Flash" type="Node" parent="Flash Examples/Shield Cube/OnInteraction" node_paths=PackedStringArray("targets")]
script = ExtResource("37_jrcib")
@ -351,10 +352,9 @@ surface_material_override/0 = SubResource("StandardMaterial3D_ag5d1")
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.25, 0)
shape = SubResource("BoxShape3D_tgb73")
[node name="Pointable" type="Node3D" parent="Flash Examples/Health Cube/StaticBody3D" node_paths=PackedStringArray("highlightTargets", "pointers")]
[node name="Pointable" type="Node3D" parent="Flash Examples/Health Cube/StaticBody3D" node_paths=PackedStringArray("highlightTargets")]
script = ExtResource("38_iknbl")
highlightTargets = [NodePath("../../MeshInstance3D")]
pointers = []
[node name="Interactable" type="Node3D" parent="Flash Examples/Health Cube/StaticBody3D" node_paths=PackedStringArray("onInteraction")]
script = ExtResource("44_4apug")
@ -364,9 +364,8 @@ onInteraction = NodePath("../../OnInteraction")
script = ExtResource("12_tevia")
grabTarget = NodePath("../..")
[node name="OnInteraction" type="Node" parent="Flash Examples/Health Cube" node_paths=PackedStringArray("actions")]
[node name="OnInteraction" type="Node" parent="Flash Examples/Health Cube"]
script = ExtResource("36_48c1t")
actions = []
[node name="Flash" type="Node" parent="Flash Examples/Health Cube/OnInteraction" node_paths=PackedStringArray("targets")]
script = ExtResource("37_jrcib")
@ -392,18 +391,16 @@ surface_material_override/0 = SubResource("StandardMaterial3D_8kxh0")
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.25, 0)
shape = SubResource("BoxShape3D_tgb73")
[node name="Pointable" type="Node3D" parent="Flash Examples/Boost Cube/StaticBody3D" node_paths=PackedStringArray("highlightTargets", "pointers")]
[node name="Pointable" type="Node3D" parent="Flash Examples/Boost Cube/StaticBody3D" node_paths=PackedStringArray("highlightTargets")]
script = ExtResource("38_iknbl")
highlightTargets = [NodePath("../../MeshInstance3D")]
pointers = []
[node name="Interactable" type="Node3D" parent="Flash Examples/Boost Cube/StaticBody3D" node_paths=PackedStringArray("onInteraction")]
script = ExtResource("44_4apug")
onInteraction = NodePath("../../OnInteraction")
[node name="OnInteraction" type="Node" parent="Flash Examples/Boost Cube" node_paths=PackedStringArray("actions")]
[node name="OnInteraction" type="Node" parent="Flash Examples/Boost Cube"]
script = ExtResource("36_48c1t")
actions = []
[node name="Flash" type="Node" parent="Flash Examples/Boost Cube/OnInteraction" node_paths=PackedStringArray("targets")]
script = ExtResource("37_jrcib")
@ -429,18 +426,16 @@ surface_material_override/0 = SubResource("StandardMaterial3D_o4ujy")
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.25, 0)
shape = SubResource("BoxShape3D_tgb73")
[node name="Pointable" type="Node3D" parent="Flash Examples/Blink Cube/StaticBody3D" node_paths=PackedStringArray("highlightTargets", "pointers")]
[node name="Pointable" type="Node3D" parent="Flash Examples/Blink Cube/StaticBody3D" node_paths=PackedStringArray("highlightTargets")]
script = ExtResource("38_iknbl")
highlightTargets = [NodePath("../../MeshInstance3D")]
pointers = []
[node name="Interactable" type="Node3D" parent="Flash Examples/Blink Cube/StaticBody3D" node_paths=PackedStringArray("onInteraction")]
script = ExtResource("44_4apug")
onInteraction = NodePath("../../OnInteraction")
[node name="OnInteraction" type="Node" parent="Flash Examples/Blink Cube" node_paths=PackedStringArray("actions")]
[node name="OnInteraction" type="Node" parent="Flash Examples/Blink Cube"]
script = ExtResource("36_48c1t")
actions = []
[node name="Flash" type="Node" parent="Flash Examples/Blink Cube/OnInteraction" node_paths=PackedStringArray("targets")]
script = ExtResource("37_jrcib")
@ -466,18 +461,16 @@ surface_material_override/0 = SubResource("StandardMaterial3D_wl8dk")
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.25, 0)
shape = SubResource("BoxShape3D_tgb73")
[node name="Pointable" type="Node3D" parent="Flash Examples/Impact Cube/StaticBody3D" node_paths=PackedStringArray("highlightTargets", "pointers")]
[node name="Pointable" type="Node3D" parent="Flash Examples/Impact Cube/StaticBody3D" node_paths=PackedStringArray("highlightTargets")]
script = ExtResource("38_iknbl")
highlightTargets = [NodePath("../../MeshInstance3D")]
pointers = []
[node name="Interactable" type="Node3D" parent="Flash Examples/Impact Cube/StaticBody3D" node_paths=PackedStringArray("onInteraction")]
script = ExtResource("44_4apug")
onInteraction = NodePath("../../OnInteraction")
[node name="OnInteraction" type="Node" parent="Flash Examples/Impact Cube" node_paths=PackedStringArray("actions")]
[node name="OnInteraction" type="Node" parent="Flash Examples/Impact Cube"]
script = ExtResource("36_48c1t")
actions = []
[node name="Flash" type="Node" parent="Flash Examples/Impact Cube/OnInteraction" node_paths=PackedStringArray("targets")]
script = ExtResource("37_jrcib")
@ -492,7 +485,7 @@ output = NodePath("Node3D/MeshInstance3D")
metadata/_edit_group_ = true
[node name="Node3D" type="Node3D" parent="Flash Examples/Special Cube"]
transform = Transform3D(-0.654304, 0, 0.75623, 0, 1, 0, -0.75623, 0, -0.654304, 0, 0, 0)
transform = Transform3D(0.963173, 0, -0.268877, 0, 1, 0, 0.268877, 0, 0.963173, 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)
@ -512,22 +505,19 @@ timeline = ExtResource("3_bdt4g")
transform = Transform3D(-0.707107, 0.707107, 0, -0.566941, -0.566941, -0.597625, -0.422585, -0.422585, 0.801776, 0, 0.5, 0)
shape = SubResource("BoxShape3D_hs17q")
[node name="Pointable" type="Node3D" parent="Flash Examples/Special Cube/Node3D/StaticBody3D" node_paths=PackedStringArray("highlightTargets", "pointers")]
[node name="Pointable" type="Node3D" parent="Flash Examples/Special Cube/Node3D/StaticBody3D" node_paths=PackedStringArray("highlightTargets")]
script = ExtResource("38_iknbl")
highlightTargets = [NodePath("../../MeshInstance3D")]
pointers = []
[node name="Interactable" type="Node3D" parent="Flash Examples/Special Cube/Node3D/StaticBody3D" node_paths=PackedStringArray("onInteraction")]
script = ExtResource("44_4apug")
onInteraction = NodePath("../../../OnInteraction")
[node name="OnInteraction" type="Node" parent="Flash Examples/Special Cube" node_paths=PackedStringArray("actions")]
[node name="OnInteraction" type="Node" parent="Flash Examples/Special Cube"]
script = ExtResource("36_48c1t")
actions = []
[node name="ActionSequence" type="Node" parent="Flash Examples/Special Cube/OnInteraction" node_paths=PackedStringArray("actions")]
[node name="ActionSequence" type="Node" parent="Flash Examples/Special Cube/OnInteraction"]
script = ExtResource("56_nd25v")
actions = []
[node name="PlayCameraEffect" type="Node" parent="Flash Examples/Special Cube/OnInteraction/ActionSequence"]
script = ExtResource("57_2ytre")
@ -568,9 +558,8 @@ cameraEffect = ExtResource("58_gwjbe")
useActiveCameraSlot = true
cameraSlotIndex = 0
[node name="Parallel2" type="Node" parent="Flash Examples/Special Cube/OnInteraction/ActionSequence" node_paths=PackedStringArray("actions")]
[node name="Parallel2" type="Node" parent="Flash Examples/Special Cube/OnInteraction/ActionSequence"]
script = ExtResource("24_vsk86")
actions = []
[node name="Flash8" type="Node" parent="Flash Examples/Special Cube/OnInteraction/ActionSequence/Parallel2" node_paths=PackedStringArray("targets")]
script = ExtResource("37_jrcib")
@ -615,18 +604,16 @@ cameraEffect = ExtResource("58_gwjbe")
useActiveCameraSlot = true
cameraSlotIndex = 0
[node name="ActionList2" type="Node" parent="Flash Examples/Special Cube/OnInteraction/ActionSequence" node_paths=PackedStringArray("actions")]
[node name="ActionList2" type="Node" parent="Flash Examples/Special Cube/OnInteraction/ActionSequence"]
script = ExtResource("36_48c1t")
actions = []
[node name="ModulateTimeLineSpeed" type="Node" parent="Flash Examples/Special Cube/OnInteraction/ActionSequence/ActionList2"]
script = ExtResource("59_nluph")
timeline = ExtResource("3_bdt4g")
curve = SubResource("Resource_72utn")
[node name="Parallel" type="Node" parent="Flash Examples/Special Cube/OnInteraction/ActionSequence" node_paths=PackedStringArray("actions")]
[node name="Parallel" type="Node" parent="Flash Examples/Special Cube/OnInteraction/ActionSequence"]
script = ExtResource("24_vsk86")
actions = []
[node name="Flash8" type="Node" parent="Flash Examples/Special Cube/OnInteraction/ActionSequence/Parallel" node_paths=PackedStringArray("targets")]
script = ExtResource("37_jrcib")
@ -641,4 +628,20 @@ targets = [NodePath("../../../../../Flash Targets/Black Cube"), NodePath("../../
[node name="Delay" type="Node" parent="Flash Examples/Special Cube/OnInteraction/ActionSequence"]
script = ExtResource("26_imrh7")
[node name="Label3D" type="Label3D" parent="Flash Examples"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.351862, 0)
texture_filter = 5
text = "Lasfkasl"
[node name="LocaleLabel3D" type="Label3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.549893, 0)
text = "Hello World!"
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"]

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,33 @@
[gd_resource type="Resource" script_class="CombineSensor" load_steps=6 format=3 uid="uid://b6omv5bjjp2us"]
[ext_resource type="Script" path="res://addons/rokojori_action_library/Runtime/Sensors/CombineSensor.cs" id="1_ttsj5"]
[ext_resource type="Resource" uid="uid://ci42d04kv03yx" path="res://addons/rokojori_action_library/Runtime/Sensors/Default-Sensors/Keyboard & Mouse/Mouse/Mouse-Button Left.tres" id="2_h072s"]
[ext_resource type="Resource" uid="uid://dffkdky8iowro" path="res://addons/rokojori_action_library/Runtime/Sensors/Default-Sensors/Gamepad/Buttons/Button A, PS Cross, Nin B.tres" id="3_5my10"]
[ext_resource type="Script" path="res://addons/rokojori_action_library/Runtime/Sensors/KeySensor.cs" id="4_js0nn"]
[sub_resource type="Resource" id="Resource_kitj7"]
script = ExtResource("4_js0nn")
key = 4194309
keyLocation = 0
ctrlHold = 2
altHold = 2
shiftHold = 2
modifiersMode = 0
continous = false
_value = 0.0
_wasActive = false
_active = false
_activeTreshold = 0.5
[resource]
script = ExtResource("1_ttsj5")
sensors = [ExtResource("2_h072s"), ExtResource("3_5my10"), SubResource("Resource_kitj7")]
showOnlyVisibleIcons = false
numVisible = 0
inputIcons = []
useInputIconsFromSensors = true
continous = false
_value = 0.0
_wasActive = false
_active = false
_activeTreshold = 0.5

View File

@ -0,0 +1,78 @@
[gd_resource type="Resource" script_class="CombineSensor" load_steps=10 format=3 uid="uid://o55y4n73ivh5"]
[ext_resource type="Script" path="res://addons/rokojori_action_library/Runtime/Sensors/CombineSensor.cs" id="1_ikub8"]
[ext_resource type="Script" path="res://addons/rokojori_action_library/Runtime/Sensors/KeySensor.cs" id="2_dx1wq"]
[ext_resource type="Script" path="res://addons/rokojori_action_library/Runtime/Sensors/GamePadAxisSensor.cs" id="3_1wc0w"]
[ext_resource type="Script" path="res://addons/rokojori_action_library/Runtime/Sensors/GamePadButtonSensor.cs" id="4_wj7li"]
[sub_resource type="Resource" id="Resource_jlvht"]
script = ExtResource("2_dx1wq")
key = 83
keyLocation = 0
ctrlHold = 2
altHold = 2
shiftHold = 2
modifiersMode = 0
continous = false
_value = 0.0
_wasActive = false
_active = false
_activeTreshold = 0.5
[sub_resource type="Resource" id="Resource_75e6s"]
script = ExtResource("1_ikub8")
sensors = [SubResource("Resource_jlvht")]
showOnlyVisibleIcons = false
numVisible = 0
inputIcons = []
useInputIconsFromSensors = true
continous = false
_value = 0.0
_wasActive = false
_active = false
_activeTreshold = 0.5
[sub_resource type="Resource" id="Resource_gmj7t"]
script = ExtResource("3_1wc0w")
axis = 1
type = 0
continous = false
_value = 0.0
_wasActive = false
_active = false
_activeTreshold = 0.5
[sub_resource type="Resource" id="Resource_687xx"]
script = ExtResource("4_wj7li")
button = 12
continous = false
_value = 0.0
_wasActive = false
_active = false
_activeTreshold = 0.5
[sub_resource type="Resource" id="Resource_unhue"]
script = ExtResource("1_ikub8")
sensors = [SubResource("Resource_gmj7t"), SubResource("Resource_687xx")]
showOnlyVisibleIcons = true
numVisible = 1
inputIcons = []
useInputIconsFromSensors = true
continous = false
_value = 0.0
_wasActive = false
_active = false
_activeTreshold = 0.5
[resource]
script = ExtResource("1_ikub8")
sensors = [SubResource("Resource_75e6s"), SubResource("Resource_unhue")]
showOnlyVisibleIcons = false
numVisible = 0
inputIcons = []
useInputIconsFromSensors = true
continous = false
_value = 0.0
_wasActive = false
_active = false
_activeTreshold = 0.5

View File

@ -0,0 +1,67 @@
[gd_resource type="Resource" script_class="CombineSensor" load_steps=8 format=3 uid="uid://t5no1o63fjr5"]
[ext_resource type="Script" path="res://addons/rokojori_action_library/Runtime/Sensors/CombineSensor.cs" id="1_e8w3r"]
[ext_resource type="Script" path="res://addons/rokojori_action_library/Runtime/Sensors/KeySensor.cs" id="2_elgr4"]
[ext_resource type="Script" path="res://addons/rokojori_action_library/Runtime/Sensors/GamePadButtonSensor.cs" id="3_pyik4"]
[sub_resource type="Resource" id="Resource_1iwsh"]
script = ExtResource("2_elgr4")
key = 69
keyLocation = 0
ctrlHold = 2
altHold = 2
shiftHold = 2
modifiersMode = 0
continous = false
_value = 0.0
_wasActive = false
_active = false
_activeTreshold = 0.5
[sub_resource type="Resource" id="Resource_jvxvp"]
script = ExtResource("1_e8w3r")
sensors = [SubResource("Resource_1iwsh")]
showOnlyVisibleIcons = false
numVisible = 0
inputIcons = []
useInputIconsFromSensors = true
continous = false
_value = 0.0
_wasActive = false
_active = false
_activeTreshold = 0.5
[sub_resource type="Resource" id="Resource_3ovg5"]
script = ExtResource("3_pyik4")
button = 10
continous = false
_value = 0.0
_wasActive = false
_active = false
_activeTreshold = 0.5
[sub_resource type="Resource" id="Resource_yhdev"]
script = ExtResource("1_e8w3r")
sensors = [SubResource("Resource_3ovg5")]
showOnlyVisibleIcons = false
numVisible = 0
inputIcons = []
useInputIconsFromSensors = true
continous = false
_value = 0.0
_wasActive = false
_active = false
_activeTreshold = 0.5
[resource]
script = ExtResource("1_e8w3r")
sensors = [SubResource("Resource_jvxvp"), SubResource("Resource_yhdev")]
showOnlyVisibleIcons = false
numVisible = 0
inputIcons = []
useInputIconsFromSensors = true
continous = false
_value = 0.0
_wasActive = false
_active = false
_activeTreshold = 0.5

View File

@ -0,0 +1,78 @@
[gd_resource type="Resource" script_class="CombineSensor" load_steps=10 format=3 uid="uid://df6lrugctcuel"]
[ext_resource type="Script" path="res://addons/rokojori_action_library/Runtime/Sensors/CombineSensor.cs" id="1_r4ul7"]
[ext_resource type="Script" path="res://addons/rokojori_action_library/Runtime/Sensors/KeySensor.cs" id="2_rofew"]
[ext_resource type="Script" path="res://addons/rokojori_action_library/Runtime/Sensors/GamePadButtonSensor.cs" id="3_dyhbp"]
[ext_resource type="Script" path="res://addons/rokojori_action_library/Runtime/Sensors/GamePadAxisSensor.cs" id="3_nh2m3"]
[sub_resource type="Resource" id="Resource_8h6fq"]
script = ExtResource("2_rofew")
key = 87
keyLocation = 0
ctrlHold = 2
altHold = 2
shiftHold = 2
modifiersMode = 0
continous = false
_value = 0.0
_wasActive = false
_active = false
_activeTreshold = 0.5
[sub_resource type="Resource" id="Resource_nj1ud"]
script = ExtResource("1_r4ul7")
sensors = [SubResource("Resource_8h6fq")]
showOnlyVisibleIcons = false
numVisible = 0
inputIcons = []
useInputIconsFromSensors = true
continous = false
_value = 0.0
_wasActive = false
_active = false
_activeTreshold = 0.5
[sub_resource type="Resource" id="Resource_mxixb"]
script = ExtResource("3_nh2m3")
axis = 1
type = 1
continous = false
_value = 0.0
_wasActive = false
_active = false
_activeTreshold = 0.5
[sub_resource type="Resource" id="Resource_c1vyq"]
script = ExtResource("3_dyhbp")
button = 11
continous = false
_value = 0.0
_wasActive = false
_active = false
_activeTreshold = 0.5
[sub_resource type="Resource" id="Resource_vhtjx"]
script = ExtResource("1_r4ul7")
sensors = [SubResource("Resource_mxixb"), SubResource("Resource_c1vyq")]
showOnlyVisibleIcons = true
numVisible = 1
inputIcons = []
useInputIconsFromSensors = true
continous = false
_value = 0.0
_wasActive = false
_active = false
_activeTreshold = 0.5
[resource]
script = ExtResource("1_r4ul7")
sensors = [SubResource("Resource_nj1ud"), SubResource("Resource_vhtjx")]
showOnlyVisibleIcons = false
numVisible = 0
inputIcons = []
useInputIconsFromSensors = true
continous = false
_value = 0.0
_wasActive = false
_active = false
_activeTreshold = 0.5

View File

@ -0,0 +1,78 @@
[gd_resource type="Resource" script_class="CombineSensor" load_steps=10 format=3 uid="uid://csuggvbd1w2a4"]
[ext_resource type="Script" path="res://addons/rokojori_action_library/Runtime/Sensors/CombineSensor.cs" id="1_w0cyl"]
[ext_resource type="Script" path="res://addons/rokojori_action_library/Runtime/Sensors/KeySensor.cs" id="2_umtky"]
[ext_resource type="Script" path="res://addons/rokojori_action_library/Runtime/Sensors/GamePadAxisSensor.cs" id="3_ushvr"]
[ext_resource type="Script" path="res://addons/rokojori_action_library/Runtime/Sensors/GamePadButtonSensor.cs" id="4_53tr6"]
[sub_resource type="Resource" id="Resource_jlvht"]
script = ExtResource("2_umtky")
key = 65
keyLocation = 0
ctrlHold = 2
altHold = 2
shiftHold = 2
modifiersMode = 0
continous = false
_value = 0.0
_wasActive = false
_active = false
_activeTreshold = 0.5
[sub_resource type="Resource" id="Resource_qts7v"]
script = ExtResource("1_w0cyl")
sensors = [SubResource("Resource_jlvht")]
showOnlyVisibleIcons = false
numVisible = 0
inputIcons = []
useInputIconsFromSensors = true
continous = false
_value = 0.0
_wasActive = false
_active = false
_activeTreshold = 0.5
[sub_resource type="Resource" id="Resource_gmj7t"]
script = ExtResource("3_ushvr")
axis = 0
type = 1
continous = false
_value = 0.0
_wasActive = false
_active = false
_activeTreshold = 0.5
[sub_resource type="Resource" id="Resource_687xx"]
script = ExtResource("4_53tr6")
button = 13
continous = false
_value = 0.0
_wasActive = false
_active = false
_activeTreshold = 0.5
[sub_resource type="Resource" id="Resource_0hx40"]
script = ExtResource("1_w0cyl")
sensors = [SubResource("Resource_gmj7t"), SubResource("Resource_687xx")]
showOnlyVisibleIcons = true
numVisible = 1
inputIcons = []
useInputIconsFromSensors = true
continous = false
_value = 0.0
_wasActive = false
_active = false
_activeTreshold = 0.5
[resource]
script = ExtResource("1_w0cyl")
sensors = [SubResource("Resource_qts7v"), SubResource("Resource_0hx40")]
showOnlyVisibleIcons = false
numVisible = 0
inputIcons = []
useInputIconsFromSensors = true
continous = false
_value = 0.0
_wasActive = false
_active = false
_activeTreshold = 0.5

View File

@ -0,0 +1,78 @@
[gd_resource type="Resource" script_class="CombineSensor" load_steps=10 format=3 uid="uid://da2q51p05qdyy"]
[ext_resource type="Script" path="res://addons/rokojori_action_library/Runtime/Sensors/CombineSensor.cs" id="1_vdwin"]
[ext_resource type="Script" path="res://addons/rokojori_action_library/Runtime/Sensors/KeySensor.cs" id="2_prxyq"]
[ext_resource type="Script" path="res://addons/rokojori_action_library/Runtime/Sensors/GamePadAxisSensor.cs" id="3_4antj"]
[ext_resource type="Script" path="res://addons/rokojori_action_library/Runtime/Sensors/GamePadButtonSensor.cs" id="4_ucs5r"]
[sub_resource type="Resource" id="Resource_jlvht"]
script = ExtResource("2_prxyq")
key = 68
keyLocation = 0
ctrlHold = 2
altHold = 2
shiftHold = 2
modifiersMode = 0
continous = false
_value = 0.0
_wasActive = false
_active = false
_activeTreshold = 0.5
[sub_resource type="Resource" id="Resource_d1suo"]
script = ExtResource("1_vdwin")
sensors = [SubResource("Resource_jlvht")]
showOnlyVisibleIcons = false
numVisible = 0
inputIcons = []
useInputIconsFromSensors = true
continous = false
_value = 0.0
_wasActive = false
_active = false
_activeTreshold = 0.5
[sub_resource type="Resource" id="Resource_c7ebh"]
script = ExtResource("3_4antj")
axis = 0
type = 0
continous = false
_value = 0.0
_wasActive = false
_active = false
_activeTreshold = 0.5
[sub_resource type="Resource" id="Resource_md70b"]
script = ExtResource("4_ucs5r")
button = 14
continous = false
_value = 0.0
_wasActive = false
_active = false
_activeTreshold = 0.5
[sub_resource type="Resource" id="Resource_fhaor"]
script = ExtResource("1_vdwin")
sensors = [SubResource("Resource_c7ebh"), SubResource("Resource_md70b")]
showOnlyVisibleIcons = true
numVisible = 1
inputIcons = []
useInputIconsFromSensors = true
continous = false
_value = 0.0
_wasActive = false
_active = false
_activeTreshold = 0.5
[resource]
script = ExtResource("1_vdwin")
sensors = [SubResource("Resource_d1suo"), SubResource("Resource_fhaor")]
showOnlyVisibleIcons = false
numVisible = 0
inputIcons = []
useInputIconsFromSensors = true
continous = false
_value = 0.0
_wasActive = false
_active = false
_activeTreshold = 0.5

View File

@ -0,0 +1,67 @@
[gd_resource type="Resource" script_class="CombineSensor" load_steps=8 format=3 uid="uid://4mbw74ka5aln"]
[ext_resource type="Script" path="res://addons/rokojori_action_library/Runtime/Sensors/CombineSensor.cs" id="1_5263n"]
[ext_resource type="Script" path="res://addons/rokojori_action_library/Runtime/Sensors/KeySensor.cs" id="2_g8pg7"]
[ext_resource type="Script" path="res://addons/rokojori_action_library/Runtime/Sensors/GamePadButtonSensor.cs" id="3_ejsq1"]
[sub_resource type="Resource" id="Resource_jt01w"]
script = ExtResource("2_g8pg7")
key = 81
keyLocation = 0
ctrlHold = 2
altHold = 2
shiftHold = 2
modifiersMode = 0
continous = false
_value = 0.0
_wasActive = false
_active = false
_activeTreshold = 0.5
[sub_resource type="Resource" id="Resource_pqldp"]
script = ExtResource("1_5263n")
sensors = [SubResource("Resource_jt01w")]
showOnlyVisibleIcons = false
numVisible = 0
inputIcons = []
useInputIconsFromSensors = true
continous = false
_value = 0.0
_wasActive = false
_active = false
_activeTreshold = 0.5
[sub_resource type="Resource" id="Resource_ivi7v"]
script = ExtResource("3_ejsq1")
button = 9
continous = false
_value = 0.0
_wasActive = false
_active = false
_activeTreshold = 0.5
[sub_resource type="Resource" id="Resource_0uxqa"]
script = ExtResource("1_5263n")
sensors = [SubResource("Resource_ivi7v")]
showOnlyVisibleIcons = true
numVisible = 1
inputIcons = []
useInputIconsFromSensors = true
continous = false
_value = 0.0
_wasActive = false
_active = false
_activeTreshold = 0.5
[resource]
script = ExtResource("1_5263n")
sensors = [SubResource("Resource_pqldp"), SubResource("Resource_0uxqa")]
showOnlyVisibleIcons = false
numVisible = 0
inputIcons = []
useInputIconsFromSensors = true
continous = false
_value = 0.0
_wasActive = false
_active = false
_activeTreshold = 0.5

View File

@ -0,0 +1,28 @@
[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="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"]
[sub_resource type="Resource" id="Resource_rjqry"]
script = ExtResource("3_5t03r")
axis = 5
type = 0
continous = false
_value = 0.0
_wasActive = false
_active = false
_activeTreshold = 0.5
[resource]
script = ExtResource("1_lnrk8")
sensors = [ExtResource("2_tuiuf"), SubResource("Resource_rjqry")]
showOnlyVisibleIcons = false
numVisible = 0
inputIcons = []
useInputIconsFromSensors = true
continous = false
_value = 0.0
_wasActive = false
_active = false
_activeTreshold = 0.5

View File

@ -0,0 +1,28 @@
[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="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"]
[sub_resource type="Resource" id="Resource_aybyw"]
script = ExtResource("3_pu70j")
axis = 4
type = 0
continous = false
_value = 0.0
_wasActive = false
_active = false
_activeTreshold = 0.5
[resource]
script = ExtResource("1_w21si")
sensors = [ExtResource("2_dk7mn"), SubResource("Resource_aybyw")]
showOnlyVisibleIcons = false
numVisible = 0
inputIcons = []
useInputIconsFromSensors = true
continous = false
_value = 0.0
_wasActive = false
_active = false
_activeTreshold = 0.5

View File

@ -0,0 +1,15 @@
[gd_resource type="Resource" script_class="LocaleText" load_steps=4 format=3 uid="uid://lr7gcd6yg8i4"]
[ext_resource type="Script" path="res://addons/rokojori_action_library/Runtime/Localization/LocaleTextEntry.cs" id="1_4c4fl"]
[ext_resource type="Script" path="res://addons/rokojori_action_library/Runtime/Localization/LocaleText.cs" id="2_lbvlr"]
[sub_resource type="Resource" id="Resource_07s3v"]
script = ExtResource("1_4c4fl")
code = 12
content = "Vorwärts/rückwärts"
[resource]
script = ExtResource("2_lbvlr")
en = "Forward/Back"
entries = [SubResource("Resource_07s3v")]
context = ""

View File

@ -0,0 +1,15 @@
[gd_resource type="Resource" script_class="LocaleText" load_steps=4 format=3 uid="uid://ciqjgtj8ajsm0"]
[ext_resource type="Script" path="res://addons/rokojori_action_library/Runtime/Localization/LocaleTextEntry.cs" id="1_lbyqk"]
[ext_resource type="Script" path="res://addons/rokojori_action_library/Runtime/Localization/LocaleText.cs" id="1_qp53m"]
[sub_resource type="Resource" id="Resource_07s3v"]
script = ExtResource("1_lbyqk")
code = 12
content = "Interagieren"
[resource]
script = ExtResource("1_qp53m")
en = "Interact"
entries = [SubResource("Resource_07s3v")]
context = ""

View File

@ -0,0 +1,15 @@
[gd_resource type="Resource" script_class="LocaleText" load_steps=4 format=3 uid="uid://dgxv8o8qhd5wl"]
[ext_resource type="Script" path="res://addons/rokojori_action_library/Runtime/Localization/LocaleTextEntry.cs" id="1_i45a2"]
[ext_resource type="Script" path="res://addons/rokojori_action_library/Runtime/Localization/LocaleText.cs" id="2_6bmky"]
[sub_resource type="Resource" id="Resource_07s3v"]
script = ExtResource("1_i45a2")
code = 12
content = "Links/Rechts"
[resource]
script = ExtResource("2_6bmky")
en = "Left/Right"
entries = [SubResource("Resource_07s3v")]
context = ""

View File

@ -0,0 +1,15 @@
[gd_resource type="Resource" script_class="LocaleText" load_steps=4 format=3 uid="uid://bmhsl7uoaa67v"]
[ext_resource type="Script" path="res://addons/rokojori_action_library/Runtime/Localization/LocaleTextEntry.cs" id="1_4dw48"]
[ext_resource type="Script" path="res://addons/rokojori_action_library/Runtime/Localization/LocaleText.cs" id="2_mro0w"]
[sub_resource type="Resource" id="Resource_07s3v"]
script = ExtResource("1_4dw48")
code = 12
content = "Drehen"
[resource]
script = ExtResource("2_mro0w")
en = "Orbit"
entries = [SubResource("Resource_07s3v")]
context = ""

View File

@ -0,0 +1,15 @@
[gd_resource type="Resource" script_class="LocaleText" load_steps=4 format=3 uid="uid://dn21j6dga66mp"]
[ext_resource type="Script" path="res://addons/rokojori_action_library/Runtime/Localization/LocaleTextEntry.cs" id="1_ued7x"]
[ext_resource type="Script" path="res://addons/rokojori_action_library/Runtime/Localization/LocaleText.cs" id="2_ifor6"]
[sub_resource type="Resource" id="Resource_07s3v"]
script = ExtResource("1_ued7x")
code = 12
content = "Oben/unten"
[resource]
script = ExtResource("2_ifor6")
en = "Up/Down"
entries = [SubResource("Resource_07s3v")]
context = ""

View File

@ -0,0 +1,15 @@
[gd_resource type="Resource" script_class="LocaleText" load_steps=4 format=3 uid="uid://dp0u2gty1bqms"]
[ext_resource type="Script" path="res://addons/rokojori_action_library/Runtime/Localization/LocaleTextEntry.cs" id="1_l855s"]
[ext_resource type="Script" path="res://addons/rokojori_action_library/Runtime/Localization/LocaleText.cs" id="2_gsuqi"]
[sub_resource type="Resource" id="Resource_07s3v"]
script = ExtResource("1_l855s")
code = 12
content = "Zoomen"
[resource]
script = ExtResource("2_gsuqi")
en = "Zoom"
entries = [SubResource("Resource_07s3v")]
context = ""

Binary file not shown.

View File

@ -0,0 +1,114 @@
[gd_resource type="Shader" format=3 uid="uid://bvjycr2yn7tks"]
[resource]
code = "// NOTE: Shader automatically converted from Godot Engine 4.3.stable.mono's StandardMaterial3D.
shader_type spatial;
render_mode blend_mix, depth_draw_opaque, cull_back, diffuse_burley, specular_schlick_ggx, unshaded;
#include \"res://addons/rokojori_action_library/Runtime/Shading/Library/Transform.gdshaderinc\"
#include \"res://addons/rokojori_action_library/Runtime/Shading/Library/Line3.gdshaderinc\"
uniform vec4 albedo : source_color;
uniform sampler2D texture_albedo : source_color, filter_linear_mipmap, repeat_enable;
uniform vec2 scale = vec2(1, 1 );
uniform float rotation = 0;
uniform float velocity = 1;
uniform float width = 1;
uniform float feather = 1;
varying vec3 worldStart;
varying vec3 worldEnd;
varying vec3 worldVertex;
uniform float size = 1.0;
uniform float power = 1.0;
void vertex()
{
/*worldStart = applyMatrix( -velocity, MODEL_MATRIX );
worldEnd = applyMatrix( velocity, MODEL_MATRIX );
worldVertex = applyMatrix( vec3( 0, 0, 0 ), MODEL_MATRIX );
*/
//worldStart.z = 0.0;
//worldEnd.z = 0.0;
MODELVIEW_MATRIX = VIEW_MATRIX * mat4(
MAIN_CAM_INV_VIEW_MATRIX[0],
MAIN_CAM_INV_VIEW_MATRIX[1],
MAIN_CAM_INV_VIEW_MATRIX[2],
MODEL_MATRIX[3] );
MODELVIEW_MATRIX *= rotationZ_m4( rotation );
MODELVIEW_NORMAL_MATRIX = mat3(MODELVIEW_MATRIX);
vec2 scaledUV = ( UV * 2.0 - vec2( 1, 1 ) ) * scale * 0.5;
VERTEX += vec3( -scaledUV.x,scaledUV.y, 0 );
//worldVertex.z = 0.0;
}
float ember( vec2 uv )
{
uv = uv * 2.0 - vec2( 1, 1 );
uv.x *= velocity + width;
uv.y *= width;
vec2 v = vec2( 2.0 * velocity, 0 );
vec2 p = uv - vec2( velocity, 0 );
float r = width;
float a = dot( v, v );
float b = dot( v, p );
float c = dot( p, p ) - r * r;
float d = b * b - a * c;
// edge fade
float h = clamp( -b / a, 0, 1);
float dist = length( p + h * v);
float alpha = smoothstep( 0, feather * width, width - dist );
if ( d > 0.0 )
{
d = sqrt( d );
float t0 = max( 0, (-b - d) / a );
float t1 = min( 1, (-b + d) / a );
alpha *= clamp( 2.0 * ( t1 - t0 ), 0, 1 );
}
return alpha;
}
void fragment()
{
vec2 base_uv = UV;
/*
vec3 world = VERTEX;
Line3 line;
line.start = applyMatrix( worldStart, VIEW_MATRIX );
line.end = applyMatrix( worldEnd, VIEW_MATRIX );
//line.start.z = world.z;
//line.end.z = world.z;
float d = Line3_getDistance( line, world );
*/
ALBEDO = albedo.rgb;
ALPHA *= albedo.a * ember( UV );
}
"

Binary file not shown.

Binary file not shown.

View File

@ -0,0 +1,51 @@
[remap]
importer="scene"
importer_version=1
type="PackedScene"
uid="uid://clsy75hie600l"
path="res://.godot/imported/tiny-quad.blend-1ba8ae4058b32f5b6586609660ca654a.scn"
[deps]
source_file="res://Research/Embers/tiny-quad.blend"
dest_files=["res://.godot/imported/tiny-quad.blend-1ba8ae4058b32f5b6586609660ca654a.scn"]
[params]
nodes/root_type=""
nodes/root_name=""
nodes/apply_root_scale=true
nodes/root_scale=1.0
nodes/import_as_skeleton_bones=false
meshes/ensure_tangents=true
meshes/generate_lods=true
meshes/create_shadow_meshes=true
meshes/light_baking=1
meshes/lightmap_texel_size=0.2
meshes/force_disable_compression=false
skins/use_named_skins=true
animation/import=true
animation/fps=30
animation/trimming=false
animation/remove_immutable_tracks=true
animation/import_rest_as_RESET=false
import_script/path=""
_subresources={}
blender/nodes/visible=0
blender/nodes/active_collection_only=false
blender/nodes/punctual_lights=true
blender/nodes/cameras=true
blender/nodes/custom_properties=true
blender/nodes/modifiers=1
blender/meshes/colors=false
blender/meshes/uvs=true
blender/meshes/normals=true
blender/meshes/tangents=true
blender/meshes/skins=2
blender/meshes/export_bones_deforming_mesh_only=false
blender/materials/unpack_enabled=true
blender/materials/export_materials=1
blender/animation/limit_playback=true
blender/animation/always_sample=true
blender/animation/group_tracks=true

View File

@ -0,0 +1,104 @@
{
"asset":{
"generator":"Khronos glTF Blender I/O v4.0.44",
"version":"2.0"
},
"scene":0,
"scenes":[
{
"name":"Scene",
"nodes":[
0
]
}
],
"nodes":[
{
"mesh":0,
"name":"Plane"
}
],
"meshes":[
{
"name":"Plane",
"primitives":[
{
"attributes":{
"POSITION":0,
"NORMAL":1,
"TEXCOORD_0":2
},
"indices":3
}
]
}
],
"accessors":[
{
"bufferView":0,
"componentType":5126,
"count":4,
"max":[
9.999999747378752e-05,
9.999999747378752e-05,
4.371138867531599e-12
],
"min":[
-9.999999747378752e-05,
-9.999999747378752e-05,
-4.371138867531599e-12
],
"type":"VEC3"
},
{
"bufferView":1,
"componentType":5126,
"count":4,
"type":"VEC3"
},
{
"bufferView":2,
"componentType":5126,
"count":4,
"type":"VEC2"
},
{
"bufferView":3,
"componentType":5123,
"count":6,
"type":"SCALAR"
}
],
"bufferViews":[
{
"buffer":0,
"byteLength":48,
"byteOffset":0,
"target":34962
},
{
"buffer":0,
"byteLength":48,
"byteOffset":48,
"target":34962
},
{
"buffer":0,
"byteLength":32,
"byteOffset":96,
"target":34962
},
{
"buffer":0,
"byteLength":12,
"byteOffset":128,
"target":34963
}
],
"buffers":[
{
"byteLength":140,
"uri":"tiny-quad.bin"
}
]
}

View File

@ -0,0 +1,36 @@
[remap]
importer="scene"
importer_version=1
type="PackedScene"
uid="uid://c01xrwitnj3p3"
path="res://.godot/imported/tiny-quad.gltf-7605c5596d96d0a3c6ddfe5699e98d41.scn"
[deps]
source_file="res://Research/Embers/tiny-quad.gltf"
dest_files=["res://.godot/imported/tiny-quad.gltf-7605c5596d96d0a3c6ddfe5699e98d41.scn"]
[params]
nodes/root_type=""
nodes/root_name=""
nodes/apply_root_scale=true
nodes/root_scale=1.0
nodes/import_as_skeleton_bones=false
meshes/ensure_tangents=true
meshes/generate_lods=true
meshes/create_shadow_meshes=true
meshes/light_baking=1
meshes/lightmap_texel_size=0.2
meshes/force_disable_compression=false
skins/use_named_skins=true
animation/import=true
animation/fps=30
animation/trimming=false
animation/remove_immutable_tracks=true
animation/import_rest_as_RESET=false
import_script/path=""
_subresources={}
gltf/naming_version=1
gltf/embedded_image_handling=1

View File

@ -0,0 +1,6 @@
[gd_resource type="SystemFont" format=3 uid="uid://bakiyyiix68n1"]
[resource]
font_names = PackedStringArray("Jost")
font_weight = 500
oversampling = 2.0

15
Research/Hello World.tres Normal file
View File

@ -0,0 +1,15 @@
[gd_resource type="Resource" script_class="LocaleText" load_steps=4 format=3 uid="uid://cptsuefrom6wu"]
[ext_resource type="Script" path="res://addons/rokojori_action_library/Runtime/Localization/LocaleTextEntry.cs" id="1_nq55j"]
[ext_resource type="Script" path="res://addons/rokojori_action_library/Runtime/Localization/LocaleText.cs" id="1_umpj1"]
[sub_resource type="Resource" id="Resource_6l7m4"]
script = ExtResource("1_nq55j")
code = 12
content = "Hallo Welt!"
[resource]
script = ExtResource("1_umpj1")
en = "Hello World!"
entries = [SubResource("Resource_6l7m4")]
context = ""

View File

@ -0,0 +1,189 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Created with Inkscape (http://www.inkscape.org/) -->
<svg
width="3840"
height="2160"
viewBox="0 0 3840 2160"
version="1.1"
id="svg5"
inkscape:version="1.2.2 (732a01da63, 2022-12-09)"
sodipodi:docname="input-icons.svg"
xml:space="preserve"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns="http://www.w3.org/2000/svg"
xmlns:svg="http://www.w3.org/2000/svg"><sodipodi:namedview
id="namedview7"
pagecolor="#333333"
bordercolor="#404040"
borderopacity="1"
inkscape:showpageshadow="0"
inkscape:pageopacity="0"
inkscape:pagecheckerboard="0"
inkscape:deskcolor="#333333"
inkscape:document-units="px"
showgrid="false"
inkscape:zoom="0.14771816"
inkscape:cx="1015.4473"
inkscape:cy="903.74806"
inkscape:window-width="1920"
inkscape:window-height="1017"
inkscape:window-x="-8"
inkscape:window-y="-8"
inkscape:window-maximized="1"
inkscape:current-layer="layer1" /><defs
id="defs2"><clipPath
clipPathUnits="userSpaceOnUse"
id="clipPath7940"><rect
style="fill:#333333;fill-opacity:1;stroke:none;stroke-width:10;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:none;stroke-opacity:1;paint-order:stroke fill markers"
id="rect7942"
width="1440"
height="810"
x="0"
y="0" /></clipPath></defs><g
inkscape:label="Content"
inkscape:groupmode="layer"
id="layer1"
style="fill:#ffffff;fill-opacity:1"><circle
style="display:inline;fill:none;stroke:#ffffff;stroke-width:10;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:none;stroke-opacity:1"
id="path343"
cx="390.9472"
cy="347.18506"
r="137.08537" /><text
xml:space="preserve"
style="font-weight:bold;font-size:139.935px;line-height:1;font-family:Jost;-inkscape-font-specification:'Jost Bold';display:inline;fill:#ffffff;fill-opacity:1;stroke:none;stroke-width:43.7298;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:none;stroke-opacity:1"
x="353.26324"
y="392.44077"
id="text1007"><tspan
sodipodi:role="line"
id="tspan1005"
x="353.26324"
y="392.44077"
style="fill:#ffffff;fill-opacity:1;stroke:none;stroke-width:43.7298">L</tspan></text><rect
style="display:inline;fill:none;fill-opacity:1;stroke:#ffffff;stroke-width:10;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:none;stroke-opacity:1"
id="rect1348"
width="321.55829"
height="309.71143"
x="764.97028"
y="214.93634"
ry="47.507092" /><text
xml:space="preserve"
style="display:inline;font-weight:bold;font-size:139.935px;line-height:1;font-family:Jost;-inkscape-font-specification:'Jost Bold';fill:#ffffff;fill-opacity:1;stroke:none;stroke-width:43.7298;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:none;stroke-opacity:1"
x="886.37305"
y="418.43262"
id="text1456"><tspan
sodipodi:role="line"
id="tspan1454"
x="886.37305"
y="418.43262"
style="fill:#ffffff;fill-opacity:1;stroke:none;stroke-width:43.7298">L</tspan></text><rect
style="display:inline;fill:none;fill-opacity:1;stroke:#ffffff;stroke-width:10;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:none;stroke-opacity:1"
id="rect1458"
width="429.26266"
height="309.71143"
x="1212.5421"
y="214.93634"
ry="47.507092" /><text
xml:space="preserve"
style="display:inline;font-weight:bold;font-size:139.935px;line-height:1;font-family:Jost;-inkscape-font-specification:'Jost Bold';fill:#ffffff;fill-opacity:1;stroke:none;stroke-width:43.7298;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:none;stroke-opacity:1"
x="1295.6499"
y="418.43262"
id="text1462"><tspan
sodipodi:role="line"
id="tspan1460"
x="1295.6499"
y="418.43262"
style="fill:#ffffff;fill-opacity:1;stroke:none;stroke-width:43.7298">ESC</tspan></text><g
id="g1186"
style="display:inline;opacity:0.9"
transform="translate(0,-26.838042)"><path
sodipodi:type="star"
style="fill:#ffffff;fill-opacity:1;stroke:none;stroke-width:5;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:none;stroke-opacity:1"
id="path1180"
inkscape:flatsided="false"
sodipodi:sides="3"
sodipodi:cx="71.081306"
sodipodi:cy="371.48444"
sodipodi:r1="61.981342"
sodipodi:r2="30.990671"
sodipodi:arg1="-1.5707963"
sodipodi:arg2="-0.52359878"
inkscape:rounded="0"
inkscape:randomized="0"
d="m 71.081308,309.50309 26.838707,46.48601 26.838705,46.48601 -53.677413,0 -53.677418,0 26.838709,-46.48601 z"
inkscape:transform-center-y="-15.495336"
transform="translate(323.10552,-154.0095)" /><path
sodipodi:type="star"
style="fill:#ffffff;fill-opacity:1;stroke:none;stroke-width:5;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:none;stroke-opacity:1"
id="path1182"
inkscape:flatsided="false"
sodipodi:sides="3"
sodipodi:cx="71.081306"
sodipodi:cy="371.48444"
sodipodi:r1="61.981342"
sodipodi:r2="30.990671"
sodipodi:arg1="-1.5707963"
sodipodi:arg2="-0.52359878"
inkscape:rounded="0"
inkscape:randomized="0"
d="m 71.081308,309.50309 26.838707,46.48601 26.838705,46.48601 -53.677413,0 -53.677418,0 26.838709,-46.48601 z"
inkscape:transform-center-y="15.495342"
transform="rotate(180,233.48027,452.72022)"
inkscape:transform-center-x="1.2542554e-06" /></g><g
id="g1192"
transform="rotate(90,408.45205,362.29645)"
style="display:inline;opacity:0.9"><path
sodipodi:type="star"
style="fill:#ffffff;fill-opacity:1;stroke:none;stroke-width:5;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:none;stroke-opacity:1"
id="path1188"
inkscape:flatsided="false"
sodipodi:sides="3"
sodipodi:cx="71.081306"
sodipodi:cy="371.48444"
sodipodi:r1="61.981342"
sodipodi:r2="30.990671"
sodipodi:arg1="-1.5707963"
sodipodi:arg2="-0.52359878"
inkscape:rounded="0"
inkscape:randomized="0"
d="m 71.081308,309.50309 26.838707,46.48601 26.838705,46.48601 -53.677413,0 -53.677418,0 26.838709,-46.48601 z"
inkscape:transform-center-y="-15.495336"
transform="translate(323.10552,-154.0095)" /><path
sodipodi:type="star"
style="fill:#ffffff;fill-opacity:1;stroke:none;stroke-width:5;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:none;stroke-opacity:1"
id="path1190"
inkscape:flatsided="false"
sodipodi:sides="3"
sodipodi:cx="71.081306"
sodipodi:cy="371.48444"
sodipodi:r1="61.981342"
sodipodi:r2="30.990671"
sodipodi:arg1="-1.5707963"
sodipodi:arg2="-0.52359878"
inkscape:rounded="0"
inkscape:randomized="0"
d="m 71.081308,309.50309 26.838707,46.48601 26.838705,46.48601 -53.677413,0 -53.677418,0 26.838709,-46.48601 z"
inkscape:transform-center-y="15.495342"
transform="rotate(180,233.48027,452.72022)"
inkscape:transform-center-x="1.2542554e-06" /></g><rect
style="display:inline;fill:none;fill-opacity:1;stroke:#ffffff;stroke-width:10;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:none;stroke-opacity:1"
id="rect2260"
width="652.66107"
height="309.71143"
x="1748.6709"
y="214.93634"
ry="47.507092" /><text
xml:space="preserve"
style="font-weight:bold;font-size:139.935px;line-height:1;font-family:Jost;-inkscape-font-specification:'Jost Bold';display:inline;fill:#ffffff;fill-opacity:1;stroke:none;stroke-width:43.7298;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:none;stroke-opacity:1"
x="1857.0496"
y="418.43262"
id="text2272"><tspan
sodipodi:role="line"
id="tspan2270"
x="1857.0496"
y="418.43262"
style="fill:#ffffff;fill-opacity:1;stroke:none;stroke-width:43.7298">SPACE</tspan></text></g><path
id="rect2255"
style="fill:none;fill-opacity:1;stroke:#ffffff;stroke-width:7.53274;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:none;stroke-opacity:1"
d="m 372.8694,688.719 c -19.82535,0 -35.78534,15.96161 -35.78534,35.78697 V 837.87728 H 223.71275 c -19.82535,0 -35.78697,15.95999 -35.78697,35.78534 v 43.16425 c 0,19.82547 15.96162,35.78706 35.78697,35.78706 h 113.37131 v 113.37127 c 0,19.8253 15.95999,35.7853 35.78534,35.7853 h 43.16595 c 19.82534,0 35.78534,-15.96 35.78534,-35.7853 V 952.61393 H 565.192 c 19.82535,0 35.78534,-15.96159 35.78534,-35.78706 v -43.16425 c 0,-19.82535 -15.95999,-35.78534 -35.78534,-35.78534 H 451.82069 V 724.50597 c 0,-19.82536 -15.96,-35.78697 -35.78534,-35.78697 z" /></svg>

After

Width:  |  Height:  |  Size: 9.1 KiB

View File

@ -0,0 +1,37 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://b68ysaht8j85g"
path="res://.godot/imported/input-icons.svg-ef1cc861012d034bda37b5487f003fe0.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://Research/Input Icons/input-icons.svg"
dest_files=["res://.godot/imported/input-icons.svg-ef1cc861012d034bda37b5487f003fe0.ctex"]
[params]
compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=false
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
process/fix_alpha_border=true
process/premult_alpha=false
process/normal_map_invert_y=false
process/hdr_as_srgb=false
process/hdr_clamp_exposure=false
process/size_limit=0
detect_3d/compress_to=1
svg/scale=1.0
editor/scale_with_editor_scale=false
editor/convert_colors_with_editor_theme=false

View File

@ -0,0 +1,29 @@
using System.Collections;
using System.Collections.Generic;
using System.Text.RegularExpressions;
using Godot;
using Rokojori;
namespace RokojoriResearch
{
[Tool]
[GlobalClass]
public partial class ShowMaterialInfo:Node
{
[Export]
public UIImage image;
[Export]
public bool show
{
get => false;
set { if ( value ) ShowValue(); }
}
void ShowValue()
{
this.LogInfo( image.Material.GetType().Name );
}
}
}

View File

@ -1,6 +1,6 @@
Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio 2012
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Rokojori Action Library Examples", "Rokojori Action Library Examples.csproj", "{8445BB6D-F6E9-4689-8FA3-F3B7C4A98278}"
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Rokojori Action Library Examples", "Rokojori Action Library Examples.csproj", "{56DDF52A-DC9D-4CDF-BA21-E36425726ED5}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
@ -9,11 +9,11 @@ Global
ExportRelease|Any CPU = ExportRelease|Any CPU
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{8445BB6D-F6E9-4689-8FA3-F3B7C4A98278}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{8445BB6D-F6E9-4689-8FA3-F3B7C4A98278}.Debug|Any CPU.Build.0 = Debug|Any CPU
{8445BB6D-F6E9-4689-8FA3-F3B7C4A98278}.ExportDebug|Any CPU.ActiveCfg = ExportDebug|Any CPU
{8445BB6D-F6E9-4689-8FA3-F3B7C4A98278}.ExportDebug|Any CPU.Build.0 = ExportDebug|Any CPU
{8445BB6D-F6E9-4689-8FA3-F3B7C4A98278}.ExportRelease|Any CPU.ActiveCfg = ExportRelease|Any CPU
{8445BB6D-F6E9-4689-8FA3-F3B7C4A98278}.ExportRelease|Any CPU.Build.0 = ExportRelease|Any CPU
{56DDF52A-DC9D-4CDF-BA21-E36425726ED5}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{56DDF52A-DC9D-4CDF-BA21-E36425726ED5}.Debug|Any CPU.Build.0 = Debug|Any CPU
{56DDF52A-DC9D-4CDF-BA21-E36425726ED5}.ExportDebug|Any CPU.ActiveCfg = ExportDebug|Any CPU
{56DDF52A-DC9D-4CDF-BA21-E36425726ED5}.ExportDebug|Any CPU.Build.0 = ExportDebug|Any CPU
{56DDF52A-DC9D-4CDF-BA21-E36425726ED5}.ExportRelease|Any CPU.ActiveCfg = ExportRelease|Any CPU
{56DDF52A-DC9D-4CDF-BA21-E36425726ED5}.ExportRelease|Any CPU.Build.0 = ExportRelease|Any CPU
EndGlobalSection
EndGlobal

View File

@ -0,0 +1,8 @@
[gd_scene load_steps=2 format=3 uid="uid://b5wibkwpyf1qu"]
[ext_resource type="Script" path="res://addons/rokojori_action_library/Runtime/Time/TimeLineManager.cs" id="1_0fi5w"]
[node name="Node3D" type="Node3D"]
[node name="TimeLineManager" type="Node" parent="."]
script = ExtResource("1_0fi5w")

View File

@ -0,0 +1,96 @@
[gd_scene load_steps=18 format=3 uid="uid://cojsolcg06n6c"]
[ext_resource type="Script" path="res://addons/rokojori_action_library/Runtime/UI/UI.cs" id="1_yae7d"]
[ext_resource type="Script" path="res://addons/rokojori_action_library/Runtime/UI/UISettings.cs" id="2_mbq00"]
[ext_resource type="Script" path="res://addons/rokojori_action_library/Runtime/Shading/Properties/Vector2PropertyName.cs" id="3_oil60"]
[ext_resource type="Script" path="res://addons/rokojori_action_library/Runtime/UI/Styling/UINumber.cs" id="4_qsyv0"]
[ext_resource type="SystemFont" uid="uid://bakiyyiix68n1" path="res://Research/Fonts/Jost-Font.tres" id="5_3kguq"]
[ext_resource type="Script" path="res://addons/rokojori_action_library/Runtime/UI/Shaders/RoundedRectangle/RoundedRectangleMaterial.cs" id="6_ifg3y"]
[ext_resource type="Shader" path="res://addons/rokojori_action_library/Runtime/UI/Shaders/RoundedRectangle/RoundedRectangle.gdshader" id="6_j5bh4"]
[ext_resource type="Script" path="res://addons/rokojori_action_library/Runtime/UI/Nodes/UIImage.cs" id="7_xp6pk"]
[ext_resource type="Script" path="res://addons/rokojori_action_library/Runtime/UI/Nodes/UIImageTypes/RoundedRectangleUIImageType.cs" id="8_ic8bf"]
[ext_resource type="Script" path="res://Research/ShowMaterialInfo.cs" id="9_3n1l1"]
[sub_resource type="Resource" id="Resource_u5i0t"]
script = ExtResource("3_oil60")
propertyName = "size"
[sub_resource type="Resource" id="Resource_lvg1u"]
script = ExtResource("3_oil60")
propertyName = "textureSize"
[sub_resource type="Resource" id="Resource_445eh"]
script = ExtResource("2_mbq00")
sizePropertyName = SubResource("Resource_u5i0t")
textureSizePropertyName = SubResource("Resource_lvg1u")
[sub_resource type="Resource" id="Resource_qvrjr"]
script = ExtResource("4_qsyv0")
value = 1.0
unit = "em"
isAnimated = false
animationDuration = 0.0
animationOffset = 0.0
[sub_resource type="ShaderMaterial" id="ShaderMaterial_68vkh"]
shader = ExtResource("6_j5bh4")
shader_parameter/size = null
shader_parameter/sharpness = 5.0
shader_parameter/borderRadius = 5.0
shader_parameter/strokeSize = 5.0
shader_parameter/offset = null
shader_parameter/fillColor = null
shader_parameter/fillUVTransform = null
shader_parameter/screenfillMultiplyUVTransform = null
shader_parameter/screenfillMultiplyUVMovement = null
shader_parameter/strokeColor = null
shader_parameter/strokeUVTransform = null
shader_parameter/screenStrokeMultiplyUVTransform = null
shader_parameter/screenStrokeMultiplyUVMovment = null
shader_parameter/opacity = 1.0
script = ExtResource("6_ifg3y")
[sub_resource type="Resource" id="Resource_xtei3"]
script = ExtResource("8_ic8bf")
[sub_resource type="Resource" id="Resource_s5lwc"]
script = ExtResource("4_qsyv0")
value = 20.405
unit = "vw"
isAnimated = false
animationDuration = 0.0
animationOffset = 0.0
[node name="Control" type="Control"]
layout_mode = 3
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
[node name="UI" type="Control" parent="."]
anchors_preset = 0
offset_right = 40.0
offset_bottom = 40.0
script = ExtResource("1_yae7d")
settings = SubResource("Resource_445eh")
fontSize = SubResource("Resource_qvrjr")
defaultFont = ExtResource("5_3kguq")
X_computedFontSizePixels = 12.0
[node name="UIImage" type="TextureRect" parent="UI"]
material = SubResource("ShaderMaterial_68vkh")
layout_mode = 0
offset_right = 40.0
offset_bottom = 40.0
expand_mode = 1
script = ExtResource("7_xp6pk")
freezeImageType = true
imageType = SubResource("Resource_xtei3")
width = SubResource("Resource_s5lwc")
height = SubResource("Resource_s5lwc")
[node name="ShowMaterialInfo" type="Node" parent="." node_paths=PackedStringArray("image")]
script = ExtResource("9_3n1l1")
image = NodePath("../UI/UIImage")

View File

@ -0,0 +1,91 @@
[gd_scene load_steps=17 format=3 uid="uid://c5xpih8xlqjqr"]
[ext_resource type="Script" path="res://addons/rokojori_action_library/Runtime/UI/UI.cs" id="1_3rxme"]
[ext_resource type="Script" path="res://addons/rokojori_action_library/Runtime/UI/UISettings.cs" id="2_h2yqn"]
[ext_resource type="Script" path="res://addons/rokojori_action_library/Runtime/Shading/Properties/Vector2PropertyName.cs" id="3_aku2k"]
[ext_resource type="Script" path="res://addons/rokojori_action_library/Runtime/UI/Styling/UINumber.cs" id="4_j7g55"]
[ext_resource type="SystemFont" uid="uid://bakiyyiix68n1" path="res://Research/Fonts/Jost-Font.tres" id="5_wrglf"]
[ext_resource type="Shader" path="res://addons/rokojori_action_library/Runtime/UI/Shaders/RoundedRectangle/RoundedRectangle.gdshader" id="6_ljmr4"]
[ext_resource type="Script" path="res://addons/rokojori_action_library/Runtime/UI/Nodes/UIImage.cs" id="7_x0373"]
[ext_resource type="Script" path="res://addons/rokojori_action_library/Runtime/UI/Nodes/UIImageTypes/RoundedRectangleUIImageType.cs" id="8_08008"]
[sub_resource type="Resource" id="Resource_u5i0t"]
script = ExtResource("3_aku2k")
propertyName = "size"
[sub_resource type="Resource" id="Resource_lvg1u"]
script = ExtResource("3_aku2k")
propertyName = "textureSize"
[sub_resource type="Resource" id="Resource_445eh"]
script = ExtResource("2_h2yqn")
sizePropertyName = SubResource("Resource_u5i0t")
textureSizePropertyName = SubResource("Resource_lvg1u")
[sub_resource type="Resource" id="Resource_qvrjr"]
script = ExtResource("4_j7g55")
value = 1.0
unit = "em"
isAnimated = false
animationDuration = 0.0
animationOffset = 0.0
[sub_resource type="CSharpScript" id="CSharpScript_qkm4x"]
[sub_resource type="ShaderMaterial" id="ShaderMaterial_xy78c"]
shader = ExtResource("6_ljmr4")
shader_parameter/size = null
shader_parameter/sharpness = 5.0
shader_parameter/borderRadius = 5.0
shader_parameter/strokeSize = 5.0
shader_parameter/offset = null
shader_parameter/fillColor = null
shader_parameter/fillUVTransform = null
shader_parameter/screenfillMultiplyUVTransform = null
shader_parameter/screenfillMultiplyUVMovement = null
shader_parameter/strokeColor = null
shader_parameter/strokeUVTransform = null
shader_parameter/screenStrokeMultiplyUVTransform = null
shader_parameter/screenStrokeMultiplyUVMovment = null
shader_parameter/opacity = 1.0
script = SubResource("CSharpScript_qkm4x")
[sub_resource type="Resource" id="Resource_v1tj4"]
script = ExtResource("8_08008")
[sub_resource type="Resource" id="Resource_s5lwc"]
script = ExtResource("4_j7g55")
value = 20.405
unit = "vw"
isAnimated = false
animationDuration = 0.0
animationOffset = 0.0
[node name="Control" type="Control"]
layout_mode = 3
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
[node name="UI" type="Control" parent="."]
anchors_preset = 0
offset_right = 40.0
offset_bottom = 40.0
script = ExtResource("1_3rxme")
settings = SubResource("Resource_445eh")
fontSize = SubResource("Resource_qvrjr")
defaultFont = ExtResource("5_wrglf")
X_computedFontSizePixels = 11.52
[node name="UIImage" type="TextureRect" parent="UI"]
material = SubResource("ShaderMaterial_xy78c")
layout_mode = 0
offset_right = 40.0
offset_bottom = 40.0
expand_mode = 1
script = ExtResource("7_x0373")
imageType = SubResource("Resource_v1tj4")
width = SubResource("Resource_s5lwc")
height = SubResource("Resource_s5lwc")

@ -1 +1 @@
Subproject commit 9d1c1eb378cdf6650311e75c9ee63bc266b23f6b
Subproject commit 489199f37aef2193172694248520d2f8dafe00af

View File

@ -19,6 +19,17 @@ config/icon="res://icon.svg"
Root="*res://addons/rokojori_action_library/Runtime/Godot/Root.cs"
[debug]
shader_language/warnings/float_comparison=false
shader_language/warnings/unused_constant=false
shader_language/warnings/unused_function=false
shader_language/warnings/unused_struct=false
shader_language/warnings/unused_uniform=false
shader_language/warnings/unused_varying=false
shader_language/warnings/unused_local_variable=false
shader_language/warnings/formatting_error=false
[dotnet]
project/assembly_name="Rokojori Action Library Examples"