diff --git a/Playa.gd b/Playa.gd new file mode 100644 index 0000000..7e84473 --- /dev/null +++ b/Playa.gd @@ -0,0 +1,16 @@ +extends KinematicBody2D + + +# Declare member variables here. Examples: +# var a = 2 +# var b = "text" + + +# Called when the node enters the scene tree for the first time. +func _ready(): + pass # Replace with function body. + + +# Called every frame. 'delta' is the elapsed time since the previous frame. +#func _process(delta): +# pass diff --git a/Playa.tscn b/Playa.tscn new file mode 100644 index 0000000..b5b5f54 --- /dev/null +++ b/Playa.tscn @@ -0,0 +1,21 @@ +[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://Playa.gd" type="Script" id=2] + +[sub_resource type="CapsuleShape2D" id=1] +radius = 34.9782 +height = 106.041 + +[node name="Playa" type="KinematicBody2D"] +script = ExtResource( 2 ) +__meta__ = { +"_edit_group_": true +} + +[node name="Sprite" type="Sprite" parent="."] +texture = ExtResource( 1 ) + +[node name="CollisionShape2D" type="CollisionShape2D" parent="."] +rotation = 1.5708 +shape = SubResource( 1 ) diff --git a/assets/car/TRBRYcars [Converted] sedan.svg b/assets/car/TRBRYcars [Converted] sedan.svg new file mode 100644 index 0000000..ed63b1f --- /dev/null +++ b/assets/car/TRBRYcars [Converted] sedan.svg @@ -0,0 +1,92 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/assets/car/TRBRYcars [Converted] sedan.svg.import b/assets/car/TRBRYcars [Converted] sedan.svg.import new file mode 100644 index 0000000..8296ca7 --- /dev/null +++ b/assets/car/TRBRYcars [Converted] sedan.svg.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="StreamTexture" +path="res://.import/TRBRYcars [Converted] sedan.svg-de70ef8fd4a423d23a09d4b711bef972.stex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://assets/car/TRBRYcars [Converted] sedan.svg" +dest_files=[ "res://.import/TRBRYcars [Converted] sedan.svg-de70ef8fd4a423d23a09d4b711bef972.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=true +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=true +svg/scale=1.0