Files
JumpRopeOldTech/intro.gd
T
2026-10-18 21:03:53 -05:00

31 lines
1.6 KiB
GDScript

extends Control
# Called when the node enters the scene tree for the first time.
func _ready() -> void:
$Slideshower.play_slideshow([
{ "image": "Daydreaming",
"text": "Ever since he was a wee lad, Mr. Rhombini always had one dream." },
{ "image": "Obsessing",
"text": "He would stay up all night researching. The internet was abuzz with talks of Ancient Technology." },
{ "image": "res://art/keyart_thumb.png",
"text": "When Mr. Rhombini heard of the legendary Pharaoh's jetpack, he could feel himself becoming obsessed." },
{ "image": "Journey",
"text": "Under the cover of night, Mr. Rhombini decided to sneak into the pyramid." },
{ "image": "Goatcaphagus",
"text": "Mr. Rhombini stumbled upon an unusual sarcophagus.
He notices that the antennae have been disconnected." },
{ "image": "Activate",
"text": "Mr. Rhombini excitedly connects the second antenna. He hears the Ancient Technoloy begin to hum." },
{ "image": "Nicegoat",
"text": "The sarcophagus swings open to reveal, not a dead body, but a mysterious machine.
The Ancient Technology begins to boot up, but an error message is visible on the main screen." },
{ "images": ["PossessedbyOC", "Power_source"],
"text": "Mr. Rhombini's attention is instantly grabbed by the other object inside the open sarcophagus." },
{ "image": "Glow",
"text": "The Pharaoh's jetpack! The legends were true! ( It's definitely not cursed! )
Mr. Rhombini wastes no time putting on the Pharaoh's Jetpack." }
])
func _on_slideshower_finished_playing() -> void:
get_tree().change_scene_to_file("res://world.tscn")