-
Notifications
You must be signed in to change notification settings - Fork 6
camera_cloud
The camera cloud is a prompt displayed on the title screen that tells the player to look at the webcam. It animates in and hovers with a breathing effect.
CameraCloud();Retrieves four skin animations and starts them all immediately: a fade-in for the cloud sprite, a fade for alternating between two text variants, an upward move, and a looping breathing (scale) animation.
void update(double current_ms);Steps all four animations forward.
void draw();Draws three layered sprites — the cloud body and two mutually exclusive text overlays — all scaled and vertically offset together by the breathing and move animations:
-
CAMERA_CLOUD— the cloud body, drawn atfade_inopacity. -
CAMERA_CLOUD_TEXT_1— drawn atmin(fade_in, 1 - text_fade)opacity, so it is visible whentext_fadeis low. -
CAMERA_CLOUD_TEXT_2— drawn atmin(fade_in, text_fade)opacity, so it is visible whentext_fadeis high.
The text_fade animation therefore crossfades between the two text variants while both are gated behind the overall fade_in.
Building
libs
- animation
- audio
- config
- filesystem
- global_data
- input
- logging
- ray
- scores
- screen
- script
- song_parser
- text
- texture
- video
- webcam
libs/parsers
objects
objects/game
- player
- background
- gauge
- judgment
- combo
- branch_indicator
- ending_animations
- gogo_time
- fireworks
- song_info
- transition
- result_transition
- judge_counter
- score_counter
- score_counter_animation
- balloon_counter
- drumroll_counter
- kusudama_counter
- drum_hit_effect
- lane_hit_effect
- gauge_hit_effect
- combo_announce
- note_arc
objects/global
objects/title
objects/entry
objects/settings
objects/result
objects/song_select
- player
- navigator
- box_base
- box_song
- box_folder
- neiro
- modifier
- ura_switch
- diff_sort
- search_box
- dan_transition
- genre_bg
- score_history
- song_select_script
scenes