RedCheepCheep.tscn 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. [gd_scene load_steps=8 format=3 uid="uid://d04e1qv3si8j"]
  2. [ext_resource type="PackedScene" uid="uid://bdirphnfabey8" path="res://Scenes/Prefabs/Entities/Enemies/GreenCheepCheep.tscn" id="1_ie2kx"]
  3. [ext_resource type="Texture2D" uid="uid://dbq7oso3fo4n6" path="res://Assets/Sprites/Enemies/CheepCheep.png" id="2_y5sv7"]
  4. [ext_resource type="JSON" path="res://Assets/Sprites/Enemies/RedCheepCheep.json" id="3_871bq"]
  5. [ext_resource type="Script" uid="uid://cbal8ms2oe1ik" path="res://Scripts/Classes/Components/ResourceSetterNew.gd" id="4_plbrw"]
  6. [sub_resource type="AtlasTexture" id="AtlasTexture_mrggu"]
  7. atlas = ExtResource("2_y5sv7")
  8. region = Rect2(0, 16, 16, 16)
  9. [sub_resource type="AtlasTexture" id="AtlasTexture_dduxq"]
  10. atlas = ExtResource("2_y5sv7")
  11. region = Rect2(16, 16, 16, 16)
  12. [sub_resource type="SpriteFrames" id="SpriteFrames_a8obf"]
  13. animations = [{
  14. "frames": [{
  15. "duration": 1.0,
  16. "texture": SubResource("AtlasTexture_mrggu")
  17. }, {
  18. "duration": 1.0,
  19. "texture": SubResource("AtlasTexture_dduxq")
  20. }],
  21. "loop": true,
  22. "name": &"default",
  23. "speed": 5.0
  24. }]
  25. [node name="CheepCheep" instance=ExtResource("1_ie2kx")]
  26. move_speed = 45
  27. [node name="Sprite" parent="." index="0"]
  28. sprite_frames = SubResource("SpriteFrames_a8obf")
  29. [node name="ResourceSetterNew" parent="Sprite" index="2"]
  30. resource_json = ExtResource("3_871bq")
  31. [node name="ResourceSetterNew2" type="Node" parent="Sprite" index="3" node_paths=PackedStringArray("node_to_affect")]
  32. script = ExtResource("4_plbrw")
  33. node_to_affect = NodePath("..")
  34. property_name = "sprite_frames"
  35. resource_json = ExtResource("3_871bq")
  36. metadata/_custom_type_script = "uid://cbal8ms2oe1ik"