]> Untitled Git - star-foxy.git/blob - main.tscn
Updated with keyboard controls
[star-foxy.git] / main.tscn
1 [gd_scene load_steps=6 format=2]
2
3 [ext_resource path="res://player/player.tscn" type="PackedScene" id=1]
4 [ext_resource path="res://obstacle.tres" type="Material" id=2]
5
6 [sub_resource type="VisualShaderNodeColorConstant" id=1]
7 constant = Color( 0.00150203, 0.503906, 0.0800027, 1 )
8
9 [sub_resource type="VisualShader" id=2]
10 code = "shader_type spatial;
11 render_mode specular_schlick_ggx;
12
13
14
15
16 void vertex() {
17 // Output:0
18
19 }
20
21 void fragment() {
22 // Color:2
23         vec3 n_out2p0 = vec3(0.001502, 0.503906, 0.080003);
24         float n_out2p1 = 1.000000;
25
26 // Output:0
27         ALBEDO = n_out2p0;
28
29 }
30
31 void light() {
32 // Output:0
33
34 }
35 "
36 graph_offset = Vector2( -479.705, 4.5 )
37 nodes/fragment/2/node = SubResource( 1 )
38 nodes/fragment/2/position = Vector2( 20, 160 )
39 nodes/fragment/connections = PoolIntArray( 2, 0, 0, 0 )
40
41 [sub_resource type="ShaderMaterial" id=3]
42 shader = SubResource( 2 )
43
44 [node name="world" type="Spatial"]
45
46 [node name="boxes" type="Spatial" parent="."]
47
48 [node name="CSGBox" type="CSGBox" parent="boxes"]
49 transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 8 )
50 material_override = ExtResource( 2 )
51
52 [node name="CSGBox2" type="CSGBox" parent="boxes"]
53 transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 10.6742, 0, 0 )
54 material_override = ExtResource( 2 )
55
56 [node name="CSGBox3" type="CSGBox" parent="boxes"]
57 transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -11.353, 0, 0 )
58 material_override = ExtResource( 2 )
59
60 [node name="floor" type="CSGBox" parent="boxes"]
61 transform = Transform( 111, 0, 0, 0, 1, 0, 0, 0, 111, 0, -11, 0 )
62 material_override = SubResource( 3 )
63
64 [node name="arwing" parent="." instance=ExtResource( 1 )]
65 transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -0.0547695, 0, 35.9027 )