Initial upload of Slime Platformer.
This commit is contained in:
commit
164aaaaeb7
15 changed files with 416 additions and 0 deletions
4
.editorconfig
Executable file
4
.editorconfig
Executable file
|
|
@ -0,0 +1,4 @@
|
|||
root = true
|
||||
|
||||
[*]
|
||||
charset = utf-8
|
||||
2
.gitattributes
vendored
Executable file
2
.gitattributes
vendored
Executable file
|
|
@ -0,0 +1,2 @@
|
|||
# Normalize EOL for all files that Git considers text files.
|
||||
* text=auto eol=lf
|
||||
3
.gitignore
vendored
Executable file
3
.gitignore
vendored
Executable file
|
|
@ -0,0 +1,3 @@
|
|||
# Godot 4+ specific ignores
|
||||
.godot/
|
||||
/android/
|
||||
BIN
Assets/Player.png
Executable file
BIN
Assets/Player.png
Executable file
Binary file not shown.
|
After Width: | Height: | Size: 1.2 KiB |
40
Assets/Player.png.import
Executable file
40
Assets/Player.png.import
Executable file
|
|
@ -0,0 +1,40 @@
|
|||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://bkfsga31umost"
|
||||
path="res://.godot/imported/Player.png-54d4b13ac506f96b99814af866f299ae.ctex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://Assets/Player.png"
|
||||
dest_files=["res://.godot/imported/Player.png-54d4b13ac506f96b99814af866f299ae.ctex"]
|
||||
|
||||
[params]
|
||||
|
||||
compress/mode=0
|
||||
compress/high_quality=false
|
||||
compress/lossy_quality=0.7
|
||||
compress/uastc_level=0
|
||||
compress/rdo_quality_loss=0.0
|
||||
compress/hdr_compression=1
|
||||
compress/normal_map=0
|
||||
compress/channel_pack=0
|
||||
mipmaps/generate=false
|
||||
mipmaps/limit=-1
|
||||
roughness/mode=0
|
||||
roughness/src_normal=""
|
||||
process/channel_remap/red=0
|
||||
process/channel_remap/green=1
|
||||
process/channel_remap/blue=2
|
||||
process/channel_remap/alpha=3
|
||||
process/fix_alpha_border=true
|
||||
process/premult_alpha=false
|
||||
process/normal_map_invert_y=false
|
||||
process/hdr_as_srgb=false
|
||||
process/hdr_clamp_exposure=false
|
||||
process/size_limit=0
|
||||
detect_3d/compress_to=1
|
||||
BIN
Assets/platformPack_tilesheet.png
Executable file
BIN
Assets/platformPack_tilesheet.png
Executable file
Binary file not shown.
|
After Width: | Height: | Size: 9.9 KiB |
40
Assets/platformPack_tilesheet.png.import
Executable file
40
Assets/platformPack_tilesheet.png.import
Executable file
|
|
@ -0,0 +1,40 @@
|
|||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://beukxtvkfepxb"
|
||||
path="res://.godot/imported/platformPack_tilesheet.png-ee17a155660ea850126d8c8aa0137e3b.ctex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://Assets/platformPack_tilesheet.png"
|
||||
dest_files=["res://.godot/imported/platformPack_tilesheet.png-ee17a155660ea850126d8c8aa0137e3b.ctex"]
|
||||
|
||||
[params]
|
||||
|
||||
compress/mode=0
|
||||
compress/high_quality=false
|
||||
compress/lossy_quality=0.7
|
||||
compress/uastc_level=0
|
||||
compress/rdo_quality_loss=0.0
|
||||
compress/hdr_compression=1
|
||||
compress/normal_map=0
|
||||
compress/channel_pack=0
|
||||
mipmaps/generate=false
|
||||
mipmaps/limit=-1
|
||||
roughness/mode=0
|
||||
roughness/src_normal=""
|
||||
process/channel_remap/red=0
|
||||
process/channel_remap/green=1
|
||||
process/channel_remap/blue=2
|
||||
process/channel_remap/alpha=3
|
||||
process/fix_alpha_border=true
|
||||
process/premult_alpha=false
|
||||
process/normal_map_invert_y=false
|
||||
process/hdr_as_srgb=false
|
||||
process/hdr_clamp_exposure=false
|
||||
process/size_limit=0
|
||||
detect_3d/compress_to=1
|
||||
48
Characters/player.gd
Executable file
48
Characters/player.gd
Executable file
|
|
@ -0,0 +1,48 @@
|
|||
extends CharacterBody2D
|
||||
|
||||
const MOVE_SPEED = 200.0
|
||||
const CLIMB_SPEED = -150.0
|
||||
const JUMP_VELOCITY = -250.0
|
||||
const WALL_SLIDE_MODIFIER = 0.1
|
||||
const ROTATE_TO_WALL_SPEED = 25 # How quickly to rotate the sprite when clinging to a wall.
|
||||
|
||||
# Temp for now, need to use aniamtedspite2d later on
|
||||
@onready var sprite = $Sprite2D
|
||||
|
||||
func _process(delta: float) -> void:
|
||||
# Update sprite to be on the wall
|
||||
if not is_on_floor() and is_on_wall():
|
||||
sprite.rotation = lerp_angle(sprite.rotation, PI/2 * get_wall_normal().x, ROTATE_TO_WALL_SPEED * delta)
|
||||
else:
|
||||
sprite.rotation = lerp_angle(sprite.rotation, 0.0, ROTATE_TO_WALL_SPEED * delta)
|
||||
|
||||
func _physics_process(delta: float) -> void:
|
||||
# Get the input direction and handle the movement/deceleration.
|
||||
var horizontalInput := Input.get_axis("moveLeft", "moveRight")
|
||||
var verticalInput := Input.get_axis("moveDown", "moveUp")
|
||||
|
||||
# Quick flip sprite thing.
|
||||
if horizontalInput: sprite.flip_h = (horizontalInput < 0)
|
||||
|
||||
# If you're pressing against the wall, stick to it.
|
||||
# If you're just touching the wall, slowly ooze down it.
|
||||
# If you're not touching anything, fall normally.
|
||||
if is_on_wall() and horizontalInput != 0:
|
||||
velocity.y = 0.0
|
||||
elif is_on_wall():
|
||||
velocity.y += get_gravity().y * WALL_SLIDE_MODIFIER * delta
|
||||
elif not is_on_floor():
|
||||
velocity.y += get_gravity().y * delta
|
||||
|
||||
# Handle jump.
|
||||
if Input.is_action_just_pressed("jump") and is_on_floor():
|
||||
velocity.y = JUMP_VELOCITY
|
||||
|
||||
# Quick setup for oozing up walls
|
||||
if verticalInput > 0 and is_on_wall():
|
||||
velocity.y = CLIMB_SPEED
|
||||
|
||||
if horizontalInput: velocity.x = horizontalInput * MOVE_SPEED
|
||||
else: velocity.x = move_toward(velocity.x, 0, MOVE_SPEED)
|
||||
|
||||
move_and_slide()
|
||||
1
Characters/player.gd.uid
Executable file
1
Characters/player.gd.uid
Executable file
|
|
@ -0,0 +1 @@
|
|||
uid://drxbt88sjb1y4
|
||||
17
Characters/player.tscn
Executable file
17
Characters/player.tscn
Executable file
|
|
@ -0,0 +1,17 @@
|
|||
[gd_scene format=3 uid="uid://uaxviwb40nn8"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://drxbt88sjb1y4" path="res://Characters/player.gd" id="1_eovys"]
|
||||
[ext_resource type="Texture2D" uid="uid://bkfsga31umost" path="res://Assets/Player.png" id="2_eovys"]
|
||||
|
||||
[sub_resource type="CircleShape2D" id="CircleShape2D_eovys"]
|
||||
radius = 8.062258
|
||||
|
||||
[node name="Player" type="CharacterBody2D" unique_id=150873177]
|
||||
script = ExtResource("1_eovys")
|
||||
|
||||
[node name="Sprite2D" type="Sprite2D" parent="." unique_id=1511454314]
|
||||
texture = ExtResource("2_eovys")
|
||||
offset = Vector2(0, -8)
|
||||
|
||||
[node name="CollisionShape2D" type="CollisionShape2D" parent="." unique_id=1379572123]
|
||||
shape = SubResource("CircleShape2D_eovys")
|
||||
13
Levels/test_level.tscn
Executable file
13
Levels/test_level.tscn
Executable file
|
|
@ -0,0 +1,13 @@
|
|||
[gd_scene format=4 uid="uid://co1lfi5fpj54e"]
|
||||
|
||||
[ext_resource type="PackedScene" uid="uid://uaxviwb40nn8" path="res://Characters/player.tscn" id="1_ormqy"]
|
||||
[ext_resource type="TileSet" uid="uid://c71vj3j56pjl6" path="res://placeholder_tiles.tres" id="2_00vsl"]
|
||||
|
||||
[node name="TestLevel" type="Node2D" unique_id=1824208737]
|
||||
|
||||
[node name="Player" parent="." unique_id=150873177 instance=ExtResource("1_ormqy")]
|
||||
position = Vector2(329, 266)
|
||||
|
||||
[node name="TileMapLayer" type="TileMapLayer" parent="." unique_id=459516426]
|
||||
tile_map_data = PackedByteArray("AAABAA4AAAAEAAQAAAACAA4AAAAEAAQAAAADAA4AAAAEAAQAAAAEAA4AAAAEAAQAAAAFAA4AAAAEAAQAAAAGAA4AAAAEAAQAAAAHAA4AAAAEAAQAAAAIAA4AAAAEAAQAAAAJAA4AAAAEAAQAAAAKAA4AAAAEAAQAAAALAA4AAAAEAAQAAAAMAA4AAAAEAAQAAAANAA4AAAAEAAQAAAAOAA4AAAAEAAQAAAAPAA4AAAAEAAQAAAAQAA4AAAAEAAQAAAARAA4AAAAEAAQAAAAAAA4AAAAEAAQAAAASAA4AAAAEAAQAAAATAA4AAAAEAAQAAAATAA0AAAAEAAQAAAATAAwAAAAEAAQAAAATAAsAAAAEAAQAAAATAAoAAAAEAAQAAAATAAkAAAAEAAQAAAATAAgAAAAEAAQAAAATAAcAAAAEAAQAAAATAAYAAAAEAAQAAAATAAUAAAAEAAQAAAATAAQAAAAEAAQAAAATAAMAAAAEAAQAAAATAAIAAAAEAAQAAAATAAEAAAAEAAQAAAATAAAAAAAEAAQAAAASAAAAAAAEAAQAAAARAAAAAAAEAAQAAAAQAAAAAAAEAAQAAAAPAAAAAAAEAAQAAAAOAAAAAAAEAAQAAAANAAAAAAAEAAQAAAAMAAAAAAAEAAQAAAALAAAAAAAEAAQAAAAKAAAAAAAEAAQAAAAJAAAAAAAEAAQAAAAIAAAAAAAEAAQAAAAHAAAAAAAEAAQAAAAGAAAAAAAEAAQAAAAFAAAAAAAEAAQAAAAEAAAAAAAEAAQAAAADAAAAAAAEAAQAAAACAAAAAAAEAAQAAAABAAAAAAAEAAQAAAAAAAAAAAAEAAQAAAAAAAEAAAAEAAQAAAAAAAIAAAAEAAQAAAAAAAMAAAAEAAQAAAAAAAQAAAAEAAQAAAAAAAUAAAAEAAQAAAAAAAYAAAAEAAQAAAAAAAcAAAAEAAQAAAAAAAgAAAAEAAQAAAAAAAkAAAAEAAQAAAAAAAoAAAAEAAQAAAAAAAsAAAAEAAQAAAAAAAwAAAAEAAQAAAAAAA0AAAAEAAQAAAABAAwAAAAEAAQAAAACAAwAAAAEAAQAAAADAAwAAAAEAAQAAAAEAAwAAAAEAAQAAAARAA0AAAAEAAQAAAARAAwAAAAEAAQAAAAOAAsAAAAEAAQAAAANAAsAAAAEAAQAAAAMAAsAAAAEAAQAAAALAAsAAAAEAAQAAAABAAkAAAAEAAQAAAACAAkAAAAEAAQAAAADAAkAAAAEAAQAAAABAAYAAAAEAAQAAAACAAYAAAAEAAQAAAAFAAEAAAAEAAQAAAAFAAIAAAAEAAQAAAAFAAMAAAAEAAQAAAAFAAQAAAAEAAQAAAAEAAYAAAAEAAQAAAAFAAYAAAAEAAQAAAAGAAYAAAAEAAQAAAAHAAYAAAAEAAQAAAAKAAUAAAAEAAQAAAALAAUAAAAEAAQAAAAMAAUAAAAEAAQAAAANAAUAAAAEAAQAAAASAAMAAAAEAAQAAAARAAMAAAAEAAQAAAAQAAMAAAAEAAQAAAAPAAMAAAAEAAQAAAA=")
|
||||
tile_set = ExtResource("2_00vsl")
|
||||
1
icon.svg
Executable file
1
icon.svg
Executable file
|
|
@ -0,0 +1 @@
|
|||
<svg xmlns="http://www.w3.org/2000/svg" width="128" height="128"><rect width="124" height="124" x="2" y="2" fill="#363d52" stroke="#212532" stroke-width="4" rx="14"/><g fill="#fff" transform="translate(12.322 12.322)scale(.101)"><path d="M105 673v33q407 354 814 0v-33z"/><path fill="#478cbf" d="m105 673 152 14q12 1 15 14l4 67 132 10 8-61q2-11 15-15h162q13 4 15 15l8 61 132-10 4-67q3-13 15-14l152-14V427q30-39 56-81-35-59-83-108-43 20-82 47-40-37-88-64 7-51 8-102-59-28-123-42-26 43-46 89-49-7-98 0-20-46-46-89-64 14-123 42 1 51 8 102-48 27-88 64-39-27-82-47-48 49-83 108 26 42 56 81zm0 33v39c0 276 813 276 814 0v-39l-134 12-5 69q-2 10-14 13l-162 11q-12 0-16-11l-10-65H446l-10 65q-4 11-16 11l-162-11q-12-3-14-13l-5-69z"/><path d="M483 600c0 34 58 34 58 0v-86c0-34-58-34-58 0z"/><circle cx="725" cy="526" r="90"/><circle cx="299" cy="526" r="90"/></g><g fill="#414042" transform="translate(12.322 12.322)scale(.101)"><circle cx="307" cy="532" r="60"/><circle cx="717" cy="532" r="60"/></g></svg>
|
||||
|
After Width: | Height: | Size: 995 B |
43
icon.svg.import
Executable file
43
icon.svg.import
Executable file
|
|
@ -0,0 +1,43 @@
|
|||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://bd60ddhri50de"
|
||||
path="res://.godot/imported/icon.svg-218a8f2b3041327d8a5756f3a245f83b.ctex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://icon.svg"
|
||||
dest_files=["res://.godot/imported/icon.svg-218a8f2b3041327d8a5756f3a245f83b.ctex"]
|
||||
|
||||
[params]
|
||||
|
||||
compress/mode=0
|
||||
compress/high_quality=false
|
||||
compress/lossy_quality=0.7
|
||||
compress/uastc_level=0
|
||||
compress/rdo_quality_loss=0.0
|
||||
compress/hdr_compression=1
|
||||
compress/normal_map=0
|
||||
compress/channel_pack=0
|
||||
mipmaps/generate=false
|
||||
mipmaps/limit=-1
|
||||
roughness/mode=0
|
||||
roughness/src_normal=""
|
||||
process/channel_remap/red=0
|
||||
process/channel_remap/green=1
|
||||
process/channel_remap/blue=2
|
||||
process/channel_remap/alpha=3
|
||||
process/fix_alpha_border=true
|
||||
process/premult_alpha=false
|
||||
process/normal_map_invert_y=false
|
||||
process/hdr_as_srgb=false
|
||||
process/hdr_clamp_exposure=false
|
||||
process/size_limit=0
|
||||
detect_3d/compress_to=1
|
||||
svg/scale=1.0
|
||||
editor/scale_with_editor_scale=false
|
||||
editor/convert_colors_with_editor_theme=false
|
||||
134
placeholder_tiles.tres
Executable file
134
placeholder_tiles.tres
Executable file
|
|
@ -0,0 +1,134 @@
|
|||
[gd_resource type="TileSet" format=3 uid="uid://c71vj3j56pjl6"]
|
||||
|
||||
[ext_resource type="Texture2D" uid="uid://beukxtvkfepxb" path="res://Assets/platformPack_tilesheet.png" id="1_dv67v"]
|
||||
|
||||
[sub_resource type="TileSetAtlasSource" id="TileSetAtlasSource_00vsl"]
|
||||
texture = ExtResource("1_dv67v")
|
||||
texture_region_size = Vector2i(32, 32)
|
||||
0:0/0 = 0
|
||||
0:0/0/physics_layer_0/polygon_0/points = PackedVector2Array(-16, -16, 16, -16, 16, 16, -16, 16)
|
||||
1:0/0 = 0
|
||||
1:0/0/physics_layer_0/polygon_0/points = PackedVector2Array(-16, -16, 16, -16, 16, 16, -16, 16)
|
||||
2:0/0 = 0
|
||||
2:0/0/physics_layer_0/polygon_0/points = PackedVector2Array(-16, -16, 16, -16, 16, 16, -16, 16)
|
||||
3:0/0 = 0
|
||||
3:0/0/physics_layer_0/polygon_0/points = PackedVector2Array(-16, -16, 16, -16, 16, 16, -16, 16)
|
||||
4:0/0 = 0
|
||||
4:0/0/physics_layer_0/polygon_0/points = PackedVector2Array(-16, -16, 16, -16, 16, 16, -16, 16)
|
||||
5:0/0 = 0
|
||||
5:0/0/physics_layer_0/polygon_0/points = PackedVector2Array(-16, -16, 16, -16, 16, 16, -16, 16)
|
||||
6:0/0 = 0
|
||||
6:0/0/physics_layer_0/polygon_0/points = PackedVector2Array(-16, -16, 16, -16, 16, 16, -16, 16)
|
||||
7:0/0 = 0
|
||||
7:0/0/physics_layer_0/polygon_0/points = PackedVector2Array(-16, -16, 16, -16, 16, 16, -16, 16)
|
||||
8:0/0 = 0
|
||||
9:0/0 = 0
|
||||
10:0/0 = 0
|
||||
11:0/0 = 0
|
||||
12:0/0 = 0
|
||||
13:0/0 = 0
|
||||
0:1/0 = 0
|
||||
0:1/0/physics_layer_0/polygon_0/points = PackedVector2Array(-16, -16, 16, -16, 16, 16, -16, 16)
|
||||
1:1/0 = 0
|
||||
1:1/0/physics_layer_0/polygon_0/points = PackedVector2Array(-16, -16, 16, -16, 16, 16, -16, 16)
|
||||
2:1/0 = 0
|
||||
2:1/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8)
|
||||
3:1/0 = 0
|
||||
3:1/0/physics_layer_0/polygon_0/points = PackedVector2Array(-16, -16, 16, -16, 16, 16, -16, 16)
|
||||
4:1/0 = 0
|
||||
4:1/0/physics_layer_0/polygon_0/points = PackedVector2Array(-16, -16, 16, -16, 16, 16, -16, 16)
|
||||
5:1/0 = 0
|
||||
5:1/0/physics_layer_0/polygon_0/points = PackedVector2Array(-16, -16, 16, -16, 16, 16, -16, 16)
|
||||
6:1/0 = 0
|
||||
6:1/0/physics_layer_0/polygon_0/points = PackedVector2Array(-16, -16, 16, -16, 16, 16, -16, 16)
|
||||
7:1/0 = 0
|
||||
7:1/0/physics_layer_0/polygon_0/points = PackedVector2Array(-16, -16, 16, -16, 16, 16, -16, 16)
|
||||
8:1/0 = 0
|
||||
9:1/0 = 0
|
||||
10:1/0 = 0
|
||||
11:1/0 = 0
|
||||
12:1/0 = 0
|
||||
13:1/0 = 0
|
||||
0:2/0 = 0
|
||||
1:2/0 = 0
|
||||
2:2/0 = 0
|
||||
3:2/0 = 0
|
||||
3:2/0/physics_layer_0/polygon_0/points = PackedVector2Array(-16, -16, 16, -16, 16, 16, -16, 16)
|
||||
4:2/0 = 0
|
||||
4:2/0/physics_layer_0/polygon_0/points = PackedVector2Array(-16, -16, 16, -16, 16, 16, -16, 16)
|
||||
5:2/0 = 0
|
||||
6:2/0 = 0
|
||||
7:2/0 = 0
|
||||
8:2/0 = 0
|
||||
9:2/0 = 0
|
||||
10:2/0 = 0
|
||||
11:2/0 = 0
|
||||
12:2/0 = 0
|
||||
13:2/0 = 0
|
||||
0:3/0 = 0
|
||||
1:3/0 = 0
|
||||
2:3/0 = 0
|
||||
3:3/0 = 0
|
||||
3:3/0/physics_layer_0/polygon_0/points = PackedVector2Array(-16, -16, 16, -16, 16, 16, -16, 16)
|
||||
4:3/0 = 0
|
||||
4:3/0/physics_layer_0/polygon_0/points = PackedVector2Array(-16, -16, 16, -16, 16, 16, -16, 16)
|
||||
5:3/0 = 0
|
||||
6:3/0 = 0
|
||||
7:3/0 = 0
|
||||
8:3/0 = 0
|
||||
9:3/0 = 0
|
||||
10:3/0 = 0
|
||||
11:3/0 = 0
|
||||
12:3/0 = 0
|
||||
13:3/0 = 0
|
||||
0:4/0 = 0
|
||||
1:4/0 = 0
|
||||
2:4/0 = 0
|
||||
3:4/0 = 0
|
||||
3:4/0/physics_layer_0/polygon_0/points = PackedVector2Array(-16, -16, 16, -16, 16, 16, -16, 16)
|
||||
4:4/0 = 0
|
||||
4:4/0/physics_layer_0/polygon_0/points = PackedVector2Array(-16, -16, 16, -16, 16, 16, -16, 16)
|
||||
5:4/0 = 0
|
||||
6:4/0 = 0
|
||||
7:4/0 = 0
|
||||
8:4/0 = 0
|
||||
9:4/0 = 0
|
||||
10:4/0 = 0
|
||||
11:4/0 = 0
|
||||
12:4/0 = 0
|
||||
13:4/0 = 0
|
||||
0:5/0 = 0
|
||||
1:5/0 = 0
|
||||
2:5/0 = 0
|
||||
3:5/0 = 0
|
||||
3:5/0/physics_layer_0/polygon_0/points = PackedVector2Array(-16, -16, 16, -16, 16, 16, -16, 16)
|
||||
4:5/0 = 0
|
||||
4:5/0/physics_layer_0/polygon_0/points = PackedVector2Array(-16, -16, 16, -16, 16, 16, -16, 16)
|
||||
5:5/0 = 0
|
||||
6:5/0 = 0
|
||||
7:5/0 = 0
|
||||
8:5/0 = 0
|
||||
9:5/0 = 0
|
||||
10:5/0 = 0
|
||||
11:5/0 = 0
|
||||
12:5/0 = 0
|
||||
13:5/0 = 0
|
||||
0:6/0 = 0
|
||||
1:6/0 = 0
|
||||
2:6/0 = 0
|
||||
3:6/0 = 0
|
||||
4:6/0 = 0
|
||||
5:6/0 = 0
|
||||
6:6/0 = 0
|
||||
7:6/0 = 0
|
||||
8:6/0 = 0
|
||||
9:6/0 = 0
|
||||
10:6/0 = 0
|
||||
11:6/0 = 0
|
||||
12:6/0 = 0
|
||||
13:6/0 = 0
|
||||
|
||||
[resource]
|
||||
tile_size = Vector2i(32, 32)
|
||||
physics_layer_0/collision_layer = 1
|
||||
sources/0 = SubResource("TileSetAtlasSource_00vsl")
|
||||
70
project.godot
Executable file
70
project.godot
Executable file
|
|
@ -0,0 +1,70 @@
|
|||
; Engine configuration file.
|
||||
; It's best edited using the editor UI and not directly,
|
||||
; since the parameters that go here are not all obvious.
|
||||
;
|
||||
; Format:
|
||||
; [section] ; section goes between []
|
||||
; param=value ; assign values to parameters
|
||||
|
||||
config_version=5
|
||||
|
||||
[application]
|
||||
|
||||
config/name="slime-platformer"
|
||||
run/main_scene="uid://co1lfi5fpj54e"
|
||||
config/features=PackedStringArray("4.7", "GL Compatibility")
|
||||
config/icon="res://icon.svg"
|
||||
|
||||
[display]
|
||||
|
||||
window/size/viewport_width=640
|
||||
window/size/viewport_height=480
|
||||
window/stretch/mode="viewport"
|
||||
window/stretch/aspect="expand"
|
||||
|
||||
[dotnet]
|
||||
|
||||
project/assembly_name="Classic90sPlatformer"
|
||||
|
||||
[input]
|
||||
|
||||
moveLeft={
|
||||
"deadzone": 0.2,
|
||||
"events": [Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":-1,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":0,"physical_keycode":4194319,"key_label":0,"unicode":0,"location":0,"echo":false,"script":null)
|
||||
, Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":-1,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":0,"physical_keycode":65,"key_label":0,"unicode":97,"location":0,"echo":false,"script":null)
|
||||
]
|
||||
}
|
||||
moveRight={
|
||||
"deadzone": 0.2,
|
||||
"events": [Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":-1,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":0,"physical_keycode":4194321,"key_label":0,"unicode":0,"location":0,"echo":false,"script":null)
|
||||
, Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":-1,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":0,"physical_keycode":68,"key_label":0,"unicode":100,"location":0,"echo":false,"script":null)
|
||||
]
|
||||
}
|
||||
jump={
|
||||
"deadzone": 0.2,
|
||||
"events": [Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":-1,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":0,"physical_keycode":32,"key_label":0,"unicode":32,"location":0,"echo":false,"script":null)
|
||||
]
|
||||
}
|
||||
moveUp={
|
||||
"deadzone": 0.2,
|
||||
"events": [Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":-1,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":0,"physical_keycode":4194320,"key_label":0,"unicode":0,"location":0,"echo":false,"script":null)
|
||||
, Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":-1,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":0,"physical_keycode":87,"key_label":0,"unicode":119,"location":0,"echo":false,"script":null)
|
||||
]
|
||||
}
|
||||
moveDown={
|
||||
"deadzone": 0.2,
|
||||
"events": [Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":-1,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":0,"physical_keycode":4194322,"key_label":0,"unicode":0,"location":0,"echo":false,"script":null)
|
||||
, Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":-1,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":0,"physical_keycode":83,"key_label":0,"unicode":115,"location":0,"echo":false,"script":null)
|
||||
]
|
||||
}
|
||||
|
||||
[physics]
|
||||
|
||||
3d/physics_engine="Jolt Physics"
|
||||
|
||||
[rendering]
|
||||
|
||||
textures/canvas_textures/default_texture_filter=0
|
||||
rendering_device/driver.windows="d3d12"
|
||||
renderer/rendering_method="gl_compatibility"
|
||||
renderer/rendering_method.mobile="gl_compatibility"
|
||||
Loading…
Reference in a new issue