Idk how to make an object so if it moves left it flips to the left and move right flip to rignt
That’s perfect, yes.
I copied the code, thank you and have a nice day1
How does that work?
So if you’re only talking about the flip code, then it’s actually pretty simple (especially with the new “flipped” condition).
#1: The “when pressed rule checks when the screen is pressed.
#2: It checks to see if you’re pressing on the left or right half of the screen. (This works well for when the character moves left or right according to which side of the screen you press, like in my example.)
#3: If you are pressing on the right side of the screen, it will check if it’s flipped to the left, if so, it will flip it to the right.
If it’s already flipped to the right (not flipped) then that code will not run.
Same for the left, but opposite, it checks if it’s not flipped.
You would swap it for most emoji’s though, as most emoji’s face left, instead of the typical HS characters, which face right.
I could explain it in even more detail, but that was already a lot of typing, and I’m bad enough at explaining even simple stuff.
Lmk if you need more details though!
I’d be happy to help!
This is actually perfect for my new game Meteor Shower, this PERFECTLY matched the features i wanted in the game
I feel like its not new lol am i crazy or has it been there for a while
Hmm, it feels new to me, lol.
Oh, well I guess around a year isn’t new ;-;
oh that’s really nice, i always forget about the flipped condition
There’s also another way to do it without the flipped condition, I had to use that before the condition came out.
I could show you if you like?
Also, Idk if we’re supposed to still be using this topic.
But I mean, it’s still technically an on-topic conversation.
No, I’m oretty sure this would be better and more clear than anything I can think of
Define flipped as a boolean?
This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.