Resized enemy
This commit is contained in:
parent
c972765b32
commit
463f1c5cda
2
HUD.tscn
2
HUD.tscn
@ -149,7 +149,7 @@ margin_right = 1062.0
|
|||||||
margin_bottom = 653.0
|
margin_bottom = 653.0
|
||||||
text = "Quit Game"
|
text = "Quit Game"
|
||||||
|
|
||||||
[node name="MenuMusic" type="AudioStreamPlayer" parent="."]
|
[node name="MenuMusic" type="AudioStreamPlayer" parent="MenuLayer/Start"]
|
||||||
|
|
||||||
[connection signal="pressed" from="MenuLayer/Start/New Game" to="MenuLayer/Start" method="_on_New_Game_pressed"]
|
[connection signal="pressed" from="MenuLayer/Start/New Game" to="MenuLayer/Start" method="_on_New_Game_pressed"]
|
||||||
[connection signal="pressed" from="MenuLayer/Start/Quit to Desktop" to="MenuLayer/Start" method="_on_Quit_to_Desktop_Button_pressed"]
|
[connection signal="pressed" from="MenuLayer/Start/Quit to Desktop" to="MenuLayer/Start" method="_on_Quit_to_Desktop_Button_pressed"]
|
||||||
|
@ -9,12 +9,13 @@
|
|||||||
[node name="Enemy" type="KinematicBody"]
|
[node name="Enemy" type="KinematicBody"]
|
||||||
|
|
||||||
[node name="MeshInstance" type="MeshInstance" parent="."]
|
[node name="MeshInstance" type="MeshInstance" parent="."]
|
||||||
|
transform = Transform( 0.6, 0, 0, 0, 0.6, 0, 0, 0, 0.6, 0, 0, 0 )
|
||||||
mesh = ExtResource( 1 )
|
mesh = ExtResource( 1 )
|
||||||
|
|
||||||
[node name="BodyCollision" type="CollisionShape" parent="."]
|
[node name="BodyCollision" type="CollisionShape" parent="."]
|
||||||
transform = Transform( 0.914478, 0, 0, 0, 1.50713, 0, 0, 0, 0.383312, 0, 0.642072, 0 )
|
transform = Transform( 0.914478, 0, 0, 0, 1.50713, 0, 0, 0, 0.383312, 0, -0.479353, 0 )
|
||||||
shape = SubResource( 1 )
|
shape = SubResource( 1 )
|
||||||
|
|
||||||
[node name="Head" type="CollisionShape" parent="."]
|
[node name="Head" type="CollisionShape" parent="."]
|
||||||
transform = Transform( 0.761117, 0, 0, 0, 1.04862, 0, 0, 0, 0.761117, 0, 3.5714, 0 )
|
transform = Transform( 0.528959, 0, 0, 0, 0.728767, 0, 0, 0, 0.528959, 0, 1.87623, 0 )
|
||||||
shape = SubResource( 2 )
|
shape = SubResource( 2 )
|
||||||
|
4
Start.gd
4
Start.gd
@ -7,7 +7,7 @@ onready var QuitDesktop = $"Quit to Desktop"
|
|||||||
onready var Music = $"MenuMusic"
|
onready var Music = $"MenuMusic"
|
||||||
|
|
||||||
func _ready():
|
func _ready():
|
||||||
#Music.play()
|
Music.play()
|
||||||
self.show()
|
self.show()
|
||||||
get_tree().paused = true
|
get_tree().paused = true
|
||||||
QuitGame.hide()
|
QuitGame.hide()
|
||||||
@ -23,7 +23,7 @@ func _on_New_Game_pressed():
|
|||||||
Input.set_mouse_mode(Input.MOUSE_MODE_CAPTURED)
|
Input.set_mouse_mode(Input.MOUSE_MODE_CAPTURED)
|
||||||
get_tree().paused = false
|
get_tree().paused = false
|
||||||
ingame = true
|
ingame = true
|
||||||
#Music.stop()
|
Music.stop()
|
||||||
|
|
||||||
func openMenu():
|
func openMenu():
|
||||||
if (ingame):
|
if (ingame):
|
||||||
|
@ -1,9 +1,10 @@
|
|||||||
[gd_scene load_steps=7 format=2]
|
[gd_scene load_steps=8 format=2]
|
||||||
|
|
||||||
[ext_resource path="res://Materials/Dark_ProtoMat.tres" type="Material" id=1]
|
[ext_resource path="res://Materials/Dark_ProtoMat.tres" type="Material" id=1]
|
||||||
[ext_resource path="res://Player.tscn" type="PackedScene" id=2]
|
[ext_resource path="res://Player.tscn" type="PackedScene" id=2]
|
||||||
[ext_resource path="res://Materials/Orange_ProtoMat.tres" type="Material" id=3]
|
[ext_resource path="res://Materials/Orange_ProtoMat.tres" type="Material" id=3]
|
||||||
[ext_resource path="res://AllSkyFree_Skyboxes/Epic_BlueSunset_EquiRect_flat.png" type="Texture" id=4]
|
[ext_resource path="res://AllSkyFree_Skyboxes/Epic_BlueSunset_EquiRect_flat.png" type="Texture" id=4]
|
||||||
|
[ext_resource path="res://Scenes/Enemy.tscn" type="PackedScene" id=5]
|
||||||
|
|
||||||
[sub_resource type="PanoramaSky" id=1]
|
[sub_resource type="PanoramaSky" id=1]
|
||||||
panorama = ExtResource( 4 )
|
panorama = ExtResource( 4 )
|
||||||
@ -65,3 +66,6 @@ transform = Transform( 1, 0, 0, 0, 0.849579, 0.527461, 0, -0.527461, 0.849579, 0
|
|||||||
light_color = Color( 1, 0.924276, 0.869018, 1 )
|
light_color = Color( 1, 0.924276, 0.869018, 1 )
|
||||||
light_specular = 1.0
|
light_specular = 1.0
|
||||||
shadow_enabled = true
|
shadow_enabled = true
|
||||||
|
|
||||||
|
[node name="Enemy" parent="." instance=ExtResource( 5 )]
|
||||||
|
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -0.367474, 2.61222, -26.0531 )
|
||||||
|
Loading…
Reference in New Issue
Block a user