Add background mesh
This commit is contained in:
parent
923879bdeb
commit
daec2e4299
File diff suppressed because one or more lines are too long
24
WikiJam/Level/Objects/Background.tscn
Normal file
24
WikiJam/Level/Objects/Background.tscn
Normal file
File diff suppressed because one or more lines are too long
@ -1,4 +1,4 @@
|
||||
[gd_scene load_steps=6 format=2]
|
||||
[gd_scene load_steps=7 format=2]
|
||||
|
||||
[ext_resource path="res://Level/Objects/Crystal.gd" type="Script" id=1]
|
||||
[ext_resource path="res://Models/Material.material" type="Material" id=2]
|
||||
@ -32,8 +32,25 @@ emission_energy = 0.2
|
||||
emission_operator = 0
|
||||
emission_on_uv2 = false
|
||||
|
||||
[sub_resource type="Animation" id=4]
|
||||
resource_name = "Rotate"
|
||||
length = 4.0
|
||||
loop = true
|
||||
tracks/0/type = "value"
|
||||
tracks/0/path = NodePath(".:rotation_degrees")
|
||||
tracks/0/interp = 1
|
||||
tracks/0/loop_wrap = true
|
||||
tracks/0/imported = false
|
||||
tracks/0/enabled = true
|
||||
tracks/0/keys = {
|
||||
"times": PoolRealArray( 0, 1, 2, 3, 4 ),
|
||||
"transitions": PoolRealArray( 1, 1, 1, 1, 1 ),
|
||||
"update": 0,
|
||||
"values": [ Vector3( 90, 0, 0 ), Vector3( 90, 90, 0 ), Vector3( 90, 180, 0 ), Vector3( 90, 270, 0 ), Vector3( 90, 360, 0 ) ]
|
||||
}
|
||||
|
||||
[node name="Crystal" type="Spatial"]
|
||||
transform = Transform( 1, 0, 0, 0, -4.37114e-08, -1, 0, 1, -4.37114e-08, 0, 2, 0 )
|
||||
transform = Transform( -0.615359, 0.788247, -3.44554e-08, 0, -4.37114e-08, -1, -0.788247, -0.615359, 2.68982e-08, 0, 2, 0 )
|
||||
script = ExtResource( 1 )
|
||||
|
||||
[node name="Area" type="Area" parent="." groups=[
|
||||
@ -47,3 +64,8 @@ shape = SubResource( 2 )
|
||||
transform = Transform( 0.169835, 0.0974797, 0.0406649, -0.061109, 0.0278815, 0.188383, 0.0861488, -0.172396, 0.0534608, 0.20461, 0.0198549, 0.709478 )
|
||||
mesh = SubResource( 1 )
|
||||
material/0 = SubResource( 3 )
|
||||
|
||||
[node name="AnimationPlayer" type="AnimationPlayer" parent="."]
|
||||
autoplay = "Rotate"
|
||||
playback_speed = 0.5
|
||||
anims/Rotate = SubResource( 4 )
|
||||
|
BIN
WikiJam/Models/Background.glb
Normal file
BIN
WikiJam/Models/Background.glb
Normal file
Binary file not shown.
1062
WikiJam/Models/Background.glb.import
Normal file
1062
WikiJam/Models/Background.glb.import
Normal file
File diff suppressed because it is too large
Load Diff
Loading…
x
Reference in New Issue
Block a user