Merge branch 'main' of https://git.nanoyagi.com/NanoYagi/JumpRopeOldTech
This commit is contained in:
commit
08ac2fdfea
8 files changed
+107
-5
No files matched your search
Binary file not shown.
|
Before Width: | Height: | Size: 367 B After Width: | Height: | Size: 454 B |
@@ -40,4 +40,4 @@ process/normal_map_invert_y=false
|
|||||||
process/hdr_as_srgb=false
|
process/hdr_as_srgb=false
|
||||||
process/hdr_clamp_exposure=false
|
process/hdr_clamp_exposure=false
|
||||||
process/size_limit=0
|
process/size_limit=0
|
||||||
detect_3d/compress_to=1
|
detect_3d/compress_to=0
|
||||||
@@ -0,0 +1,9 @@
|
|||||||
|
extends RichTextLabel
|
||||||
|
|
||||||
|
# Called when the node enters the scene tree for the first time.
|
||||||
|
func _ready() -> void:
|
||||||
|
pass # Replace with function body.
|
||||||
|
|
||||||
|
# Called every frame. 'delta' is the elapsed time since the previous frame.
|
||||||
|
func _process(delta: float) -> void:
|
||||||
|
text = "FPS: " + str(Engine.get_frames_per_second())
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
uid://bds4m5we8nwe3
|
||||||
@@ -27,6 +27,11 @@ func _process(delta: float) -> void:
|
|||||||
#velocity.x = 0
|
#velocity.x = 0
|
||||||
|
|
||||||
var direction = Input.get_axis("move_left","move_right")
|
var direction = Input.get_axis("move_left","move_right")
|
||||||
|
if direction < 0:
|
||||||
|
$Sprite2D.flip_h = true
|
||||||
|
elif direction > 0:
|
||||||
|
$Sprite2D.flip_h = false
|
||||||
|
|
||||||
if direction:
|
if direction:
|
||||||
velocity.x = direction * SPEED
|
velocity.x = direction * SPEED
|
||||||
else:
|
else:
|
||||||
|
|||||||
+1
-1
@@ -10,7 +10,7 @@ size = Vector2(16, 16)
|
|||||||
script = ExtResource("1_sy00s")
|
script = ExtResource("1_sy00s")
|
||||||
|
|
||||||
[node name="Camera2D" type="Camera2D" parent="." unique_id=962368438]
|
[node name="Camera2D" type="Camera2D" parent="." unique_id=962368438]
|
||||||
zoom = Vector2(1.2, 1.2)
|
zoom = Vector2(1.35, 1.35)
|
||||||
position_smoothing_enabled = true
|
position_smoothing_enabled = true
|
||||||
position_smoothing_speed = 0.5
|
position_smoothing_speed = 0.5
|
||||||
|
|
||||||
|
|||||||
+18
-3
@@ -3,6 +3,7 @@
|
|||||||
[ext_resource type="Script" uid="uid://boovn4st1uq41" path="res://rich_text_label.gd" id="1_036b0"]
|
[ext_resource type="Script" uid="uid://boovn4st1uq41" path="res://rich_text_label.gd" id="1_036b0"]
|
||||||
[ext_resource type="PackedScene" uid="uid://pmnwck5v0ntm" path="res://player_2d.tscn" id="1_aqk2v"]
|
[ext_resource type="PackedScene" uid="uid://pmnwck5v0ntm" path="res://player_2d.tscn" id="1_aqk2v"]
|
||||||
[ext_resource type="PackedScene" uid="uid://ckqable762x8v" path="res://block.tscn" id="2_036b0"]
|
[ext_resource type="PackedScene" uid="uid://ckqable762x8v" path="res://block.tscn" id="2_036b0"]
|
||||||
|
[ext_resource type="Script" uid="uid://bds4m5we8nwe3" path="res://fps_label.gd" id="2_dwbse"]
|
||||||
[ext_resource type="PackedScene" uid="uid://dx4pfup3sbk0f" path="res://long_block.tscn" id="3_dwbse"]
|
[ext_resource type="PackedScene" uid="uid://dx4pfup3sbk0f" path="res://long_block.tscn" id="3_dwbse"]
|
||||||
[ext_resource type="PackedScene" uid="uid://bos6oh7nwyeca" path="res://vertical_long_block.tscn" id="4_pkg7o"]
|
[ext_resource type="PackedScene" uid="uid://bos6oh7nwyeca" path="res://vertical_long_block.tscn" id="4_pkg7o"]
|
||||||
[ext_resource type="PackedScene" uid="uid://biot4cuwgohvo" path="res://longer_block.tscn" id="6_dwbse"]
|
[ext_resource type="PackedScene" uid="uid://biot4cuwgohvo" path="res://longer_block.tscn" id="6_dwbse"]
|
||||||
@@ -13,13 +14,27 @@ process_mode = 3
|
|||||||
[node name="CanvasLayer" type="CanvasLayer" parent="." unique_id=1982310971]
|
[node name="CanvasLayer" type="CanvasLayer" parent="." unique_id=1982310971]
|
||||||
|
|
||||||
[node name="RichTextLabel" type="RichTextLabel" parent="CanvasLayer" unique_id=63102975]
|
[node name="RichTextLabel" type="RichTextLabel" parent="CanvasLayer" unique_id=63102975]
|
||||||
offset_left = 5.0
|
anchors_preset = 15
|
||||||
offset_right = 130.0
|
anchor_right = 1.0
|
||||||
offset_bottom = 40.0
|
anchor_bottom = 1.0
|
||||||
|
grow_horizontal = 2
|
||||||
|
grow_vertical = 2
|
||||||
bbcode_enabled = true
|
bbcode_enabled = true
|
||||||
text = "FALL TIMER:"
|
text = "FALL TIMER:"
|
||||||
script = ExtResource("1_036b0")
|
script = ExtResource("1_036b0")
|
||||||
|
|
||||||
|
[node name="RichTextLabel2" type="RichTextLabel" parent="CanvasLayer" unique_id=1423365940]
|
||||||
|
anchors_preset = 15
|
||||||
|
anchor_right = 1.0
|
||||||
|
anchor_bottom = 1.0
|
||||||
|
offset_top = 22.0
|
||||||
|
offset_bottom = 22.0
|
||||||
|
grow_horizontal = 2
|
||||||
|
grow_vertical = 2
|
||||||
|
bbcode_enabled = true
|
||||||
|
text = "FPS:"
|
||||||
|
script = ExtResource("2_dwbse")
|
||||||
|
|
||||||
[node name="Player2D" parent="." unique_id=889851478 instance=ExtResource("1_aqk2v")]
|
[node name="Player2D" parent="." unique_id=889851478 instance=ExtResource("1_aqk2v")]
|
||||||
unique_name_in_owner = true
|
unique_name_in_owner = true
|
||||||
position = Vector2(55, 59)
|
position = Vector2(55, 59)
|
||||||
|
|||||||
+72
@@ -0,0 +1,72 @@
|
|||||||
|
[gd_scene format=3 uid="uid://3tx5gwcalhsa"]
|
||||||
|
|
||||||
|
[ext_resource type="Script" uid="uid://boovn4st1uq41" path="res://rich_text_label.gd" id="1_xdth8"]
|
||||||
|
[ext_resource type="Script" uid="uid://bds4m5we8nwe3" path="res://fps_label.gd" id="2_vef27"]
|
||||||
|
[ext_resource type="PackedScene" uid="uid://pmnwck5v0ntm" path="res://player_2d.tscn" id="3_mu6c3"]
|
||||||
|
[ext_resource type="PackedScene" uid="uid://ckqable762x8v" path="res://block.tscn" id="4_46256"]
|
||||||
|
|
||||||
|
[node name="World" type="Node2D" unique_id=1327991900]
|
||||||
|
process_mode = 3
|
||||||
|
|
||||||
|
[node name="CanvasLayer" type="CanvasLayer" parent="." unique_id=1982310971]
|
||||||
|
|
||||||
|
[node name="RichTextLabel" type="RichTextLabel" parent="CanvasLayer" unique_id=63102975]
|
||||||
|
anchors_preset = 15
|
||||||
|
anchor_right = 1.0
|
||||||
|
anchor_bottom = 1.0
|
||||||
|
grow_horizontal = 2
|
||||||
|
grow_vertical = 2
|
||||||
|
bbcode_enabled = true
|
||||||
|
text = "FALL TIMER:"
|
||||||
|
script = ExtResource("1_xdth8")
|
||||||
|
|
||||||
|
[node name="RichTextLabel2" type="RichTextLabel" parent="CanvasLayer" unique_id=1423365940]
|
||||||
|
anchors_preset = 15
|
||||||
|
anchor_right = 1.0
|
||||||
|
anchor_bottom = 1.0
|
||||||
|
offset_top = 22.0
|
||||||
|
offset_bottom = 22.0
|
||||||
|
grow_horizontal = 2
|
||||||
|
grow_vertical = 2
|
||||||
|
bbcode_enabled = true
|
||||||
|
text = "FPS:"
|
||||||
|
script = ExtResource("2_vef27")
|
||||||
|
|
||||||
|
[node name="Player2D" parent="." unique_id=889851478 instance=ExtResource("3_mu6c3")]
|
||||||
|
unique_name_in_owner = true
|
||||||
|
position = Vector2(55, 59)
|
||||||
|
|
||||||
|
[node name="Tutorial2" type="Node2D" parent="." unique_id=1047775853]
|
||||||
|
|
||||||
|
[node name="Block" parent="Tutorial2" unique_id=1409784601 instance=ExtResource("4_46256")]
|
||||||
|
position = Vector2(55, 118)
|
||||||
|
|
||||||
|
[node name="Block8" parent="Tutorial2" unique_id=1164955425 instance=ExtResource("4_46256")]
|
||||||
|
position = Vector2(469, 47)
|
||||||
|
|
||||||
|
[node name="Block2" parent="Tutorial2" unique_id=2066354372 instance=ExtResource("4_46256")]
|
||||||
|
position = Vector2(144, 96)
|
||||||
|
|
||||||
|
[node name="Block3" parent="Tutorial2" unique_id=306075065 instance=ExtResource("4_46256")]
|
||||||
|
position = Vector2(103, 170)
|
||||||
|
|
||||||
|
[node name="Block4" parent="Tutorial2" unique_id=1774596669 instance=ExtResource("4_46256")]
|
||||||
|
position = Vector2(305, 249)
|
||||||
|
|
||||||
|
[node name="Block5" parent="Tutorial2" unique_id=338543358 instance=ExtResource("4_46256")]
|
||||||
|
position = Vector2(208, -43)
|
||||||
|
|
||||||
|
[node name="Block6" parent="Tutorial2" unique_id=1572531091 instance=ExtResource("4_46256")]
|
||||||
|
position = Vector2(208, -27)
|
||||||
|
|
||||||
|
[node name="Block7" parent="Tutorial2" unique_id=33521935 instance=ExtResource("4_46256")]
|
||||||
|
position = Vector2(378, 151)
|
||||||
|
|
||||||
|
[node name="Block9" parent="Tutorial2" unique_id=376286002 instance=ExtResource("4_46256")]
|
||||||
|
position = Vector2(637, -8)
|
||||||
|
|
||||||
|
[node name="Block10" parent="Tutorial2" unique_id=758201207 instance=ExtResource("4_46256")]
|
||||||
|
position = Vector2(816, 157)
|
||||||
|
|
||||||
|
[node name="Block11" parent="Tutorial2" unique_id=370326543 instance=ExtResource("4_46256")]
|
||||||
|
position = Vector2(1025, 94)
|
||||||
Reference in new issue
Block a user