38 lines
746 B
Lua
38 lines
746 B
Lua
local text = [[
|
|
It is a period of civil war.
|
|
Rebel spaceships, striking
|
|
from a hidden base, have won
|
|
their first victory against
|
|
the evil Galactic Empire.
|
|
|
|
During the battle, Rebel
|
|
spies managed to steal secret
|
|
plans to the Empire's
|
|
ultimate weapon, the DEATH
|
|
STAR, an armored space
|
|
station with enough power to
|
|
destroy an entire planet.
|
|
|
|
Pursued by the Empire's
|
|
sinister agents, Princess
|
|
Leia races home aboard her
|
|
starship, custodian of the
|
|
stolen plans that can save
|
|
her people and restore
|
|
freedom to the galaxy....
|
|
]]
|
|
|
|
function on_resume()
|
|
ui:show_text("Start")
|
|
end
|
|
|
|
function on_click()
|
|
local tab = {}
|
|
|
|
for i=1,text:len() do
|
|
table.insert(tab, "%%txt%%"..text:sub(1, i))
|
|
end
|
|
|
|
morph:change_text_seq(1, tab, 100)
|
|
end
|