Compare commits
No commits in common. "4fabc43041077e829ce3b5dd2e36bc73370737c6" and "e0980065c288181705e574e2d28cba6f92f38dd4" have entirely different histories.
4fabc43041
...
e0980065c2
|
@ -1,2 +0,0 @@
|
||||||
extends KinematicBody2D
|
|
||||||
|
|
|
@ -1,23 +0,0 @@
|
||||||
[gd_scene load_steps=4 format=2]
|
|
||||||
|
|
||||||
[ext_resource path="res://src/models/enemies/rat/sprites/rat_spriteframes.tres" type="SpriteFrames" id=1]
|
|
||||||
[ext_resource path="res://src/models/enemies/rat/Rat.gd" type="Script" id=2]
|
|
||||||
|
|
||||||
[sub_resource type="RectangleShape2D" id=1]
|
|
||||||
extents = Vector2( 8, 3 )
|
|
||||||
|
|
||||||
[node name="Rat" type="KinematicBody2D" groups=["enemy"]]
|
|
||||||
script = ExtResource( 2 )
|
|
||||||
|
|
||||||
[node name="Sprite" type="AnimatedSprite" parent="."]
|
|
||||||
frames = ExtResource( 1 )
|
|
||||||
animation = "idle"
|
|
||||||
frame = 2
|
|
||||||
playing = true
|
|
||||||
centered = false
|
|
||||||
|
|
||||||
[node name="Area2D" type="Area2D" parent="."]
|
|
||||||
|
|
||||||
[node name="CollisionShape2D" type="CollisionShape2D" parent="Area2D"]
|
|
||||||
position = Vector2( 12, 6 )
|
|
||||||
shape = SubResource( 1 )
|
|
Binary file not shown.
Before Width: | Height: | Size: 572 B |
|
@ -1,35 +0,0 @@
|
||||||
[remap]
|
|
||||||
|
|
||||||
importer="texture"
|
|
||||||
type="StreamTexture"
|
|
||||||
path="res://.import/rat.png-e73e7b6a730462f71668a742e225b538.stex"
|
|
||||||
metadata={
|
|
||||||
"vram_texture": false
|
|
||||||
}
|
|
||||||
|
|
||||||
[deps]
|
|
||||||
|
|
||||||
source_file="res://src/models/enemies/rat/sprites/rat.png"
|
|
||||||
dest_files=[ "res://.import/rat.png-e73e7b6a730462f71668a742e225b538.stex" ]
|
|
||||||
|
|
||||||
[params]
|
|
||||||
|
|
||||||
compress/mode=0
|
|
||||||
compress/lossy_quality=0.7
|
|
||||||
compress/hdr_mode=0
|
|
||||||
compress/bptc_ldr=0
|
|
||||||
compress/normal_map=0
|
|
||||||
flags/repeat=0
|
|
||||||
flags/filter=false
|
|
||||||
flags/mipmaps=false
|
|
||||||
flags/anisotropic=false
|
|
||||||
flags/srgb=2
|
|
||||||
process/fix_alpha_border=true
|
|
||||||
process/premult_alpha=false
|
|
||||||
process/HDR_as_SRGB=false
|
|
||||||
process/invert_color=false
|
|
||||||
process/normal_map_invert_y=false
|
|
||||||
stream=false
|
|
||||||
size_limit=0
|
|
||||||
detect_3d=false
|
|
||||||
svg/scale=1.0
|
|
|
@ -1,27 +0,0 @@
|
||||||
[gd_resource type="SpriteFrames" load_steps=6 format=2]
|
|
||||||
|
|
||||||
[ext_resource path="res://src/models/enemies/rat/sprites/rat.png" type="Texture" id=1]
|
|
||||||
|
|
||||||
[sub_resource type="AtlasTexture" id=1]
|
|
||||||
atlas = ExtResource( 1 )
|
|
||||||
region = Rect2( 0, 0, 28, 11 )
|
|
||||||
|
|
||||||
[sub_resource type="AtlasTexture" id=2]
|
|
||||||
atlas = ExtResource( 1 )
|
|
||||||
region = Rect2( 28, 0, 28, 11 )
|
|
||||||
|
|
||||||
[sub_resource type="AtlasTexture" id=3]
|
|
||||||
atlas = ExtResource( 1 )
|
|
||||||
region = Rect2( 56, 0, 28, 11 )
|
|
||||||
|
|
||||||
[sub_resource type="AtlasTexture" id=4]
|
|
||||||
atlas = ExtResource( 1 )
|
|
||||||
region = Rect2( 84, 0, 28, 11 )
|
|
||||||
|
|
||||||
[resource]
|
|
||||||
animations = [ {
|
|
||||||
"frames": [ SubResource( 1 ), SubResource( 2 ), SubResource( 3 ), SubResource( 4 ) ],
|
|
||||||
"loop": true,
|
|
||||||
"name": "idle",
|
|
||||||
"speed": 12.0
|
|
||||||
} ]
|
|
Loading…
Reference in New Issue