mirror of
https://github.com/flame-engine/flame.git
synced 2025-10-30 08:27:36 +08:00
Rename isHud to respectCamera (#1159)
* Camera as an internal component * Correct respectCamera * Added changelog entry * Add super call that will later be removed * Rename callRender -> callOwnRender * Don't call render when root * Remove callOwnRender * Skip CameraWrapper in own renderTree * Too complex to have camera as component * Revert test * Update docs for respectCamera * Move down field * Fix changelog
This commit is contained in:
@ -163,11 +163,11 @@ class JoystickAdvancedExample extends FlameGame
|
||||
speedText = TextComponent(
|
||||
text: 'Speed: 0',
|
||||
textRenderer: _regular,
|
||||
)..isHud = true;
|
||||
)..respectCamera = false;
|
||||
directionText = TextComponent(
|
||||
text: 'Direction: idle',
|
||||
textRenderer: _regular,
|
||||
)..isHud = true;
|
||||
)..respectCamera = false;
|
||||
|
||||
final speedWithMargin = HudMarginComponent(
|
||||
margin: const EdgeInsets.only(
|
||||
|
||||
Reference in New Issue
Block a user