pandemonium_demo_projects/voxelman/the_tower_gles3/levels/Level0.gd

7 lines
146 B
GDScript

extends VoxelWorldBlocky
func _unhandled_key_input(event : InputEventKey) -> void:
if event.scancode == KEY_ENTER:
get_parent().next_level()