AudioAsset
Ease
FastString
FontAsset
NineSlice
PackedSprite
PackedSpriteID
RB
   HardwareSettings
   IRetroBlitGame
RBAsset
Rect2i
ShaderAsset
SoundReference
SpriteGrid
SpriteSheetAsset
TMXMapAsset
   TMXLayer
   TMXLayerLoadState
   TMXObject
   TMXObjectGroup
   TMXProperties
Vector2i

RB.FLIP_H

Variable  -  Const

Type

const int

Description

Indicates that a sprite should be flipped horizontally when rendered with RB.DrawSprite or RB.DrawCopy.

This flag can be combined with RB.FLIP_V and/or RB.ROT_90_CW.

Example

void Render(Vector2i pos)
{
    RB.DrawSprite("hero_idle", pos, RB.FLIP_H);
}

See Also

RB.DrawSprite
RB.DrawCopy
RB.FLIP_V
RB.ROT_90_CW
RB.ROT_90_CCW
RB.ROT_180_CW
RB.ROT_180_CCW
RB.ROT_270_CW
RB.ROT_270_CCW

See Docs

Features - Drawing