Bouncing Balls

Your browser needs java to view projects. Click here to install Java.

user_icon Canthiar shared it 2 years, 6 months ago
6237 views, 4 taggers, 70 people love it, 2 remixes by 2 people, 544 downloads, in 10 galleries
Add to my favorites?
Flag as inappropriate?

Comments

You need to be logged in to post comments

Add a Comment

 
O-man O-man 6 days, 10 hours ago

seems like you beat seancanoodle to it. (he's making a bunch of pin bounce things)

bobanook23 bobanook23 3 weeks ago

all alla la

kgordon kgordon 6 months, 1 week ago

Canthiar this must be the most complicated script anywhere. You inspired me to give circular bouncing a shot (link to project) Mine isn't as good but I thought you might want to see it.

C7K C7K 6 months, 2 weeks ago

Awsome!

dannyman dannyman 6 months, 3 weeks ago

The ball thingies should collide with themselves.

DarthPickley DarthPickley 11 months, 1 week ago

cool!

AAAAAwinnerGLT AAAAAwinnerGLT 11 months, 1 week ago

XD Half plus a half plus a half awesome. Lol that's 3 halfs

ger96 ger96 1 year ago

swwwwwweeeeeeeeeet!!!! how do you do that?!?

raposa raposa 1 year, 2 months ago

nice very nice i think its so cool how u did that\

Ivaash Ivaash 1 year, 3 months ago

nice! 10 thumbs up

gman2008 gman2008 1 year, 6 months ago

cool!

redsooty9 redsooty9 1 year, 6 months ago

woah!!!!!!

jessman jessman 1 year, 8 months ago

(:-O) (That is the most complicated piece of scratch code i have ever seen!) AMAZING!!!!!!!!

me7 me7 1 year, 8 months ago

i dont get it???????????/

rajado rajado 1 year, 9 months ago

ohoh so many variables

Jay125 Jay125 1 year, 10 months ago

this is good lol i wish i made it!

GodzGirl GodzGirl 1 year, 11 months ago

all your projects are scientific or mathematic... its cool!!

GodzGirl GodzGirl 1 year, 11 months ago

oh

Canthiar Canthiar 2 years, 2 months ago

Restitution is a fancy word for bounciness.

Oldschooler2 Oldschooler2 2 years, 2 months ago

Whats restitution in this case?

08jackt 08jackt 2 years, 2 months ago

Sick!

gne gne 2 years, 3 months ago

Nice piece of programing, please check out some of my pojects!

Darkmasterofevil Darkmasterofevil 2 years, 3 months ago

Argh! My stupid computer wont let play anything! sgdbvxdhcxdhvchnasbdchzsbjcmvjmsdbjkcmsdbc!

Jay125 Jay125 2 years, 3 months ago

i hav to now admit u r the best programmer on scrathc after see ing this

752shocker 752shocker 2 years, 3 months ago

yet another great project! check out his random maze program its a-maze-ing

Canthiar Canthiar 2 years, 4 months ago

Cool, glad to hear it all worked out. I may roll that change back into this program.

MartinWollenweber MartinWollenweber 2 years, 4 months ago

Canthiar: Thank you for your help! Now it works: http://scratch.media.mit.edu/projects/MartinWollenweber/8708

Canthiar Canthiar 2 years, 4 months ago

I saw that earlier, but figured it was solved. I will take another look.

MartinWollenweber MartinWollenweber 2 years, 4 months ago

Hi Canthiar! Can you help to solve folowing problem with a mod-version of Bouncing Balls? (link to forums)

MartinWollenweber MartinWollenweber 2 years, 4 months ago

Eyvind: That was a typo it's SCRATCH 1.1

aerith aerith 2 years, 4 months ago

you're brilliant.... that's all I can say....

Eyvind Eyvind 2 years, 4 months ago

Excuse me MartinWollenweber, where do you download scratch 1.2?

Canthiar Canthiar 2 years, 4 months ago

If you want more balls then download the source and use the copy tool. You can have only 3 large collision objects, but you can have as many smaller ones as your computer can run.

simsfan70 simsfan70 2 years, 4 months ago

how do you make it fire more balls

JoelP JoelP 2 years, 4 months ago

Or a good one.

JoelP JoelP 2 years, 4 months ago

Thats not a baad comment

JoelP JoelP 2 years, 4 months ago

This reminds me of cows jumping over the moon, believe it or not.

Canthiar Canthiar 2 years, 5 months ago

It didn't start off being very large, but getting it to run fast required me to inline the sin and cos calculations which bloated it a little bit.

madbassist1 madbassist1 2 years, 5 months ago

this must have had a monster scrip

fatman fatman 2 years, 5 months ago

Hey, someone make a pong game outta this or something.

lozzamon626 lozzamon626 2 years, 5 months ago

wow!

Canthiar Canthiar 2 years, 5 months ago

Check out what MartinWollenweber has done, I think it's a pretty good version 2.

Roadcrosser Roadcrosser 2 years, 5 months ago

The Best! Why not have version 2?

firehelm99 firehelm99 2 years, 5 months ago

d00d 3p1x

Stefanie007 Stefanie007 2 years, 5 months ago

that is aw3som3 but th3 dir3ctions ar3 too complicat3d for m3...h3h3...m3 l3ss than 3 it...h3h3 g3t it...<3 it

Canthiar Canthiar 2 years, 5 months ago

Martin, that's really cool. I'm happy to see the code get reused. I do really like the pinball machine idea. I will have to add some flat surfaces to get that to work properly, but it shouldn't be too difficult.

MartinWollenweber MartinWollenweber 2 years, 5 months ago

Canthiar: Good idea! I hope you like my modifications (Soundcolors) at: (link to project) It lacks the purity of your original but it's somehow even more fun :-). Mohlar's above idea to make a Pinball-Mashine out of it sounds great!

Canthiar Canthiar 2 years, 5 months ago

Thanks for the suggestion Martin, I've uploaded a new version that can be downloaded. I hadn't expected people to download and run it and didn't notice the issue with this program until after I tried to download it. I did make a post in the forums about this issue.

Canthiar Canthiar 2 years, 5 months ago

I think I will make that change and upload it so that other people can download this and make change changes as they see fit.

destroyer95 destroyer95 2 years, 5 months ago

cool!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! 1!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! ! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

MartinWollenweber MartinWollenweber 2 years, 5 months ago

Addendum: After saving an loading the problem is back again: You can't save the current version "Bouncing Balls" with SCRATCH 1.2! You have to carry out your above correction every time after loading it! A work-around is writing: 25/1000000 instead of 0.000025 (but that costs some calculatingtime). You have 0.000025 also in the last line of your "cos"-function in your math-library-sprite.

MartinWollenweber MartinWollenweber 2 years, 5 months ago

Canthiar, thank you very much! It worked immediately. Who could think of this? Did you already report the bug to the SCRATCH-Makers? I wished the Squeak-Smalltalk-Source-Code of SCRATCH would have been published already (it's said to be published end of 2007), than we had a chance to fix those kind of bugs ourself. Furthermore you could implement trigonometrically functions and other stuff (your replacement for that in "Bouncing Balls" is great!). It would be wonderfull to have a SCRATCH that you could parameterise from "beginner" to "pro": So students could start with a few concepts and got more and more up to a fully Smalltalk-like environment. What do you think?

Canthiar Canthiar 2 years, 5 months ago

Martin, I do know what the problem is. There is a bug in scratch when it reads files that have a small number in them. You're going to have to delete every ball except one. Then 3/4 into the ball code and you should see [set result to ((result) + ((angle power) * (2.5e-5)))]. Change the 2.5e-5 to 0.000025. Then click on the copy button, hold down the shift key and click on the ball sprite several times.

MartinWollenweber MartinWollenweber 2 years, 5 months ago

Hi Canthiar: Can you help me? After downloading and running it in SCRACTCH 1.2, the balls vanish directly after hitting the collision-Objects. Do you know that phenomenon?

400pockets 400pockets 2 years, 5 months ago

Nice

MartinWollenweber MartinWollenweber 2 years, 5 months ago

Great!

maggie maggie 2 years, 5 months ago

awsome

Bingo_324 Bingo_324 2 years, 5 months ago

kool

gow123 gow123 2 years, 6 months ago

this is cool.

mijet97 mijet97 2 years, 6 months ago

kool

Please Wait...