mirror of
https://github.com/jcreek/CosmicClash.git
synced 2026-07-12 18:43:49 +00:00
feat(*): Add environment and colours
This commit is contained in:
@@ -1,8 +1,13 @@
|
||||
[gd_scene load_steps=4 format=3 uid="uid://cofdcxo5170rs"]
|
||||
[gd_scene load_steps=5 format=3 uid="uid://cofdcxo5170rs"]
|
||||
|
||||
[ext_resource type="Script" path="res://scripts/goal.gd" id="1_v8ikr"]
|
||||
|
||||
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_ptddx"]
|
||||
transparency = 1
|
||||
albedo_color = Color(0, 0.368627, 1, 0.537255)
|
||||
|
||||
[sub_resource type="BoxMesh" id="BoxMesh_4ngif"]
|
||||
material = SubResource("StandardMaterial3D_ptddx")
|
||||
size = Vector3(3.5, 1.5, 0.1)
|
||||
|
||||
[sub_resource type="BoxShape3D" id="BoxShape3D_nmd5r"]
|
||||
|
||||
@@ -1,11 +1,15 @@
|
||||
[gd_scene load_steps=4 format=3 uid="uid://dnra1buk328d"]
|
||||
[gd_scene load_steps=5 format=3 uid="uid://dnra1buk328d"]
|
||||
|
||||
[ext_resource type="Script" path="res://scripts/Vehicle.gd" id="1_5snef"]
|
||||
|
||||
[sub_resource type="BoxShape3D" id="BoxShape3D_0otfk"]
|
||||
size = Vector3(0.5, 0.5, 1)
|
||||
|
||||
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_hrmfk"]
|
||||
albedo_color = Color(0.670588, 0, 0, 1)
|
||||
|
||||
[sub_resource type="BoxMesh" id="BoxMesh_uwum7"]
|
||||
material = SubResource("StandardMaterial3D_hrmfk")
|
||||
size = Vector3(0.5, 0.5, 1)
|
||||
|
||||
[node name="Vehicle" type="RigidBody3D"]
|
||||
|
||||
+18
-1
@@ -1,4 +1,4 @@
|
||||
[gd_scene load_steps=9 format=3 uid="uid://djlfte5nx8sel"]
|
||||
[gd_scene load_steps=13 format=3 uid="uid://djlfte5nx8sel"]
|
||||
|
||||
[ext_resource type="PackedScene" uid="uid://dnra1buk328d" path="res://objects/vehicle.tscn" id="2_2d4ji"]
|
||||
[ext_resource type="ArrayMesh" uid="uid://ucw1lyo43yi4" path="res://assets/models/gold_ball.res" id="2_4bpxj"]
|
||||
@@ -6,7 +6,11 @@
|
||||
[ext_resource type="PackedScene" uid="uid://cofdcxo5170rs" path="res://objects/goal.tscn" id="3_xk008"]
|
||||
[ext_resource type="Script" path="res://scripts/goal2.gd" id="4_ukkeh"]
|
||||
|
||||
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_xmumy"]
|
||||
albedo_color = Color(0.0196078, 0.34902, 0.156863, 1)
|
||||
|
||||
[sub_resource type="BoxMesh" id="BoxMesh_xotuo"]
|
||||
material = SubResource("StandardMaterial3D_xmumy")
|
||||
size = Vector3(10, 0.5, 10)
|
||||
|
||||
[sub_resource type="BoxShape3D" id="BoxShape3D_133xi"]
|
||||
@@ -14,6 +18,16 @@ size = Vector3(10, 0.5, 10)
|
||||
|
||||
[sub_resource type="SphereShape3D" id="SphereShape3D_c5p07"]
|
||||
|
||||
[sub_resource type="ProceduralSkyMaterial" id="ProceduralSkyMaterial_t0i0j"]
|
||||
sky_top_color = Color(0.266667, 0.419608, 1, 1)
|
||||
|
||||
[sub_resource type="Sky" id="Sky_0r58b"]
|
||||
sky_material = SubResource("ProceduralSkyMaterial_t0i0j")
|
||||
|
||||
[sub_resource type="Environment" id="Environment_ycxte"]
|
||||
background_mode = 2
|
||||
sky = SubResource("Sky_0r58b")
|
||||
|
||||
[node name="MatchNode3D" type="Node3D"]
|
||||
|
||||
[node name="MatchCamera3D" type="Camera3D" parent="." node_paths=PackedStringArray("vehicle", "ball")]
|
||||
@@ -61,3 +75,6 @@ transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 2.08165e-12, 1, -5)
|
||||
script = ExtResource("4_ukkeh")
|
||||
ball = NodePath("../../Ball")
|
||||
player1 = NodePath("../../Players/Player1")
|
||||
|
||||
[node name="WorldEnvironment" type="WorldEnvironment" parent="."]
|
||||
environment = SubResource("Environment_ycxte")
|
||||
|
||||
Reference in New Issue
Block a user