Tuesday 5 March 2013

Bombermine.com controls for iPad


Bombermine.com is an awesome massively multiplayer version of bomberman showcasing the best bits of HTML5. Here's a bookmarklet I put together to enable some onscreen controls so you can play on your iPad. The frame rate isn't brilliant but it's definitely playable.


Create a bookmark on your device, edit the url and replace with this:

javascript:(function()%7B_btScript%3Ddocument.createElement(%22script%22)%3B_btScript.setAttribute(%22src%22%2C%22http%3A%2F%2Fdl.dropbox.com%2Fu%2F9641610%2Fjs%2Fbombermine-touch.js%3Frand%3D%22%2BencodeURIComponent(Math.random()))%3Bdocument.getElementsByTagName(%22body%22)%5B0%5D.appendChild(_btScript)%7D)()


Load up bombermine.com and open the bookmarklet after you've logged in and picked server.
Place your thumb on the circle on the left to move and tap place a bomb to spawn.

Make sure you select the server with the lowest ping! (For some reason, this is at the bottom of the list on iPad)

Enjoy :)

8 comments:

  1. Is it okay if I use the source of this for something else? (non-commercial)

    ReplyDelete
  2. Hey, no problem PangeaCake - use it for whatever you like

    ReplyDelete
    Replies
    1. Awesome! It's for another webgame, tagpro. Info about the game is at reddit.com/r/tagpro, and my code is at https://gist.github.com/PangeaCake/7839bb9d4c43e06098f8

      Delete
    2. Hi. Reddit brought me here. How are ya?

      Delete
    3. Awesome, just tried your gist, it works well :)

      Delete
  3. I tried it in tagpro, but I’d doesn’t work.

    ReplyDelete
  4. *it (stupid auto correct)

    ReplyDelete