Alright, I posted this once before, but I figured people look here more, so anyways…
I need 4 different sprites to turn and rotate together to look like one. I have the head, body, legs, and feet all different sprites, and I need them to rotate together (and makign it 1 sprite is out of the question)
Offline
Bluestribute wrote:
Alright, I posted this once before, but I figured people look here more, so anyways…
I need 4 different sprites to turn and rotate together to look like one. I have the head, body, legs, and feet all different sprites, and I need them to rotate together (and makign it 1 sprite is out of the question)
make the body the main turner, then put this on them all
<when green flag clicked>
<forever>
<point towards( (( direction of body <+> <{ turn value }> ))
<end>
the turn value is how much more or less u want it to face from the body
Offline
deatheater wrote:
Bluestribute wrote:
Alright, I posted this once before, but I figured people look here more, so anyways…
I need 4 different sprites to turn and rotate together to look like one. I have the head, body, legs, and feet all different sprites, and I need them to rotate together (and makign it 1 sprite is out of the question)make the body the main turner, then put this on them all
<when green flag clicked>
<forever>
<point towards( (( direction of body <+> <{ turn value }> ))
<end>
the turn value is how much more or less u want it to face from the body
I don't really get it. It's the skateboarding game, and it's for goign up half-pipes (if that helps)
Offline
what happens is all ur body pieces and skateboard point in the same direction as the main body piece + however much u want the to turn, so u could have ur person wave by taking 30 away from the turn amount and then add 30 again on his arm
Offline
deatheater wrote:
what happens is all ur body pieces and skateboard point in the same direction as the main body piece + however much u want the to turn, so u could have ur person wave by taking 30 away from the turn amount and then add 30 again on his arm
I'm sending you it. Show me and send it back.
Offline
I sent it fixed
Offline
Ok, this is what you do. First center each sprite so that the skateboard would be in the center. That means make the center for the head far away from the actual head. Make the feet have the center close. Etc, etc. Then on all part put forever go to skateboard. If you post the body parts and skateboard on bluestribute I can show you what I mean. Ill do it for you.
Offline
Thanks deatheater. It still is a little glitchy (as you will see when you check your mail becaseu I told you) but can be solved. I'm just glad it looks realistic now!
Offline
Sorry it took so long... here is my demo
http://scratch.mit.edu/projects/Paddle2SeeFixIt/207670
Offline
Paddle2See wrote:
Sorry it took so long... here is my demo
http://scratch.mit.edu/projects/Paddle2SeeFixIt/207670
I left you a comment. I just gotta work out some sensing issues with the half-pipe and skateboard, than I will add money and stuff to buy
Offline