Bouncing Balls

For last time’s assignment, we made balls that bounce in different directions on github.

Capture

These are their movement setup:

  • ball 1 goes left and right
  • ball 2 goes up and down
  • ball 3 goes diagonal
  • ball 4 goes diagonal and moves when the player clicks the screen

To check this out, click here.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s