platformer-game-test/src/Intro/Intro.gd
Sagi Dayan 08cf3e1462 Player movement tweaks and a Goblin
- Player now has an attack move
 - Player wall jump more refined
 - New Enemy superclass for patrol type enemies
 - Goblin enemy.
 - Player abilty toggles. Can turn on/off wall_jump/attack/dash [WIP]
2020-09-26 23:18:34 -04:00

16 lines
303 B
GDScript

extends Node2D
export var next_scene:PackedScene
func _ready() -> void:
$SplashVoice.seek(1.5)
func load_next_scene():
# var next_scene = load("res://src/Levels/LevelTemplate/LevelTemplate.tscn")
get_tree().change_scene_to(next_scene)
queue_free()
func stop_splash_voice():
$SplashVoice.stop()