A game created for the Godot Wild Jam #21
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

83 lines
2.7KB

  1. [gd_scene load_steps=8 format=2]
  2. [ext_resource path="res://Data/Scripts/HalfDoor.gd" type="Script" id=1]
  3. [ext_resource path="res://Data/Sound/Effects/mechanic-doors.wav" type="AudioStream" id=2]
  4. [ext_resource path="res://Data/Shaders/Glowdot.shader" type="Shader" id=3]
  5. [ext_resource path="res://Data/Objects/Glowdot.tscn" type="PackedScene" id=5]
  6. [ext_resource path="res://Data/Graphics/Tileset.png" type="Texture" id=6]
  7. [sub_resource type="ShaderMaterial" id=1]
  8. resource_local_to_scene = true
  9. shader = ExtResource( 3 )
  10. shader_param/primary_color = Color( 0, 0, 0, 1 )
  11. shader_param/fade_offset = 0.14
  12. [sub_resource type="RectangleShape2D" id=2]
  13. extents = Vector2( 24, 7 )
  14. [node name="HalfDoor" type="StaticBody2D"]
  15. position = Vector2( 0.440125, -0.440125 )
  16. collision_layer = 2
  17. script = ExtResource( 1 )
  18. [node name="Backplane" type="Node2D" parent="."]
  19. position = Vector2( -32, 0 )
  20. [node name="Backplane_Top" type="Sprite" parent="Backplane"]
  21. position = Vector2( 0, -8 )
  22. scale = Vector2( 1, -1 )
  23. texture = ExtResource( 6 )
  24. region_enabled = true
  25. region_rect = Rect2( 0, 528, 32, 16 )
  26. [node name="Backplane_Bottom" type="Sprite" parent="Backplane"]
  27. position = Vector2( 0, 8 )
  28. texture = ExtResource( 6 )
  29. region_enabled = true
  30. region_rect = Rect2( 0, 528, 32, 16 )
  31. [node name="Doorway" type="KinematicBody2D" parent="."]
  32. position = Vector2( -6, 0 )
  33. collision_layer = 2
  34. [node name="Sprite" type="Sprite" parent="Doorway"]
  35. texture = ExtResource( 6 )
  36. region_enabled = true
  37. region_rect = Rect2( 32, 512, 48, 16 )
  38. [node name="Glow" parent="Doorway" instance=ExtResource( 5 )]
  39. material = SubResource( 1 )
  40. position = Vector2( 14.989, -0.323532 )
  41. scale = Vector2( 0.25, 0.25 )
  42. pulse_in_time = 0.2
  43. [node name="CollisionShape2D" type="CollisionShape2D" parent="Doorway"]
  44. shape = SubResource( 2 )
  45. [node name="Frontplane" type="Node2D" parent="."]
  46. position = Vector2( -32, 0 )
  47. [node name="Front_Top" type="Sprite" parent="Frontplane"]
  48. position = Vector2( 0, -8 )
  49. scale = Vector2( 1, -1 )
  50. texture = ExtResource( 6 )
  51. region_enabled = true
  52. region_rect = Rect2( 0, 512, 32, 16 )
  53. [node name="Front_Bottom" type="Sprite" parent="Frontplane"]
  54. position = Vector2( 0, 8 )
  55. texture = ExtResource( 6 )
  56. region_enabled = true
  57. region_rect = Rect2( 0, 512, 32, 16 )
  58. [node name="CollisionPolygon2D" type="CollisionPolygon2D" parent="."]
  59. polygon = PoolVector2Array( -47.9044, -15.9911, -30.1666, -15.9101, -18.8273, -9.9975, -19.0703, -8.86357, -21.0952, -7.08169, -27.0888, -5.13782, -29.9236, -1.97902, -29.8426, 1.74673, -27.0888, 5.06752, -21.0952, 7.09238, -18.9893, 9.03626, -18.9893, 10.0892, -30.0855, 15.8398, -47.9854, 15.9208 )
  60. [node name="Tween" type="Tween" parent="."]
  61. [node name="Audio" type="AudioStreamPlayer" parent="."]
  62. stream = ExtResource( 2 )
  63. bus = "Effects"
  64. [editable path="Doorway/Glow"]