该插件尚未通过WordPress的最新3个主要版本进行测试。 当与较新版本的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.