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
close_menu()client
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.
Paint(w, h)client
Draws the shrinking logo on a black background and the expanding circle effect, and fades everything out once the panel is closing.
start_animation()client
Starts the circle animation after a short delay.
Methods
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.
Parameters
- w Number panel width
- h Number panel height
Starts the circle animation after a short delay.