A game created for the Godot Wild Jam #21
Nie możesz wybrać więcej, niż 25 tematów Tematy muszą się zaczynać od litery lub cyfry, mogą zawierać myślniki ('-') i mogą mieć do 35 znaków.

75 lines
2.5KB

  1. [gd_scene load_steps=7 format=2]
  2. [ext_resource path="res://Data/Scripts/HalfDoor.gd" type="Script" id=1]
  3. [ext_resource path="res://Data/Shaders/Glowdot.shader" type="Shader" id=3]
  4. [ext_resource path="res://Data/Objects/Glowdot.tscn" type="PackedScene" id=5]
  5. [ext_resource path="res://Data/Graphics/Tileset.png" type="Texture" id=6]
  6. [sub_resource type="ShaderMaterial" id=1]
  7. shader = ExtResource( 3 )
  8. shader_param/primary_color = Color( 1, 0.8, 0, 1 )
  9. shader_param/fade_offset = 0.15
  10. [sub_resource type="RectangleShape2D" id=2]
  11. extents = Vector2( 24, 7 )
  12. [node name="HalfDoor" type="StaticBody2D"]
  13. position = Vector2( 0.440125, -0.440125 )
  14. collision_layer = 2
  15. script = ExtResource( 1 )
  16. [node name="Backplane" type="Node2D" parent="."]
  17. position = Vector2( -32, 0 )
  18. [node name="Backplane_Top" type="Sprite" parent="Backplane"]
  19. position = Vector2( 0, -8 )
  20. scale = Vector2( 1, -1 )
  21. texture = ExtResource( 6 )
  22. region_enabled = true
  23. region_rect = Rect2( 0, 528, 32, 16 )
  24. [node name="Backplane_Bottom" type="Sprite" parent="Backplane"]
  25. position = Vector2( 0, 8 )
  26. texture = ExtResource( 6 )
  27. region_enabled = true
  28. region_rect = Rect2( 0, 528, 32, 16 )
  29. [node name="Doorway" type="KinematicBody2D" parent="."]
  30. position = Vector2( -6, 0 )
  31. collision_layer = 2
  32. [node name="Sprite" type="Sprite" parent="Doorway"]
  33. texture = ExtResource( 6 )
  34. region_enabled = true
  35. region_rect = Rect2( 32, 512, 48, 16 )
  36. [node name="Glow" parent="Doorway" instance=ExtResource( 5 )]
  37. material = SubResource( 1 )
  38. position = Vector2( 14.989, -0.323532 )
  39. scale = Vector2( 0.25, 0.25 )
  40. pulse_in_time = 0.2
  41. [node name="CollisionShape2D" type="CollisionShape2D" parent="Doorway"]
  42. shape = SubResource( 2 )
  43. [node name="Frontplane" type="Node2D" parent="."]
  44. position = Vector2( -32, 0 )
  45. [node name="Front_Top" type="Sprite" parent="Frontplane"]
  46. position = Vector2( 0, -8 )
  47. scale = Vector2( 1, -1 )
  48. texture = ExtResource( 6 )
  49. region_enabled = true
  50. region_rect = Rect2( 0, 512, 32, 16 )
  51. [node name="Front_Bottom" type="Sprite" parent="Frontplane"]
  52. position = Vector2( 0, 8 )
  53. texture = ExtResource( 6 )
  54. region_enabled = true
  55. region_rect = Rect2( 0, 512, 32, 16 )
  56. [node name="CollisionPolygon2D" type="CollisionPolygon2D" parent="."]
  57. 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 )
  58. [node name="Tween" type="Tween" parent="."]