the ball was going fast i heard a sonic boom and then it hit the flicker thing and straight on so it stuck there like a watermelon so if you got points for hitting the bouncing things next to the flickers the score would just be going up and up...!
Great job! I've always wanted to make a pinball machine in Scratch. I was thinking of starting with Schoolhouse Pinball, but after seeing this one, I think I'll start here. I like the flipper action, however, there is one issue with it. If you "trap" the ball with one flipper, release and flip as it is rolling down, it doesn't act naturally. The flip doesn't really do anything. Is there anything you can do to fix that?
It's difficult...the problem is that the project only does bouncing off of static surfaces right now...flippers really impart dynamic forces on the ball. I simulate that by playing games with how much "kick" the ball gets from the flipper but it's not a true dynamic model. The short answer is "no" I haven't found a fix for that yet :)
This is a pretty good base for a simple pinball game. All the elements have been left draggable so you can experiment with different locations. The walls and bumpers can be duplicated if you want more things to bump in to.
Sadly, it is VERY slow online. Try it downloaded and see if it works better for you there.
Feel free to remix with your own designs. Just be sure to give credit.
I want to thank Kevin_Karplus for making the original bouncing pinball project "Schoolhouse Pinball" so long ago.
Enjoy!
Technical Notes =========== The ball movement scripts in this project were done using the Point/Move blocks rather than the more usual Set X/Set Y. This complicated the gravity calculations but allowed me to use the On Edge Bounce block.
Flat surface bounces only happen on the side where the direction vector is pointing. This was done intentionally so that the flippers would perform with more realism but had the unfortunate side effect that walls only bounce on one side.
Comments
You need to be logged in to post comments
Add a Comment
I got it stuck getting points lol. Awesome game :P
Yeah...there's a bug :(
(view all replies)21,000 and going up
simple? I just about cried when I first saw the script! :P just kidding, but the scripting is obviously proffesional and it works like a charm
Thanks...I guess I meant the functionality, not the scripting :)
(view all replies)12900
67170 was my score!
I love pinball ^^
please..i need speed help, i want pinball physics
What are you looking for exactly? Help with a project? Which project?
LOL!!!!
Awesome!
40000 in a 135.9 secs lol!
WOW 40000
36,000
12830
7980
:)
I looked at this online and it's not slow at all! Good game!
I got the ball stuck on a paddle, and now my score is 999999
iluvit! :) good projects!
the ball was going fast i heard a sonic boom and then it hit the flicker thing and straight on so it stuck there like a watermelon so if you got points for hitting the bouncing things next to the flickers the score would just be going up and up...!
Well, I finally finished my remix. You'll have to tell me what you think.
Wow
I got 12260
I got 52810 score!
Wow...that's great!
Great job! I've always wanted to make a pinball machine in Scratch. I was thinking of starting with Schoolhouse Pinball, but after seeing this one, I think I'll start here. I like the flipper action, however, there is one issue with it. If you "trap" the ball with one flipper, release and flip as it is rolling down, it doesn't act naturally. The flip doesn't really do anything. Is there anything you can do to fix that?
It's difficult...the problem is that the project only does bouncing off of static surfaces right now...flippers really impart dynamic forces on the ball. I simulate that by playing games with how much "kick" the ball gets from the flipper but it's not a true dynamic model. The short answer is "no" I haven't found a fix for that yet :)
(view all replies)Thanks for uploading it to me :)
No problem...enjoy!
Pretty nice game... TU for sharing...
No problem...it still has a few glitches to be worked out.
cool game
Score on my hard arrangement: 10750
Awesome!!
I glitched the ball. I got it stuck between a paddle and a bumper. The bumper keeps going on, so it gives you infinite points!
Same thing here. I kept the bumper up, and it got stuck. Oh well, infinite score for me,
Okay, I just had the same thing happen to me. Maybe it's an online glitch only. I'll see if I can figure it out.
Nice! Was that after you moved things around? I don't think it will do that with the setup you start with...I may be wrong however...?
(view all replies)