ewwww destroy that fucking tonguegit statusgit status!
This commit is contained in:
parent
5748d7dcf8
commit
eaa9490636
2 changed files with 34 additions and 1 deletions
|
@ -1,4 +1,4 @@
|
|||
[gd_scene load_steps=35 format=2]
|
||||
[gd_scene load_steps=38 format=2]
|
||||
|
||||
[ext_resource path="res://objects/player/player.tscn" type="PackedScene" id=1]
|
||||
[ext_resource path="res://tilesets/t_cave.tres" type="TileSet" id=2]
|
||||
|
@ -32,6 +32,8 @@
|
|||
[ext_resource path="res://objects/lore/mountain/rolling_fiend.tscn" type="PackedScene" id=30]
|
||||
[ext_resource path="res://scripts/randomize_particle_start.gd" type="Script" id=31]
|
||||
[ext_resource path="res://graphics/particles/shine.png" type="Texture" id=32]
|
||||
[ext_resource path="res://objects/npc/speccy.tscn" type="PackedScene" id=33]
|
||||
[ext_resource path="res://maps/cave_speccy_detector.gd" type="Script" id=34]
|
||||
|
||||
[sub_resource type="Curve" id=2]
|
||||
_data = [ Vector2( 0, 0 ), 0.0, 0.100639, 0, 0, Vector2( 0.158257, 1 ), 7.51724, -6.83592, 0, 0, Vector2( 0.31422, 0 ), 0.0, 0.0, 0, 0 ]
|
||||
|
@ -39,6 +41,9 @@ _data = [ Vector2( 0, 0 ), 0.0, 0.100639, 0, 0, Vector2( 0.158257, 1 ), 7.51724,
|
|||
[sub_resource type="RectangleShape2D" id=1]
|
||||
extents = Vector2( 4, 96 )
|
||||
|
||||
[sub_resource type="RectangleShape2D" id=3]
|
||||
extents = Vector2( 20, 20 )
|
||||
|
||||
[node name="Map2" type="Node2D" groups=["map"]]
|
||||
pause_mode = 1
|
||||
script = ExtResource( 11 )
|
||||
|
@ -1152,3 +1157,21 @@ __meta__ = {
|
|||
[node name="Exit" parent="." instance=ExtResource( 24 )]
|
||||
position = Vector2( 656, 100 )
|
||||
cost = 25
|
||||
|
||||
[node name="SpeccyArea" type="Area2D" parent="."]
|
||||
position = Vector2( 536, 176 )
|
||||
collision_layer = 0
|
||||
collision_mask = 128
|
||||
monitorable = false
|
||||
script = ExtResource( 34 )
|
||||
|
||||
[node name="CollisionShape2D" type="CollisionShape2D" parent="SpeccyArea"]
|
||||
position = Vector2( 4, -20 )
|
||||
shape = SubResource( 3 )
|
||||
|
||||
[node name="Speccy" parent="SpeccyArea" instance=ExtResource( 33 )]
|
||||
position = Vector2( 64, -56 )
|
||||
flip = true
|
||||
message = "shoot_that_thing"
|
||||
|
||||
[connection signal="body_entered" from="SpeccyArea" to="SpeccyArea" method="_on_body_entered"]
|
||||
|
|
10
maps/cave_speccy_detector.gd
Normal file
10
maps/cave_speccy_detector.gd
Normal file
|
@ -0,0 +1,10 @@
|
|||
extends Area2D
|
||||
|
||||
|
||||
var speccy_urgent_warning: bool = true
|
||||
|
||||
|
||||
func _on_body_entered(body: Node) -> void:
|
||||
if speccy_urgent_warning:
|
||||
$Speccy.appear()
|
||||
speccy_urgent_warning = false
|
Loading…
Add table
Add a link
Reference in a new issue