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.

DarkBASIC Discussion / mirroring sprite

Author
Message
Ed222
17
Years of Service
User Offline
Joined: 3rd Nov 2007
Location: Calgary
Posted: 10th Jan 2008 01:06
I need some help mirroring sprites after I mirror a sprite by pressing the right key then press the left key it remains in the mirrored position heres my code.


Windows Is better than everything
Latch
18
Years of Service
User Offline
Joined: 23rd Jul 2006
Location:
Posted: 10th Jan 2008 05:21 Edited at: 10th Jan 2008 05:23
You're on the right track. Just check the mirrored state for each case when the sprite is supposed to switch. When you hit the left key, it has to be mirrored again to switch back.



Enjoy your day.
Ed222
17
Years of Service
User Offline
Joined: 3rd Nov 2007
Location: Calgary
Posted: 10th Jan 2008 20:10
thanks

Windows Is better than everything

Login to post a reply

Server time is: 2025-06-02 10:01:19
Your offset time is: 2025-06-02 10:01:19