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

#1 2009-01-08 13:33:41

yambanshee
Scratcher
Registered: 2007-11-06
Posts: 500+

if on edge bounce, without if on edge block!

http://scratch.mit.edu/projects/yambanshee/371970
Download and read the notes to learn how it works!

Offline

 

#2 2009-01-12 16:08:44

bosox397
Scratcher
Registered: 2008-02-17
Posts: 1000+

Re: if on edge bounce, without if on edge block!

Yeah the if on edge block is just a shortcut for those scratchers that aren't advanced enough to know how to program the hard way.  tongue


Dear Scratch Users,
I'm done with scratch, or at least making projects. I have made one last big game, thats both fun and teaches a lesson about water. It'd mean a lot if you gave me feedback.                              http://scratch.mit.edu/projects/bosox397/569201

Offline

 

#3 2009-01-13 11:49:02

yambanshee
Scratcher
Registered: 2007-11-06
Posts: 500+

Re: if on edge bounce, without if on edge block!

thought id share it so that they can learn  smile  I just lernt to do it in flash, which is completly diffrent. Its intersting how it doesint use the direction at all, neither does it use trig. Anyways, drifting of subject.

Offline

 

#4 2009-01-13 12:25:33

mrweston
Scratcher
Registered: 2007-12-13
Posts: 100+

Re: if on edge bounce, without if on edge block!

Just curious -- is there a reason for having the "if touching edge" checks in there still? Why not just use the edge sprites?

Last edited by mrweston (2009-01-13 18:11:04)

Offline

 

#5 2009-01-13 15:18:07

bosox397
Scratcher
Registered: 2008-02-17
Posts: 1000+

Re: if on edge bounce, without if on edge block!

What do u mean?


Dear Scratch Users,
I'm done with scratch, or at least making projects. I have made one last big game, thats both fun and teaches a lesson about water. It'd mean a lot if you gave me feedback.                              http://scratch.mit.edu/projects/bosox397/569201

Offline

 

#6 2009-01-14 22:58:59

yambanshee
Scratcher
Registered: 2007-11-06
Posts: 500+

Re: if on edge bounce, without if on edge block!

@ bosox. It bounces of the edge, and all other surfaces you program it for, with perfect motion, just like the If on Edge bounce block does. This means that proper bouncing games can be made easily and understandable for newer users.
@ mrweston. Im sure i put it in there for a reason? mabye not, ive forgoten :S

Offline

 

Board footer