內容簡介
Retro Arcade Page Destroyer 外掛將您的網站轉變為互動式的街機戰場。使用者可以駕駛復古街機飛船,摧毀網頁上的元素、標題和文字,增添趣味性。
【主要功能】
• 互動式街機遊戲體驗
• 可自訂的短碼與小工具
• 支援多種飛船圖示選擇
• 完全相容 PHP 8.0 以上版本
• 提供簡單的控制方式
外掛標籤
開發者團隊
原文外掛簡介
Turn your site into an interactive arcade battlefield. Click to launch and fly a retro arcade spaceship around your webpage, blasting apart elements, headings, and text.
The plugin offers full flexibility: embed it anywhere using shortcodes with customizable graphic triggers, or use the dedicated WordPress sidebar widget.
This plugin is a modernized, independent fork of the classic “Asteroids Widget” by Eric Burger and Erik Rothoff Andersson. It has been refactored for modern WordPress security standards and tested for full PHP 8.0, 8.1, 8.2, and 8.3+ compatibility.
How to Play
Controls:
* W / Up Arrow: Thrust spaceship forward
* A / S / D / Left & Right Arrows: Steer and rotate ship
* Spacebar: Fire bullets to destroy webpage elements
* B: Highlight breakable targets on screen
* Esc: Quit game and return to standard webpage
Shortcode Usage
Use the [asteroids] shortcode anywhere in your content, block editor, or Elementor Shortcode widget.
Available attributes:
* image: none (default), image-1 (Classic Target), image-2 (Hover Effect), image-3 (Rocket), image-4 (Red Cabinet), image-5 (Yellow Cabinet), image-6 (Black Cabinet).
* button: push-1 (default button), text-1 (text link), or none (hides button).
* bullet_color: Leave empty for default or set to yellow.
Examples:
* Launch with a Rocket icon and no button:
[asteroids image=”image-3″ button=”none”]
* Launch with Red Arcade cabinet and yellow bullets:
[asteroids image=”image-4″ button=”none” bullet_color=”yellow”]
* Text link only:
[asteroids button=”text-1″ image=”none”]
Credits
Original WordPress Plugin by Eric Burger (Electric Tree House).
Original JavaScript game engine by Erik Rothoff Andersson.
Arcade machine graphics by Alta Peterson.
PHP 8+ modernization, shortcode enhancements, and maintenance by Krystalia Saldari.
