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

RB.ROT_180_CCW

Variable  -  Const

Type

const int

Description

Indicates that a sprite should be rotated 180 degrees counter-clockwise when rendered with RB.DrawSprite or RB.DrawCopy.

This is equivalent to RB.FLIP_H | RB.FLIP_V

Example

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

See Also

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

See Docs

Features - Drawing