summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--docs/index.apple-touch-icon.png.import40
-rw-r--r--docs/index.html2
-rw-r--r--docs/index.icon.png.import40
-rw-r--r--docs/index.pckbin711064 -> 735688 bytes
-rw-r--r--docs/index.png.import40
-rw-r--r--player.tscn3
-rw-r--r--root.tscn29
7 files changed, 149 insertions, 5 deletions
diff --git a/docs/index.apple-touch-icon.png.import b/docs/index.apple-touch-icon.png.import
new file mode 100644
index 0000000..6b23b13
--- /dev/null
+++ b/docs/index.apple-touch-icon.png.import
@@ -0,0 +1,40 @@
+[remap]
+
+importer="texture"
+type="CompressedTexture2D"
+uid="uid://b2sxye3iw8t2g"
+path="res://.godot/imported/index.apple-touch-icon.png-b21a756d869f84af832970a74d8371bc.ctex"
+metadata={
+"vram_texture": false
+}
+
+[deps]
+
+source_file="res://docs/index.apple-touch-icon.png"
+dest_files=["res://.godot/imported/index.apple-touch-icon.png-b21a756d869f84af832970a74d8371bc.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
diff --git a/docs/index.html b/docs/index.html
index b119bc4..1dc3e18 100644
--- a/docs/index.html
+++ b/docs/index.html
@@ -111,7 +111,7 @@ body {
<script src="index.js"></script>
<script>
-const GODOT_CONFIG = {"args":[],"canvasResizePolicy":2,"emscriptenPoolSize":8,"ensureCrossOriginIsolationHeaders":true,"executable":"index","experimentalVK":false,"fileSizes":{"index.pck":711064,"index.wasm":38034280},"focusCanvas":true,"gdextensionLibs":[],"godotPoolSize":4};
+const GODOT_CONFIG = {"args":[],"canvasResizePolicy":2,"emscriptenPoolSize":8,"ensureCrossOriginIsolationHeaders":true,"executable":"index","experimentalVK":false,"fileSizes":{"index.pck":735688,"index.wasm":38034280},"focusCanvas":true,"gdextensionLibs":[],"godotPoolSize":4};
const GODOT_THREADS_ENABLED = false;
const engine = new Engine(GODOT_CONFIG);
diff --git a/docs/index.icon.png.import b/docs/index.icon.png.import
new file mode 100644
index 0000000..cd27499
--- /dev/null
+++ b/docs/index.icon.png.import
@@ -0,0 +1,40 @@
+[remap]
+
+importer="texture"
+type="CompressedTexture2D"
+uid="uid://cfqocclr5wwg3"
+path="res://.godot/imported/index.icon.png-b92c9a802ad4b78e247784454a6b506f.ctex"
+metadata={
+"vram_texture": false
+}
+
+[deps]
+
+source_file="res://docs/index.icon.png"
+dest_files=["res://.godot/imported/index.icon.png-b92c9a802ad4b78e247784454a6b506f.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
diff --git a/docs/index.pck b/docs/index.pck
index 4de0f1c..ef6aae0 100644
--- a/docs/index.pck
+++ b/docs/index.pck
Binary files differ
diff --git a/docs/index.png.import b/docs/index.png.import
new file mode 100644
index 0000000..27b65be
--- /dev/null
+++ b/docs/index.png.import
@@ -0,0 +1,40 @@
+[remap]
+
+importer="texture"
+type="CompressedTexture2D"
+uid="uid://s217gc6fu5ta"
+path="res://.godot/imported/index.png-0c78d14d192abe5f22f8c25928ca1ab8.ctex"
+metadata={
+"vram_texture": false
+}
+
+[deps]
+
+source_file="res://docs/index.png"
+dest_files=["res://.godot/imported/index.png-0c78d14d192abe5f22f8c25928ca1ab8.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
diff --git a/player.tscn b/player.tscn
index dd13ee8..077ceb8 100644
--- a/player.tscn
+++ b/player.tscn
@@ -110,9 +110,6 @@ sprite_frames = SubResource("SpriteFrames_rj586")
animation = &"idle"
autoplay = "idle"
-[node name="Camera2D" type="Camera2D" parent="."]
-position = Vector2(0, -15)
-
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
position = Vector2(0, 3)
shape = SubResource("RectangleShape2D_onrkg")
diff --git a/root.tscn b/root.tscn
index 385acb2..8dccb0c 100644
--- a/root.tscn
+++ b/root.tscn
@@ -1,4 +1,4 @@
-[gd_scene load_steps=5 format=4 uid="uid://cey3jxnpmommt"]
+[gd_scene load_steps=7 format=4 uid="uid://cey3jxnpmommt"]
[ext_resource type="Texture2D" uid="uid://o0yy2jkyp0dy" path="res://assets/kenney_1-bit-platformer-pack/Tilemap/monochrome_tilemap_transparent_packed.png" id="1_pyidc"]
[ext_resource type="PackedScene" uid="uid://coxnsharboouu" path="res://player.tscn" id="2_vvh5c"]
@@ -415,6 +415,12 @@ texture = ExtResource("1_pyidc")
physics_layer_0/collision_layer = 1
sources/1 = SubResource("TileSetAtlasSource_0e48y")
+[sub_resource type="Gradient" id="Gradient_pyidc"]
+colors = PackedColorArray(0, 0.9882353, 0, 1, 0, 0.9882353, 0, 1)
+
+[sub_resource type="GradientTexture1D" id="GradientTexture1D_vvh5c"]
+gradient = SubResource("Gradient_pyidc")
+
[node name="Root" type="Node2D"]
[node name="TileMapLayer" type="TileMapLayer" parent="."]
@@ -426,3 +432,24 @@ position = Vector2(74, 60)
collision_layer = 2
speed = 70.0
jump_strength = 320.0
+
+[node name="Camera2D" type="Camera2D" parent="Player"]
+position = Vector2(0, -15)
+
+[node name="TouchScreenButtonRight" type="TouchScreenButton" parent="Player/Camera2D"]
+position = Vector2(-64, 33)
+scale = Vector2(0.046874996, 11)
+texture_normal = SubResource("GradientTexture1D_vvh5c")
+action = "move_right"
+
+[node name="TouchScreenButtonJump" type="TouchScreenButton" parent="Player/Camera2D"]
+position = Vector2(72, 34)
+scale = Vector2(0.046874996, 11)
+texture_normal = SubResource("GradientTexture1D_vvh5c")
+action = "jump"
+
+[node name="TouchScreenButtonLeft" type="TouchScreenButton" parent="Player/Camera2D"]
+position = Vector2(-84, 33)
+scale = Vector2(0.046874996, 11)
+texture_normal = SubResource("GradientTexture1D_vvh5c")
+action = "move_left"