Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

Pixelbox

Create 2D games in JavaScript, made easier · By Cedric Stoquer

How to use flip flags

A topic by dokter_apple created Apr 14, 2020 Views: 284 Replies: 2
Viewing posts 1 to 2
(2 edits)

can somebody explain how to use flipH,flipV, flipR in javascript?

(1 edit) (+1)

if you mean you want to flip the sprite in pixelbox

you can use

sprite(123,59,28, true, true, true)
123 is number of spritesheets
59 is xposition
28 is y position
first true to check flip Horizontal or not
second true to check flip vertical or not
third true to check flip rotation or not

thnx