I have been thinking about doing a ricochet game like this, but I couldn't figure out the math of bouncing (I could've asked my teacher). Thank you for this: I will now go make my game!
good game but there are areas for improvement, but im not complaining because i dont think i or anyone else could do any better. the areas for improvement are that you can hit the ball too hard easily, you can hit the balls through walls, and the ball doesnt look like its moving. otherwise, absolutely amazing. 5 star.
Thanks, yes - I spent a lot of time getting that to work as well as it does. It was my first project where I implemented bouncing off of slanted surfaces.
It's kind of tricky with rectangles...it's one set of rules for horizontal surfaces and another for vertical. So you need to figure out what kind of surface you are bouncing against, for starters. I did something similar here...
(link to project)
I always save to the desktop. That way, I know I can find it again easily. From there, I can move it to another directory easily enough, if I want to hang onto a copy for a while.
That was one damn well-made game of minigolf! i hope i can take the bouncing off method, and the sound of the golfball dropping into the hole? i was VERY entertained!
Thanks for your feedback and sorry you didn't like it. You can always remix it and make it easier. Most people that play it seem to enjoy it the way it is so I probably won't be changing this version.
A really great game! I felt like I was really playing golf. One thing I noticed is that it doesn't the golf ball doesn't seem to lose speed when it hits obstacles. I've been mini-golfing a couple times and hitting walls always seems to slow it down.
Data processing.. script blocks, block interpreters and java.. something is causing a delay in processing as well as loading problems in some of my projects..(as you know!)
They work ok offline and i make sure things are compressed etc.. so project file is well under 10mb
and i still get problems online..
i've asked jens but he does not know.. which is hard to believe of a proffessional programmer.. so thought i would ask you for advice on this..as most of your projects work somewhat smoothly online.
I used kevin_and_abe's bounce logic...and I added in the ramps, which were pretty simple (just a constant acceleration) and it turned out pretty nice! I'm glad you like it.
A tough 9-hole Mini-Golf course with hills, slanted walls, bouncing posts and more!
To swing at the ball, click on the ball and drag in the direction you want to go. You will see a power bar at the ball, don't let it get into the red or your stroke will not happen.
Keys:
====
Up Arrow/Down Arrow - Next/Previous Hole
Spacebar - Start current hole over at the tee
1-9 keys - Jump to hole # 1 through 9
C key - Cheat, takes you right to the hole
S key - Toggle wall bounce sound (currently off by default as it slows down the web version)
This mini-golf uses the bouncing techniques from kevin_and_abe's School Pinball project which allows bouncing off of slanted walls and round surfaces. I got the sound effects and inspiration from music_man's Mini Golf V0.2 project. Thanks again to MyRedNeptune and JSO for some of the graphics.
Comments
You need to be logged in to post comments
Add a Comment
eipc game!!!
Great crazy golf game
Thanks! I'm glad you are enjoying it :)
I have been thinking about doing a ricochet game like this, but I couldn't figure out the math of bouncing (I could've asked my teacher). Thank you for this: I will now go make my game!
Yeah, it was a bit confusing...luckily, I got the equations from another Scratcher (in the project notes). Have fun with your game!
(view all replies)Congratulations! Your game has been selected for Bananaman's Games of the Week 1!
Thanks! It's an oldy but a goody (in my completely unbiased opinion).
good game but there are areas for improvement, but im not complaining because i dont think i or anyone else could do any better. the areas for improvement are that you can hit the ball too hard easily, you can hit the balls through walls, and the ball doesnt look like its moving. otherwise, absolutely amazing. 5 star.
Thanks for the feedback! The ball power could be changed pretty easily...and the ball could be animated too. The wall problem is tough.
a stupid game. way too easy to overshoot.
blam you not the game
Don't put so much power on the shot.
it's like every put is a drive.
Really good. I like the way you did it in 2d.
Thanks! I'm glad you enjoyed it :)
wow i love it!
can i use your bouncing script in my own game?
(view all replies)Great job
Thanks Legoboy1134 :)
Amazingly, I found a glitch. When you change the hole and a shot is still going, the ball wont stop when you change holes.
Oops :) Thanks for taking the time to tell me.
Nice project. I am intrested to see the physics involved in it.
Thanks, yes - I spent a lot of time getting that to work as well as it does. It was my first project where I implemented bouncing off of slanted surfaces.
(view all replies)Very good! I love the slanted walls. :)
Thanks - it's good to see that all that expensive math education wasn't totally wasted :)
(view all replies)easily your best project ever, awesome, by the way take a look at my projects, they are pretty cool
Hee hee. Want to go golf but can't? Use this!
This is my favorite game on scratch
Hey, you have a new icon! Looks good. Thanks for the kind comment :)
(view all replies)awesome!
i love it
really great physics. I'm trying to make a brick breaker game but i cant get the bounce script right
It's kind of tricky with rectangles...it's one set of rules for horizontal surfaces and another for vertical. So you need to figure out what kind of surface you are bouncing against, for starters. I did something similar here... (link to project)
I got 112
nice. interesting.
really fun! i was REALLY bad though i got 94!
Some of the holes are very tough! The score doesn't really matter anyway - as long as you had fun :)
(without cheating)
sooo good!!!!
gOOD!
Thanks for the cheat function!
OMG this is soooo AWESOME! I love it! If you want come check out some of my stuff.
I like it,I don't know exactly how to download and open things in scratch...I mean,ware would I save it if I downloaded it?
I always save to the desktop. That way, I know I can find it again easily. From there, I can move it to another directory easily enough, if I want to hang onto a copy for a while.
could need better graphics, thougt {: )
Very true! Graphics are not my area of expertise. I should have teamed up with a graphics person, maybe.
(view all replies)That was one damn well-made game of minigolf! i hope i can take the bouncing off method, and the sound of the golfball dropping into the hole? i was VERY entertained!
Glad you liked it...it took a lot of work! Take anything you want.
ok, just downloaded, and didnt understand a THING of the bouncing script!
(view all replies)This was NO FUN AT ALL. Just because it's hard to make doesn't make it a good project.
Thanks for your feedback and sorry you didn't like it. You can always remix it and make it easier. Most people that play it seem to enjoy it the way it is so I probably won't be changing this version.
(view all replies)cooooool.this is awsome!!!!!!!!!!!how long did it take you to make thiss?????
Many hours! I worked on it for probably a week...maybe 40 hours?
oh i got a hole in one! (on the first 2!)
Nice! I've gotten a hole in one on the third hole...but never on 1 or 2!
(view all replies)nice work,very hard course!
awesome
A really great game! I felt like I was really playing golf. One thing I noticed is that it doesn't the golf ball doesn't seem to lose speed when it hits obstacles. I've been mini-golfing a couple times and hitting walls always seems to slow it down.
Yeah...I didn't model that particular detail. It does make the game a bit more bouncy than it would be in reality. A valid point!
I made it to hole 5! That one is sooooooo hard!
Yeah, hole 5 is really hard. I probably should change it...but now I'm kind of used to it!
(view all replies)This is so much fun! LOL!!!!!! It is so awesome!
doot...dis iss dee bestest game eva!!!
sick! (link to project)
SUPER SWEET
eagle on 9
Sausage49 - Work in what area?
DUDE AWESOME STILL NEEDS A LITTLE WORK
very very neatly made
Yeah, #5 is nasty. I think every now and then of moving that post a bit and making it easier. But I haven't yet.
#5s hard
eagle, yeah!!!
this is a great game
this is the best game eva eva eva!
i got an eagle on hole 4 and 6
Data processing.. script blocks, block interpreters and java.. something is causing a delay in processing as well as loading problems in some of my projects..(as you know!) They work ok offline and i make sure things are compressed etc.. so project file is well under 10mb and i still get problems online.. i've asked jens but he does not know.. which is hard to believe of a proffessional programmer.. so thought i would ask you for advice on this..as most of your projects work somewhat smoothly online.
Sausagestand - It's right there in the Project Notes...no secrets here! It's for when you totally botch a hole and just want to move on with the game.
gasp!! press C!
I got a birdy on #3!
And by the way, did this take a long time to do?
(link to project) This is the answer to "What has gotten into scratch!"
your are like the best scratcher ever!
All your projects are so good! Your one of the best users on Scratch, producing some of the highest quality projects!
I used kevin_and_abe's bounce logic...and I added in the ramps, which were pretty simple (just a constant acceleration) and it turned out pretty nice! I'm glad you like it.
Best physics eva!!! I can't beleive this . how did you make it so realistic?
check gurglonia