mirror of
https://github.com/creyD/ludum_dare_46.git
synced 2026-06-15 14:42:24 +02:00
Fixed little things
This commit is contained in:
@@ -5,9 +5,9 @@ This is an example player controller script created by Paul
|
|||||||
"""
|
"""
|
||||||
var velocity := Vector2.ZERO
|
var velocity := Vector2.ZERO
|
||||||
# This is how you export variables with ranges to the editor window
|
# 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 MAX_SPEED := 125
|
||||||
export(int, 0, 500) var FRICTION = 200 # Speed at which the player deaccelarates
|
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 ACCELERATION := 450
|
||||||
|
|
||||||
func _physics_process(delta):
|
func _physics_process(delta):
|
||||||
"""
|
"""
|
||||||
|
|||||||
@@ -1,7 +1,9 @@
|
|||||||
[gd_scene load_steps=4 format=2]
|
[gd_scene load_steps=4 format=2]
|
||||||
|
|
||||||
[ext_resource path="res://Player/Player.gd" type="Script" id=1]
|
[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]
|
[sub_resource type="CapsuleShape2D" id=1]
|
||||||
radius = 6.0
|
radius = 6.0
|
||||||
|
|||||||
BIN
src/Player/player.png
Normal file
BIN
src/Player/player.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 3.2 KiB |
34
src/Player/player.png.import
Normal file
34
src/Player/player.png.import
Normal file
@@ -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
|
||||||
BIN
src/icon.png
BIN
src/icon.png
Binary file not shown.
|
Before Width: | Height: | Size: 3.2 KiB After Width: | Height: | Size: 228 B |
Reference in New Issue
Block a user