forked from team-sg/hero-mark-2
add a silly cheatcode
This commit is contained in:
parent
4848dca875
commit
8e9ecc9ed2
2 changed files with 18 additions and 0 deletions
|
@ -228,3 +228,6 @@ func _enter_code():
|
|||
var player = get_tree().get_nodes_in_group("player").pop_back()
|
||||
player.sprite.material.set_shader_param("palette", load("res://graphics/player/palettes/costume_wriggle.png"))
|
||||
player.sprite.set_texture(load("res://graphics/player/costume_wriggle.png"))
|
||||
"BLOOPER":
|
||||
var silhouette = load("res://objects/hud/silhouette.tscn").instance()
|
||||
Game.get_map().add_child(silhouette)
|
||||
|
|
15
objects/hud/silhouette.tscn
Normal file
15
objects/hud/silhouette.tscn
Normal file
|
@ -0,0 +1,15 @@
|
|||
[gd_scene load_steps=2 format=2]
|
||||
|
||||
[ext_resource path="res://graphics/particles/pixel.png" type="Texture" id=1]
|
||||
|
||||
[node name="Silhouette" type="CanvasLayer"]
|
||||
layer = 0
|
||||
|
||||
[node name="Light2D" type="Light2D" parent="."]
|
||||
scale = Vector2( 256, 192 )
|
||||
texture = ExtResource( 1 )
|
||||
offset = Vector2( 0.5, 0.5 )
|
||||
color = Color( 0, 0, 0, 1 )
|
||||
mode = 2
|
||||
range_z_min = -3
|
||||
range_z_max = 50
|
Loading…
Add table
Add a link
Reference in a new issue