London balls are failing down

fatlinesofcode

License: MIT License

Fork
3
Fav
10
View
5227
  • Play

Fullscreen

Smart Phone

Fork tree

  • Readme
  • JavaScript 504 lines
  • HTML 30 lines
  • CSS 33 lines
Here is something fun I put together today.
Its a bouncing balls collision animation. When the balls collide they play a familiar tune.
Make sure you try it on your iPad or iPhone as the sounds work via the web audio api (on iOS6+)
and tilting the screen will change the direction the balls are traveling.

iOS tip: The accelerometer seems to get a bit messed up in the jsdoit iframe, so run fullscreen.
  • London balls are failing down
  • London balls are failing down

play

Complete!

Description What kind of game?

Control Device

jsdo.it websocket controller

Mouse

keyboard

smartphone

Fullscreen

fatlinesofcode

Author

Freelance interactive developer

Default Panel

Size

  • Width: px
  • Height: px

code

QR Code

Discussion

Questions on this code?

Tags

Favorite by

zuzzuzzuzuzzuzzu:

音が出る

Forked

sort by