add new player sprite

This commit is contained in:
mightypanders 2021-06-12 01:05:11 +02:00
parent 1cc097a081
commit 87b72d6131
3 changed files with 38 additions and 1 deletions

View File

@ -1,6 +1,6 @@
[gd_scene load_steps=4 format=2] [gd_scene load_steps=4 format=2]
[ext_resource path="res://assets/car/TRBRYcars [Converted] sedan.svg" type="Texture" id=1] [ext_resource path="res://assets/car/Auto.png" type="Texture" id=1]
[ext_resource path="res://Playa.gd" type="Script" id=2] [ext_resource path="res://Playa.gd" type="Script" id=2]
[sub_resource type="CapsuleShape2D" id=1] [sub_resource type="CapsuleShape2D" id=1]
@ -14,6 +14,9 @@ __meta__ = {
} }
[node name="Sprite" type="Sprite" parent="."] [node name="Sprite" type="Sprite" parent="."]
position = Vector2( 20, 5 )
rotation = -1.5708
scale = Vector2( 2, 2 )
texture = ExtResource( 1 ) texture = ExtResource( 1 )
[node name="CollisionShape2D" type="CollisionShape2D" parent="."] [node name="CollisionShape2D" type="CollisionShape2D" parent="."]

BIN
assets/car/Auto.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.6 KiB

View File

@ -0,0 +1,34 @@
[remap]
importer="texture"
type="StreamTexture"
path="res://.import/Auto.png-4e389b8e31368d2ad38571779dde49f2.stex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://assets/car/Auto.png"
dest_files=[ "res://.import/Auto.png-4e389b8e31368d2ad38571779dde49f2.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
stream=false
size_limit=0
detect_3d=false
svg/scale=1.0