Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function show_prelevel_screen()
- create_screen()
- local level_parser = OpenLevel("level1")
- level_parser:parse_mission_goals()
- :next(function(mission_goals) -- async callback
- create_mission_goals_widget(mission_goals)
- end)
- create_close_button(function()
- level_parser:close()
- hide()
- end)
- create_play_button(function()
- goto_loading_screen(level_parser)
- end)
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement