ggj2020

My game project for Global Game Jam 2020!
git clone git://git.hellocld.com/ggj2020
Log | Files | Refs

Spatial.tscn (1526B)


      1 [gd_scene load_steps=9 format=2]
      2 
      3 [ext_resource path="res://Spatial.gd" type="Script" id=1]
      4 [ext_resource path="res://Player/Player.tscn" type="PackedScene" id=2]
      5 [ext_resource path="res://Items/TestGrabbable.tscn" type="PackedScene" id=4]
      6 
      7 [sub_resource type="PlaneMesh" id=1]
      8 size = Vector2( 100, 100 )
      9 
     10 [sub_resource type="OpenSimplexNoise" id=2]
     11 persistence = 1.0
     12 lacunarity = 3.0
     13 
     14 [sub_resource type="NoiseTexture" id=3]
     15 seamless = true
     16 as_normalmap = true
     17 bump_strength = 12.0
     18 noise = SubResource( 2 )
     19 
     20 [sub_resource type="SpatialMaterial" id=4]
     21 albedo_color = Color( 0.247059, 0.705882, 0.352941, 1 )
     22 normal_enabled = true
     23 normal_scale = 1.0
     24 normal_texture = SubResource( 3 )
     25 
     26 [sub_resource type="ConcavePolygonShape" id=5]
     27 data = PoolVector3Array( 50, 0, 50, -50, 0, 50, 50, 0, -50, -50, 0, 50, -50, 0, -50, 50, 0, -50 )
     28 
     29 [node name="Spatial" type="Spatial"]
     30 script = ExtResource( 1 )
     31 
     32 [node name="Player" parent="." instance=ExtResource( 2 )]
     33 
     34 [node name="Floor" type="MeshInstance" parent="."]
     35 mesh = SubResource( 1 )
     36 material/0 = SubResource( 4 )
     37 
     38 [node name="StaticBody" type="StaticBody" parent="Floor"]
     39 
     40 [node name="CollisionShape" type="CollisionShape" parent="Floor/StaticBody"]
     41 shape = SubResource( 5 )
     42 
     43 [node name="Grabbable" parent="." instance=ExtResource( 4 )]
     44 
     45 [node name="DirectionalLight" type="DirectionalLight" parent="."]
     46 transform = Transform( 0.472826, -0.280103, 0.835451, -0.320795, 0.828346, 0.459276, -0.820686, -0.485166, 0.301808, 0, 0, 0 )
     47 light_indirect_energy = 0.1
     48 shadow_enabled = true