The intro screen (fl_intro): a full screen panel that plays the logo animation for four seconds, then fades out and removes itself. The Characters plugin opens it once a player without an active character has initialized, and opens the main menu when it closes. It runs the OnIntroPanelCreated and OnIntroPanelRemoved hooks.

Summary

Methods

Starts fading the intro out, removes the panel one second later and runs the OnIntroPanelRemoved hook.
Init()client
Covers the whole screen, starts the intro animation, schedules the panel to close after 4 seconds and runs the OnIntroPanelCreated hook.
Draws the shrinking logo on a black background and the expanding circle effect, and fades everything out once the panel is closing.
Starts the circle animation after a short delay.

Methods

PANEL:close_menu()

client packages/active_ui/views/cl_intro.lua:106

Starts fading the intro out, removes the panel one second later and runs the OnIntroPanelRemoved hook.

Covers the whole screen, starts the intro animation, schedules the panel to close after 4 seconds and runs the OnIntroPanelCreated hook.

PANEL:Paint(w, h)

client packages/active_ui/views/cl_intro.lua:53

Draws the shrinking logo on a black background and the expanding circle effect, and fades everything out once the panel is closing.

Parameters

  • w Number panel width
  • h Number panel height

PANEL:start_animation()

client packages/active_ui/views/cl_intro.lua:122

Starts the circle animation after a short delay.

Defined in