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

#1 2008-02-14 13:06:52

fischool
Scratcher
Registered: 2008-01-29
Posts: 1

Help, Mini-Golf Walls

I am trying to create a mini-golf game and as of right now i have the club hitting the golf ball but when it hits the walls it bounces through them the majority of the time or gets stuck in the walls.  If anyone has any experience with making walls in a mini-golf game or any game that has the ball bounce off in the direction that you would expect the ball to bounce off in.

Offline

 

#2 2008-02-14 15:42:02

Zelda123
Scratcher
Registered: 2007-11-21
Posts: 1000+

Re: Help, Mini-Golf Walls

I'm not really an expert on this kind of game, but I found a great example if you want to look at it.

http://scratch.mit.edu/projects/Paddle2See/82463

Offline

 

#3 2008-02-15 09:47:41

kevin_karplus
Scratcher
Registered: 2007-04-27
Posts: 1000+

Re: Help, Mini-Golf Walls

Paddle2See's mini golf game is very good.  He based his ball motion on the pinball from School Pinball that my son and I wrote:

http://scratch.mit.edu/projects/kevin_and_abe/54377

There are comments in that code to make it easier to understand.

Offline

 

Board footer