Asteroids Widget Plugin
Turn your site into the game of Asteroids. Click to start and you can destroy
Turn your site into the game of Asteroids. Click to start and you can destroy
the contents of your webpage by flying around and shooting them. Check out
Electric Tree House (http://electrictreehouse.com/) (bottom of the right sidebar)
to try it out yourself. The plugin is also highly customizable allowing you to add
a description and/or image as well as controlling which pages the Asteroids widget
appears on. Give it a try and I guarantee you will be impressed. The Widget
implements a javascript by Erik Rothoff Andersson (http://erkie.github.com/),
based on the classic game, Asteroids.
Installation
- Upload
asteroids-widget
folder to the /wp-content/plugins/
directory - Activate the plugin through the ‘Plugins’ menu in WordPress
- Use the widget like any other widget.
- Customize based on your preference. A little bit of editing and you can remove my links from the widget entirely.
- Add the Asteroids button to any page or post by adding [asteroids].
Screenshots
The widgets screen showing a PHP code widget in use.
The output of the widget on the site.
FAQ
Leave a message at http://electrictreehouse.com/asteroids-widget-plugin/
Changelog
3.0.0
- Moved JS to external script
- Added Shortcode [asteroids]
- Added JQuery toggle to admin options
2.2.2
- Re-wrote some of the code.
2.2.1
- Added Arcade images by Alta Peterson (http://altapeterson.com/).
2.2
- Resolved PHP code so that links points to JS and image file in “gears” folder.
- Added another Button and Image option.
- Added option for ship to shoot yellow bullets.
2.1
- Basically started over. Added Image and Link/Button options to widget. Resolved IE issues.
1.1
- Resolved initial bugs and IE issues.
1.0
- First Attempt. Basic Functions.