Added tip to skip intro, on-screen joystick on every map
This commit is contained in:
parent
fe6bb20428
commit
800e23ad3e
6 changed files with 28 additions and 4 deletions
|
@ -1,4 +1,4 @@
|
|||
[gd_scene load_steps=17 format=3 uid="uid://cnmdiewpk1mau"]
|
||||
[gd_scene load_steps=18 format=3 uid="uid://cnmdiewpk1mau"]
|
||||
|
||||
[ext_resource type="Script" path="res://scripts/maps/forrest.gd" id="1_dns8p"]
|
||||
[ext_resource type="PackedScene" uid="uid://ytbacsuahxie" path="res://scenes/HUD.tscn" id="2_e77cs"]
|
||||
|
@ -11,6 +11,7 @@
|
|||
[ext_resource type="PackedScene" uid="uid://c2f2to78vgbix" path="res://scenes/waterplane.tscn" id="10_dc7ae"]
|
||||
[ext_resource type="PackedScene" uid="uid://on7ofumfw2j1" path="res://objects/tree/tree.tscn" id="10_v8vtj"]
|
||||
[ext_resource type="PackedScene" uid="uid://dytp1teb22c8o" path="res://scenes/death_collider.tscn" id="11_8iuo5"]
|
||||
[ext_resource type="PackedScene" uid="uid://buyvavyuwmccw" path="res://joystick/virtual_joystick.tscn" id="12_8v533"]
|
||||
|
||||
[sub_resource type="ProceduralSkyMaterial" id="ProceduralSkyMaterial_ell6n"]
|
||||
sky_top_color = Color(0.870588, 0.894118, 0.92549, 1)
|
||||
|
@ -225,3 +226,5 @@ skeleton = NodePath("../..")
|
|||
|
||||
[node name="death_collider" parent="." instance=ExtResource("11_8iuo5")]
|
||||
transform = Transform3D(20.2687, 0, 0, 0, 6.21204, 0, 0, 0, 210.389, 2.08165e-12, -5.68668, 2.08165e-12)
|
||||
|
||||
[node name="Virtual joystick" parent="." instance=ExtResource("12_8v533")]
|
||||
|
|
|
@ -1,8 +1,9 @@
|
|||
[gd_scene load_steps=7 format=3 uid="uid://bartuuv8bwyjg"]
|
||||
[gd_scene load_steps=8 format=3 uid="uid://bartuuv8bwyjg"]
|
||||
|
||||
[ext_resource type="Script" path="res://scripts/maps/islands.gd" id="1_3oilq"]
|
||||
[ext_resource type="PackedScene" uid="uid://ytbacsuahxie" path="res://scenes/HUD.tscn" id="2_2mo4q"]
|
||||
[ext_resource type="PackedScene" uid="uid://bpbjgeak3xxxt" path="res://scenes/islands-map.tscn" id="3_neuu1"]
|
||||
[ext_resource type="PackedScene" uid="uid://buyvavyuwmccw" path="res://joystick/virtual_joystick.tscn" id="4_03mxr"]
|
||||
|
||||
[sub_resource type="ProceduralSkyMaterial" id="ProceduralSkyMaterial_c4rcj"]
|
||||
sky_top_color = Color(1, 1, 1, 1)
|
||||
|
@ -32,3 +33,5 @@ shadow_enabled = true
|
|||
|
||||
[node name="islands" parent="." instance=ExtResource("3_neuu1")]
|
||||
transform = Transform3D(2, 0, 0, 0, 2, 0, 0, 0, 2, 0, 0, 0)
|
||||
|
||||
[node name="Virtual joystick" parent="." instance=ExtResource("4_03mxr")]
|
||||
|
|
|
@ -1,8 +1,9 @@
|
|||
[gd_scene load_steps=7 format=3 uid="uid://ddy8gm0fq0dd3"]
|
||||
[gd_scene load_steps=8 format=3 uid="uid://ddy8gm0fq0dd3"]
|
||||
|
||||
[ext_resource type="Script" path="res://scripts/maps/toyfactory.gd" id="1_xebe1"]
|
||||
[ext_resource type="PackedScene" uid="uid://ytbacsuahxie" path="res://scenes/HUD.tscn" id="2_irab1"]
|
||||
[ext_resource type="PackedScene" uid="uid://i6p5x38pt23l" path="res://scenes/toyfactory-map.tscn" id="3_3k25h"]
|
||||
[ext_resource type="PackedScene" uid="uid://buyvavyuwmccw" path="res://joystick/virtual_joystick.tscn" id="4_nof1r"]
|
||||
|
||||
[sub_resource type="ProceduralSkyMaterial" id="ProceduralSkyMaterial_ell6n"]
|
||||
sky_top_color = Color(0.870588, 0.894118, 0.92549, 1)
|
||||
|
@ -33,3 +34,5 @@ shadow_enabled = true
|
|||
|
||||
[node name="Toy Factory" parent="." instance=ExtResource("3_3k25h")]
|
||||
transform = Transform3D(0.4, 0, 0, 0, 0.4, 0, 0, 0, 0.4, -7.35396, 2.08165e-12, -21.6813)
|
||||
|
||||
[node name="Virtual joystick" parent="." instance=ExtResource("4_nof1r")]
|
||||
|
|
|
@ -1,8 +1,9 @@
|
|||
[gd_scene load_steps=7 format=3 uid="uid://bsdst5m5kpw0j"]
|
||||
[gd_scene load_steps=8 format=3 uid="uid://bsdst5m5kpw0j"]
|
||||
|
||||
[ext_resource type="Script" path="res://scripts/maps/toyland.gd" id="1_vq5un"]
|
||||
[ext_resource type="PackedScene" uid="uid://ytbacsuahxie" path="res://scenes/HUD.tscn" id="1_w2y7j"]
|
||||
[ext_resource type="PackedScene" uid="uid://cc0y8u4kohch" path="res://scenes/toyland-map.tscn" id="3_uudje"]
|
||||
[ext_resource type="PackedScene" uid="uid://buyvavyuwmccw" path="res://joystick/virtual_joystick.tscn" id="4_2bpwn"]
|
||||
|
||||
[sub_resource type="ProceduralSkyMaterial" id="ProceduralSkyMaterial_7x31f"]
|
||||
sky_horizon_color = Color(0.64625, 0.65575, 0.67075, 1)
|
||||
|
@ -42,3 +43,5 @@ omni_range = 200.0
|
|||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -199.262, 139.001, 8.6736)
|
||||
light_energy = 100.0
|
||||
omni_range = 200.0
|
||||
|
||||
[node name="Virtual joystick" parent="." instance=ExtResource("4_2bpwn")]
|
||||
|
|
|
@ -52,3 +52,12 @@ mouse_force_pass_scroll_events = false
|
|||
stream = ExtResource("7_4deue")
|
||||
autoplay = true
|
||||
expand = true
|
||||
|
||||
[node name="skipLabel" type="Label" parent="."]
|
||||
visible = false
|
||||
offset_left = 472.0
|
||||
offset_top = 620.0
|
||||
offset_right = 682.0
|
||||
offset_bottom = 646.0
|
||||
size_flags_horizontal = 4
|
||||
text = "Press escape to skip intro..."
|
||||
|
|
|
@ -13,10 +13,13 @@ func _ready():
|
|||
func _process(delta):
|
||||
if Input.is_action_just_released("menu"):
|
||||
$VideoStreamPlayer.stop()
|
||||
$skipLabel.visible = false
|
||||
if $VideoStreamPlayer.is_playing():
|
||||
Global.playerDisable = true
|
||||
$skipLabel.visible = true
|
||||
else:
|
||||
Global.playerDisable = false
|
||||
$skipLabel.visible = false
|
||||
if Global.tutorialComplete:
|
||||
if audio_stream_player.playing == false:
|
||||
var randomnum = RandomNumberGenerator.new().randi_range(0, 6)
|
||||
|
|
Loading…
Reference in a new issue