diff --git a/src/Player/Player.gd b/src/Player/Player.gd index 5498af6..cc354dd 100644 --- a/src/Player/Player.gd +++ b/src/Player/Player.gd @@ -5,9 +5,9 @@ This is an example player controller script created by Paul """ var velocity := Vector2.ZERO # This is how you export variables with ranges to the editor window -export(int, 0, 500) var MAX_SPEED = 125 -export(int, 0, 500) var FRICTION = 200 # Speed at which the player deaccelarates -export(int, 0, 500) var ACCELERATION = 450 +export(int, 0, 500) var MAX_SPEED := 125 +export(int, 0, 500) var FRICTION := 200 # Speed at which the player deaccelarates +export(int, 0, 500) var ACCELERATION := 450 func _physics_process(delta): """ diff --git a/src/Player/Player.tscn b/src/Player/Player.tscn index e111fc4..120d7b4 100644 --- a/src/Player/Player.tscn +++ b/src/Player/Player.tscn @@ -1,7 +1,9 @@ [gd_scene load_steps=4 format=2] [ext_resource path="res://Player/Player.gd" type="Script" id=1] -[ext_resource path="res://icon.png" type="Texture" id=2] +[ext_resource path="res://Player/player.png" type="Texture" id=2] + + [sub_resource type="CapsuleShape2D" id=1] radius = 6.0 diff --git a/src/Player/player.png b/src/Player/player.png new file mode 100644 index 0000000..c98fbb6 Binary files /dev/null and b/src/Player/player.png differ diff --git a/src/Player/player.png.import b/src/Player/player.png.import new file mode 100644 index 0000000..09fadd8 --- /dev/null +++ b/src/Player/player.png.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="StreamTexture" +path="res://.import/player.png-e0de26b393baa489289b0e229c9561a8.stex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://Player/player.png" +dest_files=[ "res://.import/player.png-e0de26b393baa489289b0e229c9561a8.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 diff --git a/src/icon.png b/src/icon.png index c98fbb6..496e498 100644 Binary files a/src/icon.png and b/src/icon.png differ