This commit is contained in:
Josef 2024-05-05 09:53:08 +02:00
parent aaef5868e3
commit 1b1ebb1430
9 changed files with 149 additions and 2 deletions

View File

@ -0,0 +1,9 @@
<Project Sdk="Godot.NET.Sdk/4.3.0-dev">
<PropertyGroup>
<TargetFramework>net6.0</TargetFramework>
<TargetFramework Condition=" '$(GodotTargetPlatform)' == 'android' ">net7.0</TargetFramework>
<TargetFramework Condition=" '$(GodotTargetPlatform)' == 'ios' ">net8.0</TargetFramework>
<EnableDynamicLoading>true</EnableDynamicLoading>
<RootNamespace>RJActionLibraryGodotDevelopmentProject</RootNamespace>
</PropertyGroup>
</Project>

View File

@ -0,0 +1,19 @@
Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio 2012
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "RJ-Action-Library-Godot-Development-Project", "RJ-Action-Library-Godot-Development-Project.csproj", "{1729B820-B870-4C06-99C4-C671E97244D0}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
ExportDebug|Any CPU = ExportDebug|Any CPU
ExportRelease|Any CPU = ExportRelease|Any CPU
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{1729B820-B870-4C06-99C4-C671E97244D0}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{1729B820-B870-4C06-99C4-C671E97244D0}.Debug|Any CPU.Build.0 = Debug|Any CPU
{1729B820-B870-4C06-99C4-C671E97244D0}.ExportDebug|Any CPU.ActiveCfg = ExportDebug|Any CPU
{1729B820-B870-4C06-99C4-C671E97244D0}.ExportDebug|Any CPU.Build.0 = ExportDebug|Any CPU
{1729B820-B870-4C06-99C4-C671E97244D0}.ExportRelease|Any CPU.ActiveCfg = ExportRelease|Any CPU
{1729B820-B870-4C06-99C4-C671E97244D0}.ExportRelease|Any CPU.Build.0 = ExportRelease|Any CPU
EndGlobalSection
EndGlobal

6
Scenes/Main/Sky/Sky.tres Normal file
View File

@ -0,0 +1,6 @@
[gd_resource type="Sky" load_steps=2 format=3 uid="uid://bh5lty4gkpl05"]
[ext_resource type="Material" uid="uid://d4hj58dwpg4uv" path="res://Scenes/Main/Sky/SkyMaterial.tres" id="1_i6o38"]
[resource]
sky_material = ExtResource("1_i6o38")

View File

@ -0,0 +1,6 @@
[gd_resource type="PanoramaSkyMaterial" load_steps=2 format=3 uid="uid://d4hj58dwpg4uv"]
[ext_resource type="Texture2D" uid="uid://cp3w1s6xkrhq1" path="res://Scenes/Main/Sky/kloofendal_48d_partly_cloudy_puresky_8k.exr" id="1_db02r"]
[resource]
panorama = ExtResource("1_db02r")

View File

@ -0,0 +1,35 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://cp3w1s6xkrhq1"
path.bptc="res://.godot/imported/kloofendal_48d_partly_cloudy_puresky_8k.exr-6fda9a1ebfaca772d0e5a623fcd5f8ee.bptc.ctex"
metadata={
"imported_formats": ["s3tc_bptc"],
"vram_texture": true
}
[deps]
source_file="res://Scenes/Main/Sky/kloofendal_48d_partly_cloudy_puresky_8k.exr"
dest_files=["res://.godot/imported/kloofendal_48d_partly_cloudy_puresky_8k.exr-6fda9a1ebfaca772d0e5a623fcd5f8ee.bptc.ctex"]
[params]
compress/mode=2
compress/high_quality=false
compress/lossy_quality=0.7
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=true
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=0

59
Scenes/Main/main.tscn Normal file
View File

@ -0,0 +1,59 @@
[gd_scene load_steps=8 format=3 uid="uid://i7w8ikjtrf50"]
[ext_resource type="Script" path="res://Scripts/Rokojori/Rokojori-Action-Library/Runtime/Actions/OnReady.cs" id="1_yccmv"]
[ext_resource type="Script" path="res://Scripts/Rokojori/Rokojori-Action-Library/Runtime/Actions/ActionList.cs" id="2_700ed"]
[ext_resource type="Script" path="res://Scripts/Rokojori/Rokojori-Action-Library/Runtime/Actions/GDPrint.cs" id="3_1k601"]
[ext_resource type="Script" path="res://Scripts/Rokojori/Rokojori-Action-Library/Runtime/Sensors/InputSensor.cs" id="4_n75gv"]
[ext_resource type="Script" path="res://Scripts/Rokojori/Rokojori-Action-Library/Runtime/Sensors/OnSensor.cs" id="5_2svkf"]
[ext_resource type="Sky" uid="uid://bh5lty4gkpl05" path="res://Scenes/Main/Sky/Sky.tres" id="6_j62u8"]
[sub_resource type="Environment" id="Environment_ac8gh"]
background_mode = 2
sky = ExtResource("6_j62u8")
[node name="Main" type="Node3D"]
[node name="App" type="Node" parent="."]
[node name="OnReady" type="Node" parent="App" node_paths=PackedStringArray("action")]
script = ExtResource("1_yccmv")
action = NodePath("Initialize")
[node name="Initialize" type="RJAction" parent="App/OnReady" node_paths=PackedStringArray("actions")]
script = ExtResource("2_700ed")
actions = []
[node name="GDPrint" type="RJAction" parent="App/OnReady/Initialize"]
script = ExtResource("3_1k601")
message = "I'm Ready"
[node name="UI" type="Node" parent="."]
[node name="Camera Rig" type="Node" parent="."]
[node name="Camera3D" type="Camera3D" parent="Camera Rig"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 1.56642)
[node name="Interactions" type="Node" parent="."]
[node name="Testing" type="Node" parent="Interactions"]
[node name="Jump" type="RJSensor" parent="Interactions/Testing"]
script = ExtResource("4_n75gv")
inputActionName = "Jump"
[node name="OnSensor" type="Node" parent="Interactions/Testing" node_paths=PackedStringArray("sensor", "onStart")]
script = ExtResource("5_2svkf")
sensor = NodePath("../Jump")
onStart = NodePath("Print Pressed")
[node name="Print Pressed" type="RJAction" parent="Interactions/Testing/OnSensor"]
script = ExtResource("3_1k601")
message = "Pressed"
[node name="Node" type="Node" parent="."]
[node name="Level" type="Node" parent="."]
[node name="WorldEnvironment" type="WorldEnvironment" parent="Level"]
environment = SubResource("Environment_ac8gh")

@ -1 +1 @@
Subproject commit 8f1ce37f3b2aae237d9995f7ecc30577fc0dd8f0
Subproject commit 7886e824243e4c2b7a9170f7adef915d3afa84a5

View File

@ -11,9 +11,22 @@ config_version=5
[application]
config/name="RJ-Action-Library-Godot-Development-Project"
config/features=PackedStringArray("4.3", "Forward Plus")
run/main_scene="res://Scenes/Main/main.tscn"
config/features=PackedStringArray("4.3", "C#", "Forward Plus")
config/icon="res://icon.svg"
[autoload]
Root="*res://Scripts/Rokojori/Rokojori-Action-Library/Runtime/Godot/Root.cs"
[dotnet]
project/assembly_name="RJ-Action-Library-Godot-Development-Project"
[input]
Jump={
"deadzone": 0.5,
"events": [Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":-1,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":0,"physical_keycode":32,"key_label":0,"unicode":32,"location":0,"echo":false,"script":null)
]
}