Det här tillägget har inte testats med någon av de 3 senaste huvudversionerna av WordPress. Det kanske inte längre underhålls och kan ha kompatibilitetsproblem när det används tillsammans med nyare versioner av WordPress.

Asteroids Widget

Beskrivning

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.

Skärmdumpar

  • The widgets screen showing a PHP code widget in use.
  • The output of the widget on the site.

Installation

  1. Upload asteroids-widget folder to the /wp-content/plugins/ directory
  2. Activate the plugin through the ’Plugins’ menu in WordPress
  3. Use the widget like any other widget.
  4. Customize based on your preference. A little bit of editing and you can remove my links from the widget entirely.
  5. Add the Asteroids button to any page or post by adding [asteroids].

Vanliga frågor

Leave a message at http://electrictreehouse.com/asteroids-widget-plugin/

Recensioner

19 januari 2018
Just tried this on a new install. It would be good to tell folks what buttons do what, but it still works like a charm. I really enjoyed destroying my site with this.
Läs alla 6 betyg

Bidragsgivare och utvecklare

”Asteroids Widget” är programvara med öppen källkod. Följande personer har bidragit till detta tillägg.

Bidragande personer

Översätt ”Asteroids Widget” till ditt språk.

Intresserad av programutveckling?

Läs programkoden, kika på SVN-filförvaret eller prenumerera på utvecklarloggen via RSS.

Ändringslogg

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.