Title: Asteroids Widget
Author: electrictreehouse
Published: <strong>2010 年 10 月 27 日</strong>
Last modified: 2012 年 1 月 27 日

---

搜索插件

**该插件尚未通过WordPress的最新3个主要版本进行测试**。 当与较新版本的WordPress一起
使用时，可能不再受到维护或支持，并且可能会存在兼容性问题。

![](https://s.w.org/plugins/geopattern-icon/asteroids-widget.svg)

# Asteroids Widget

 作者：[electrictreehouse](https://profiles.wordpress.org/electrictreehouse/)

[下载](https://downloads.wordpress.org/plugin/asteroids-widget.zip)

 * [详情](https://cn.wordpress.org/plugins/asteroids-widget/#description)
 * [评价](https://cn.wordpress.org/plugins/asteroids-widget/#reviews)
 *  [安装](https://cn.wordpress.org/plugins/asteroids-widget/#installation)
 * [开发进展](https://cn.wordpress.org/plugins/asteroids-widget/#developers)

 [支持](https://wordpress.org/support/plugin/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/

## 评价

![](https://secure.gravatar.com/avatar/5aed3b35b5a25fc39e67f3851e54ea2a48068a97330bbfba8fa48a005e81b636?
s=60&d=retro&r=g)

### 󠀁[THANKS!](https://wordpress.org/support/topic/thanks-2141/)󠁿

 [bruceburstein](https://profiles.wordpress.org/bruceburstein/) 2021 年 9 月 9 日

Great Widget! Great Job!

![](https://secure.gravatar.com/avatar/2705ec72762002e78c7aded24c0f5342a977a679a86abd8b1b3b2e09d5f6d715?
s=60&d=retro&r=g)

### 󠀁[Still works!](https://wordpress.org/support/topic/still-works-128/)󠁿

 [Michael Nelson](https://profiles.wordpress.org/mnelson4/) 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.

![](https://secure.gravatar.com/avatar/2db8afe302da2b396077453c9981b97f4b90e3850a9aa3886d7d7a900f0ee245?
s=60&d=retro&r=g)

### 󠀁[Work like a charm!](https://wordpress.org/support/topic/work-like-a-charm-34/)󠁿

 [disi13](https://profiles.wordpress.org/disi13/) 2016 年 9 月 3 日

WP 4.4.2: work like a charm! Great Plugin!

![](https://secure.gravatar.com/avatar/c995b652ed1d2b568375b4ecbe4c095f3bd0117b31b278f25d7a9dff3d1668d3?
s=60&d=retro&r=g)

### 󠀁[Best Plugin EVER](https://wordpress.org/support/topic/best-plugin-ever-117/)󠁿

 [crawlinson](https://profiles.wordpress.org/crawlinson/) 2016 年 9 月 3 日

Four years since update… and it still works flawlessly.

 [ 阅读所有6条评价 ](https://wordpress.org/support/plugin/asteroids-widget/reviews/)

## 贡献者及开发者

「Asteroids Widget」是开源软件。 以下人员对此插件做出了贡献。

贡献者

 *   [ electrictreehouse ](https://profiles.wordpress.org/electrictreehouse/)

[帮助将「Asteroids Widget」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/asteroids-widget)

### 对开发感兴趣吗?

您可以[浏览代码](https://plugins.trac.wordpress.org/browser/asteroids-widget/)，
查看[SVN仓库](https://plugins.svn.wordpress.org/asteroids-widget/)，或通过[RSS](https://plugins.trac.wordpress.org/log/asteroids-widget/?limit=100&mode=stop_on_copy&format=rss)
订阅[开发日志](https://plugins.trac.wordpress.org/log/asteroids-widget/)。

## 更新日志

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

## 额外信息

 *  版本 **3.0.0**
 *  最后更新：**14 年前**
 *  活跃安装数量 **70+**
 *  WordPress 版本 ** 2.8 或更高版本 **
 *  已测试的最高版本为 **3.3.2**
 *  语言
 * [English (US)](https://wordpress.org/plugins/asteroids-widget/)
 * 标签
 * [asteroids](https://cn.wordpress.org/plugins/tags/asteroids/)[fun](https://cn.wordpress.org/plugins/tags/fun/)
   [game](https://cn.wordpress.org/plugins/tags/game/)[widget](https://cn.wordpress.org/plugins/tags/widget/)
 *  [高级视图](https://cn.wordpress.org/plugins/asteroids-widget/advanced/)

## 评级

 5 星（最高 5 星）。

 *  [  6 条 5 星评价     ](https://wordpress.org/support/plugin/asteroids-widget/reviews/?filter=5)
 *  [  0 条 4 星评价     ](https://wordpress.org/support/plugin/asteroids-widget/reviews/?filter=4)
 *  [  0 条 3 星评价     ](https://wordpress.org/support/plugin/asteroids-widget/reviews/?filter=3)
 *  [  0 条 2 星评价     ](https://wordpress.org/support/plugin/asteroids-widget/reviews/?filter=2)
 *  [  0 条 1 星评价     ](https://wordpress.org/support/plugin/asteroids-widget/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/asteroids-widget/reviews/#new-post)

[查看全部评论](https://wordpress.org/support/plugin/asteroids-widget/reviews/)

## 贡献者

 *   [ electrictreehouse ](https://profiles.wordpress.org/electrictreehouse/)

## 支持

有话要说吗？是否需要帮助？

 [查看支持论坛](https://wordpress.org/support/plugin/asteroids-widget/)

## 捐助

您愿意支持这个插件的发展吗?

 [ 捐助此插件 ](http://www.electrictreehouse.com)