how do I make my sprite run with the same controls but different animation? if it helps it is a game where you switch the gravity in between being on the roof and the floor and i want the sprite to change color. if it is on the ceiling, it is dark, and if it is on the floor, it is light. How do I make it so it works with the same controls? (I’m new so sorry if this is super easy but I cant figure it out)
if you making a sprite change color, you’ll want the “Colors” block in properties.
it’s percentage based, so 100 in red, green, and blue will just be the original color.
100 is normal
greater than 100 is lighter
less than 100 darker
thank you, I’ll try it out.
I get what you’re saying, but I have an animation for it. I don’t need to change the general shade of the sprite. Is there a way to use the same controls as the original sprite but it’s upside down and dark instead of light?
Ah, I see. So for this, you’ll probably want to use a router.
Whenever you are on the top and moving, you will trigger the animation for the top, and whenever you are on the bottom and moving, it will trigger the animation for the bottom.
wow cool thanks! I’ll try it and see if it works. I’m kinds slow so it might take a while sorry
What is the green arrow going down? I can’t seem to find it in behaviors.
those green arrows just represent what should go in there, if you can figure it out yourself. Whatever, makes your character flip gravity to the top, put it where the “On Top” goes. Whatever returns the gravity to normal, just put it where “On Bottom” goes. Whatever is the trigger for your player’s movement, put it where the “Moving” goes.
If you want me to make code you can just copy - paste in, you’ll need to send me the game link. Otherwise this is the best I can do to help.
That will be good, thank you so much for all your help!
this ended up working so thanks