這個外掛並未在最新的 3 個 WordPress 主要版本上進行測試。開發者可能不再對這個外掛進行維護或提供技術支援,並可能會與更新版本的 WordPress 產生使用上的相容性問題。

Asteroids Widget

外掛說明

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.

螢幕擷圖

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

安裝方式

  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].

常見問題集

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

使用者評論

2018 年 1 月 19 日
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.
閱讀全部 6 則使用者評論

參與者及開發者

以下人員參與了開源軟體〈Asteroids Widget〉的開發相關工作。

參與者

將〈Asteroids Widget〉外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄

變更記錄

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.