CCIMXDesktop
 
Loading...
Searching...
No Matches
setting_scene.h File Reference

Defines constants and settings related to the game scene and its behavior. More...

#include "core/DifficultyType.h"
#include "settings_common.h"

Go to the source code of this file.

Typedefs

using Settings::Scene::DifficultyType = Difficulty
 

Variables

constexpr int Settings::Scene::BackGround::RandomLine::groundY = 100
 groundY is the base Y coordinate for background lines.
 
constexpr int Settings::Scene::BackGround::RandomLine::minLineLength = 4
 minLineLength specifies the minimum length of background line segments.
 
constexpr int Settings::Scene::BackGround::RandomLine::maxLineLength = 20
 maxLineLength specifies the maximum length of background line segments.
 
constexpr float Settings::Scene::BackGround::RandomLine::phaseMax = 6.28f
 phaseMax is the upper bound of phase values (usually 2π).
 
constexpr float Settings::Scene::BackGround::RandomLine::oscillationAmplitude = 2.5f
 oscillationAmplitude defines the vertical wave amplitude for lines.
 
constexpr float Settings::Scene::BackGround::RandomLine::timeFrequency = 4.0f
 timeFrequency defines how fast the wave oscillates.
 
constexpr int Settings::Scene::BackGround::RandomLine::yOffsetMin = groundY + 1
 yOffsetMin defines the minimum Y coordinate for drawing line peaks.
 

Detailed Description

Defines constants and settings related to the game scene and its behavior.