ggj2020

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

CSG_tut.tscn (2261B)


      1 [gd_scene format=2]
      2 
      3 [node name="Spatial" type="Spatial"]
      4 
      5 [node name="DirectionalLight" type="DirectionalLight" parent="."]
      6 transform = Transform( 0.573016, -0.777047, 0.260484, -0.228251, 0.15395, 0.961354, -0.787118, -0.610326, -0.0891458, 0, 0, 0 )
      7 shadow_enabled = true
      8 
      9 [node name="Room" type="CSGBox" parent="."]
     10 invert_faces = true
     11 width = 10.0
     12 height = 10.0
     13 depth = 10.0
     14 
     15 [node name="Desk" type="CSGCombiner" parent="."]
     16 transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -3.42507, -3.54654, 0 )
     17 
     18 [node name="Surface" type="CSGBox" parent="Desk"]
     19 height = 0.25
     20 depth = 4.0
     21 
     22 [node name="Leg" type="CSGBox" parent="Desk"]
     23 transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -0.851665, -0.737015, -1.83025 )
     24 width = 0.25
     25 height = 1.5
     26 depth = 0.25
     27 
     28 [node name="Leg2" type="CSGBox" parent="Desk"]
     29 transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0.814813, -0.737015, -1.83025 )
     30 width = 0.25
     31 height = 1.5
     32 depth = 0.25
     33 
     34 [node name="Leg4" type="CSGBox" parent="Desk"]
     35 transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -0.851665, -0.737015, 1.83845 )
     36 width = 0.25
     37 height = 1.5
     38 depth = 0.25
     39 
     40 [node name="Leg3" type="CSGBox" parent="Desk"]
     41 transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0.814813, -0.737015, 1.83845 )
     42 width = 0.25
     43 height = 1.5
     44 depth = 0.25
     45 
     46 [node name="Bed" type="CSGCombiner" parent="."]
     47 transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 3.2838, -4.71944, 2.23261 )
     48 
     49 [node name="Pillow" type="CSGCombiner" parent="Bed"]
     50 transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.0827688, 1.04983 )
     51 operation = 1
     52 
     53 [node name="CSGSphere" type="CSGSphere" parent="Bed/Pillow"]
     54 transform = Transform( 1, 0, 0, 0, 0.371, 0, 0, 0, 1, 0, 0.343853, 0 )
     55 radius = 0.516966
     56 
     57 [node name="CSGSphere2" type="CSGSphere" parent="Bed/Pillow"]
     58 transform = Transform( 1, 0, 0, 0, 0.371, 0, 0, 0, 1, -0.582913, 0.343853, 0 )
     59 radius = 0.516966
     60 
     61 [node name="CSGSphere3" type="CSGSphere" parent="Bed/Pillow"]
     62 transform = Transform( 1, 0, 0, 0, 0.371, 0, 0, 0, 1, 0.580643, 0.343853, 0 )
     63 radius = 0.516966
     64 
     65 [node name="CSGBox" type="CSGBox" parent="Bed"]
     66 width = 2.60071
     67 height = 0.480457
     68 depth = 3.22029
     69 
     70 [node name="CSGBox2" type="CSGBox" parent="Bed"]
     71 transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.167706, 0 )
     72 width = 2.27356
     73 height = 0.480457
     74 depth = 2.93609