Learn Java 2.23- Game Applet- Randomizing Items

visibility 13 lượt xem schedule 12 năm trước timer 4:44
open_in_new Dailymotion
In this Java Game Applet tutorial we will learn about how to randomize our items, once they have come in contact with our ball. So, to put it more specifically, all three item in our items array will start out as GravUp items, but once the ball (player) collides with them, then they will become null and then become a new random item. We will accomplish this by a switch and case.<br /><br />Source code | Additional Info for this tutorial: http://bit.ly/11ziaHt<br />Hit us up on G+, facebook, or twitter!<br /><br />Follow us!<br />-------------<br />Google +: http://bit.ly/1b6FeRV<br />Facebook: http://on.fb.me/11sX40j<br />Twitter: http://bit.ly/ZuuI4Y<br />-------------<br />Jake's G+ = http://bit.ly/14yuNTD<br />Travis's G+ = http://bit.ly/11iPctT<br /><br />------------<br /><br />Donate: http://bit.ly/110go1C