This site requires JavaScript, please enable it in your browser!
Greenfoot back

Comments for Tossing

Return to Tossing

HermanHerman

2009/8/5

Very effective. Once I was searching for a pot of gold. I found new Ton() ;-)
tombud999tombud999

2009/8/5

Hi, thanks. Hmm... new Ton - Newton? Gravity? :D Yes, I already preparing for a gravitation effects, but first I'm perfecting the tossing codes.
A new version of this scenario was uploaded on Thu Aug 06 15:14:22 UTC 2009
tombud999tombud999

2009/8/6

Newton is come! :D
tombud999tombud999

2009/8/6

Hmm... the gravitation effect is not good enough, I think I had to modify the SmoothMover class. Any suggestions?
A new version of this scenario was uploaded on Sat Aug 08 14:49:22 UTC 2009
A new version of this scenario was uploaded on Sun Aug 09 06:22:04 UTC 2009
tombud999tombud999

2009/8/9

Now with mjrb4's Wanderer class.
A new version of this scenario was uploaded on Thu Aug 13 13:03:55 UTC 2009
tombud999tombud999

2009/8/13

Try this new tossing type (the golden ball) & compare with the previous one (the red ball). Which one is better?
mjrb4mjrb4

2009/8/13

Much prefer the gold one - feels a lot more polished that you don't have to drag it in between those two lines to get it to throw realistically.
spacebluespaceblue

2009/8/13

I agree - the gold ball seems a lot better than the red ball in terms of gravity and co. One thing about the red ball - if you throw it straight up into the air, it goes left...
tombud999tombud999

2009/8/14

Thanks, I'll fix the red ball tossing.
delmardelmar

2009/8/17

I like the golden ball feel. Should make a good control for some type of game.
tombud999tombud999

2009/8/18

Thanks, I'm preparing a new game scenario using this tossing control, and keep this scenario as a demo / reuseable.
A new version of this scenario was uploaded on Sat Aug 22 09:06:32 UTC 2009
tombud999tombud999

2009/8/22

Fix the red ball tossing & some bugs. About the golden ball, I think it need a speed limiter, because if we toss it really hard upward, it can take a long time before get back to the ground, some time it doesn't get back, ... I believe it splat on my room ceiling! :D
mjrb4mjrb4

2009/8/22

Are you sure sometimes it never comes down? For practical applications I agree, a speed limiter would definitely be a bonus - but I've managed a speed of 299 maximum and it came down after around 20 seconds or so at that speed. Unless you've gone higher? :-)
davmacdavmac

2009/8/24

You've introduced a new bug :) The first black line is no longer significant. I don't have to drag the red ball past it before releasing the mouse button...
tombud999tombud999

2009/8/24

So this already a small game of "How fast can you throw the golden ball", and you beat me (I only max at speed 218 :P) About the golden ball, you're right, now it's always get back to the ground after the last bug fixes. About the red ball, the first vertical line is still needed as count down starter (try dragging the red ball between the two lines). If you release the red ball before the first line, then it considered as cancelling the toss, so the red ball just drop down by gravitation : ) I know the red ball tossing is not good :P, don't bother about it, I just keep it as history, I'm building a new game scenario base on the golden ball codes.
Sockman101Sockman101

2013/4/5

Best speed: 166
JetLennitJetLennit

2013/5/20

I got zero, is that supposed to happen?