Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Newcomers AppGameKit Corner / [SOLVED] Move character in left side

Author
Message
Humildadever
13
Years of Service
User Offline
Joined: 17th Aug 2010
Location:
Posted: 18th Oct 2018 17:20 Edited at: 18th Oct 2018 17:20
This post has been marked by the post author as the answer.
How i can use the same image inverted for character go left and right in platform game for exemple in mario game?

The author of this post has marked a post as an answer.

Go to answer

smallg
Valued Member
18
Years of Service
User Offline
Joined: 8th Dec 2005
Location: steam
Posted: 18th Oct 2018 18:54
SetSpriteFlip(id,x,y)
so if your character sprite is facing right by default, x = 0 is right and x = 1 is left
life's one big game
spec= 4ghz, 16gb ram, AMD R9 2700 gpu
Humildadever
13
Years of Service
User Offline
Joined: 17th Aug 2010
Location:
Posted: 18th Oct 2018 20:42
Thanks!

Login to post a reply

Server time is: 2024-03-29 13:20:13
Your offset time is: 2024-03-29 13:20:13