elimantor wrote:
the bounce block would make physics in games super easy
This would be nice, except there's a problem. With a bounce block, how will Scratch know which direction to bounce? Off of what sprite should it bounce off of? What if a sprite is stuck in another, then what should happen? Also, this would be, if I'm correct, extremely hard to program in, so because of all of the above, I don't support.
Offline
bubby3 wrote:
Here is a workaround:
point in direction ([180] - (direction))
Offline
Mokat wrote:
People often quote a post if they have nothing else to say but agree with the post.
EDIT: No joke intended.
Last edited by ImagineIt (2013-01-21 15:19:15)
Offline
bubby3 wrote:
Here is a workaround:
point in direction ([180] - (direction))
depending on the angle it could be direction*-1
if it's bouncing of the left or right of a sprite it's direction*-1, if it's bouncing off the bottom or top of a sprite, then it's 180-direction
Offline
lalala3 wrote:
Rub0Gameton wrote:
bubby3 wrote:
Here is a workaround:
point in direction ([180] - (direction))GAHHH! Just what do you think you are doing? Seriously, don't quote the post right above yours.
It shows agreement.
Offline
mythbusteranimator wrote:
lalala3 wrote:
Rub0Gameton wrote:
GAHHH! Just what do you think you are doing? Seriously, don't quote the post right above yours.
It shows agreement.
What they all said. (Typed that in so that you don't get mad at me).
Offline
mythbusteranimator wrote:
lalala3 wrote:
Rub0Gameton wrote:
GAHHH! Just what do you think you are doing? Seriously, don't quote the post right above yours.
It shows agreement.
It's pretty pointless though
Offline
bubby3 wrote:
Here is a workaround:
point in direction ([180] - (direction))
That only works for horizontal bouncing. For vertical bouncing, use this:
point in direction ((-1) * (direction))
Offline
RedRocker227 wrote:
mythbusteranimator wrote:
lalala3 wrote:
GAHHH! Just what do you think you are doing? Seriously, don't quote the post right above yours.It shows agreement.
It's pretty pointless though
I agree, it really isn't adding anything to the topic. In general, it's a good idea to check to see if your post is furthering the discussion in a productive way. I'm not sure that simple agreement with a previous poster really is productive in this situation.
However, let's let it drop as this discussion is leading us off-topic as well.
Offline