This free plugin for WordPress adds a number of retro look space invaders to your blog pages that will randomly fly around, and if you choose, home in on any mouse clicks.
You can choose the number, size, speed, and behaviour of the space invaders as well as limit them to a specific area of your pages, a single post, or the entire blog.
The great glowing retro 8bit scanline effect space invaders work on most backgrounds but obviously are more suited to a dark theme.
You are watching it!
The plugin will show some invaders on every page of your blog when first installed. To change this to your liking you will find a setting page in the Appearance menu of your WordPress admin, Here you can configure your invaders. Most options are self explanatory, here is an overview of the settings.
Enable Invaders – If you want to turn Invaders on or off use this
Where to show - you can choose either everywhere OR only on individual posts
or pages that contain the custom field “jellyfish_invaders”. You can use this
second option to just show them on your home page or a single post for example.
Simply add the custom field “jellyfish_invaders” with a value of “true” or “on”
to any post you want them to appear.
Number of Invaders – how many individual space invaders you want, keep this number quite low to avoid slowing down your page too much
Invader Size – size of the sprites
Fly Time – how long the invaders fly around before pausing in milliseconds (1000 = 1 second)
Pause Time – How long the invaders Pause (or wiggle see below) for between flying cycles.
Random – adds some variation to the time settings so each invader acts a little differently.
Wiggle – Instead of pausing the invaders will do a missile evasive evasive wiggle.
Attack Mode – None, One or All of the invaders will home in on any mouse clicks.
By default the invaders will be free to roam randomly around the entire document.
If you want to restrict them to an area for example a header, sidebar or blank
area on your page to avoid distracting from the main content simply uncheck the
Ignore Boundries checkbox and fill in the top, left, right and bottom pixel
values of your invisible invader electric fence.
- Either upload the zip file using the add new plugin pageof your WordPress plugins menu or extract the zip file and upload the jellyfish_invaders folder into the wp-content/plugins/ directory of your WordPress installation
- Activate the Plugin
- Visit your blog and marvel at the spectacle
- Go to the Jellyfish Invaders settings page in the Appearance menu of your WordPress admin to play with the settings.
Frequently Asked Questions
0.6 initial release
You can download this plugin from the WordPress plugin repository
This plugin uses the excellent Spritely library for jQuery. Read more about Spritely at http://www.spritely.net/