Alice Community

Alice Community (
-   How do I...? (
-   -   Bowling pin scatteR? (

dragon3100 09-13-2011 04:41 PM

Bowling pin scatteR?
I've got my lane, my ball and my pins.
I have no idea how to start so when the balls makes it to the pins, a random # between 1-10 pins get knocked down.
I have it so i can control the ball with the mouse, but thats it.

Can anyone help with this? I'd be greatly appreciated. Thank you !

InsertName 09-13-2011 05:18 PM

Hoo Boy, Making a bowling game with physics pushes Alice to the max (I'm quoting sombody, I just don't know who.) But if your doing it the other way making it so that the bowling pins fly into the air giving it fake physics.(not bad to do). Two ways: Make a lot of variables put in random number (integer). Set each one to be randomly picked from the lot with another variable. Can sombody else explain this I'm confused already as it is.:(

David B 09-13-2011 06:45 PM

You can do collision detection, but it would be very hard to get the bowling pins to have a life-like response to the hit of the ball.

dragon3100 09-14-2011 04:53 PM

Alight I got it, thanks for the help, it took me a bit to figure out the object collision detection, but I got it. :)

All times are GMT -5. The time now is 11:49 AM.

Copyright ©2021, Carnegie Mellon University
Alice 2.x 1999-2012, Alice 3.x 2008-2012, Carnegie Mellon University. All rights reserved.