Compare commits
2 Commits
a7c0c45486
...
a1668dc8f2
Author | SHA1 | Date |
---|---|---|
Just Dzhi | a1668dc8f2 | |
Just Dzhi | 016da80a59 |
Binary file not shown.
Before Width: | Height: | Size: 1.9 KiB |
|
@ -1,35 +0,0 @@
|
|||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="StreamTexture"
|
||||
path="res://.import/trash_can.png-0987d8f67e93f5b32fac39729f87305a.stex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://src/models/enemies/trash_can/sprites/trash_can.png"
|
||||
dest_files=[ "res://.import/trash_can.png-0987d8f67e93f5b32fac39729f87305a.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,6 +1,6 @@
|
|||
[gd_scene load_steps=8 format=2]
|
||||
|
||||
[ext_resource path="res://src/models/player/sprite.png" type="Texture" id=1]
|
||||
[ext_resource path="res://src/models/player/sprites/player_spriteframes.tres" type="SpriteFrames" id=1]
|
||||
[ext_resource path="res://src/models/player/player.gd" type="Script" id=2]
|
||||
[ext_resource path="res://res/shaders/colorize.tres" type="Material" id=3]
|
||||
|
||||
|
@ -69,9 +69,12 @@ tracks/1/keys = {
|
|||
[node name="Player" type="KinematicBody2D" groups=["player"]]
|
||||
script = ExtResource( 2 )
|
||||
|
||||
[node name="Sprite" type="Sprite" parent="."]
|
||||
[node name="Sprite" type="AnimatedSprite" parent="."]
|
||||
material = ExtResource( 3 )
|
||||
texture = ExtResource( 1 )
|
||||
frames = ExtResource( 1 )
|
||||
animation = "run"
|
||||
frame = 2
|
||||
playing = true
|
||||
centered = false
|
||||
|
||||
[node name="WallCollision" type="CollisionShape2D" parent="."]
|
||||
|
|
Binary file not shown.
Before Width: | Height: | Size: 2.1 KiB |
|
@ -0,0 +1,35 @@
|
|||
[gd_resource type="SpriteFrames" load_steps=8 format=2]
|
||||
|
||||
[ext_resource path="res://src/models/player/sprites/run.png" type="Texture" id=1]
|
||||
|
||||
[sub_resource type="AtlasTexture" id=1]
|
||||
atlas = ExtResource( 1 )
|
||||
region = Rect2( 0, 0, 22, 25 )
|
||||
|
||||
[sub_resource type="AtlasTexture" id=2]
|
||||
atlas = ExtResource( 1 )
|
||||
region = Rect2( 22, 0, 22, 25 )
|
||||
|
||||
[sub_resource type="AtlasTexture" id=3]
|
||||
atlas = ExtResource( 1 )
|
||||
region = Rect2( 44, 0, 22, 25 )
|
||||
|
||||
[sub_resource type="AtlasTexture" id=4]
|
||||
atlas = ExtResource( 1 )
|
||||
region = Rect2( 66, 0, 22, 25 )
|
||||
|
||||
[sub_resource type="AtlasTexture" id=5]
|
||||
atlas = ExtResource( 1 )
|
||||
region = Rect2( 88, 0, 22, 25 )
|
||||
|
||||
[sub_resource type="AtlasTexture" id=6]
|
||||
atlas = ExtResource( 1 )
|
||||
region = Rect2( 110, 0, 22, 25 )
|
||||
|
||||
[resource]
|
||||
animations = [ {
|
||||
"frames": [ SubResource( 1 ), SubResource( 2 ), SubResource( 3 ), SubResource( 4 ), SubResource( 5 ), SubResource( 6 ) ],
|
||||
"loop": true,
|
||||
"name": "run",
|
||||
"speed": 12.0
|
||||
} ]
|
Binary file not shown.
After Width: | Height: | Size: 1.1 KiB |
|
@ -2,15 +2,15 @@
|
|||
|
||||
importer="texture"
|
||||
type="StreamTexture"
|
||||
path="res://.import/sprite.png-d1a953a55fa409c61c2d0834450a9346.stex"
|
||||
path="res://.import/run.png-345781115512817e4a25318657a4c97e.stex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://src/models/player/sprite.png"
|
||||
dest_files=[ "res://.import/sprite.png-d1a953a55fa409c61c2d0834450a9346.stex" ]
|
||||
source_file="res://src/models/player/sprites/run.png"
|
||||
dest_files=[ "res://.import/run.png-345781115512817e4a25318657a4c97e.stex" ]
|
||||
|
||||
[params]
|
||||
|
Loading…
Reference in New Issue