|
Air-Trap 1.0.0
A multiplayer R-Type clone game engine built with C++23 and ECS architecture
|
Tag component indicating that an entity should loop its position when it exits the screen (infinite scrolling). More...
#include <ParallaxLayer.hpp>
Public Attributes | |
| float | textureWidth = {0.0f} |
| Width of the texture used for parallax scrolling. | |
| float | speed = {100.0f} |
| Scrolling speed of the parallax layer. | |
Tag component indicating that an entity should loop its position when it exits the screen (infinite scrolling).
Definition at line 17 of file ParallaxLayer.hpp.
| float rtp::ecs::components::ParallaxLayer::speed = {100.0f} |
Scrolling speed of the parallax layer.
Definition at line 19 of file ParallaxLayer.hpp.
Referenced by rtp::client::EntityTemplate::makeParallax(), and rtp::client::ParallaxSystem::update().
| float rtp::ecs::components::ParallaxLayer::textureWidth = {0.0f} |
Width of the texture used for parallax scrolling.
Definition at line 18 of file ParallaxLayer.hpp.
Referenced by rtp::client::EntityTemplate::makeParallax(), and rtp::client::scenes::MenuScene::onEnter().