This is a read-only archive of the old Scratch 1.x Forums.
Try searching the current Scratch discussion forums.

#1 2013-01-19 13:09:09

elimantor
Scratcher
Registered: 2011-04-03
Posts: 76

a bounce block

the bounce block would make physics in games super easy


scratch 2.0 forever!  big_smile

Offline

 

#2 2013-01-19 13:23:29

ErnieParke
Scratcher
Registered: 2010-12-03
Posts: 1000+

Re: a bounce block

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.


http://i46.tinypic.com/35ismmc.png

Offline

 

#3 2013-01-19 13:39:32

Mokat
Scratcher
Registered: 2011-12-08
Posts: 1000+

Re: a bounce block

There is an easy workaround. I don't support


http://www.eggcave.com/egg/977371.pnghttp://www.eggcave.com/egg/977376.pnghttp://www.eggcave.com/egg/1005291.pnghttp://www.eggcave.com/egg/996745.png

Offline

 

#4 2013-01-20 11:51:13

bubby3
Scratcher
Registered: 2012-11-19
Posts: 44

Re: a bounce block

Here is a workaround:

point in direction ([180] - (direction))

Last edited by bubby3 (2013-01-20 11:53:05)

Offline

 

#5 2013-01-20 14:24:58

Rub0Gameton
Scratcher
Registered: 2008-03-30
Posts: 100+

Re: a bounce block

bubby3 wrote:

Here is a workaround:

point in direction ([180] - (direction))


Are you doing a collab and need a 24/7 TeamSpeak channel? Contact me... somewhere. =P

Offline

 

#6 2013-01-21 12:00:29

lalala3
Scratcher
Registered: 2008-10-03
Posts: 100+

Re: a bounce block

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.


http://img515.imageshack.us/img515/9374/signature2nt.png

Offline

 

#7 2013-01-21 13:51:12

Mokat
Scratcher
Registered: 2011-12-08
Posts: 1000+

Re: a bounce block

People often quote a post if they have nothing else to say but agree with the post.


http://www.eggcave.com/egg/977371.pnghttp://www.eggcave.com/egg/977376.pnghttp://www.eggcave.com/egg/1005291.pnghttp://www.eggcave.com/egg/996745.png

Offline

 

#8 2013-01-21 15:11:19

ImagineIt
Scratcher
Registered: 2011-02-28
Posts: 1000+

Re: a bounce block

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

 

#9 2013-01-21 15:18:07

RedRocker227
Scratcher
Registered: 2011-10-26
Posts: 1000+

Re: a bounce block

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


Why

Offline

 

#10 2013-01-21 15:21:35

mythbusteranimator
Scratcher
Registered: 2012-02-28
Posts: 1000+

Re: a bounce block

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.


http://www.foxtrot.com/comics/2012-04-01-fdb37077.gif
clicky

Offline

 

#11 2013-01-21 16:09:51

Rub0Gameton
Scratcher
Registered: 2008-03-30
Posts: 100+

Re: a bounce block

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).


Are you doing a collab and need a 24/7 TeamSpeak channel? Contact me... somewhere. =P

Offline

 

#12 2013-01-21 17:58:10

RedRocker227
Scratcher
Registered: 2011-10-26
Posts: 1000+

Re: a bounce block

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


Why

Offline

 

#13 2013-01-21 18:25:57

jvvg
Scratcher
Registered: 2008-03-26
Posts: 1000+

Re: a bounce block

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))


http://tiny.cc/zwgbewhttp://tiny.cc/e1gbewhttp://tiny.cc/zygbewhttp://tiny.cc/izgbew
Goodbye, Scratch 1.4  sad                                                        Hello Scratch 2.0!  smile

Offline

 

#14 2013-01-21 18:38:44

Paddle2See
Scratch Team
Registered: 2007-10-27
Posts: 1000+

Re: a bounce block

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.


http://i39.tinypic.com/2nav6o7.gif

Offline

 

Board footer