Attract

Attract

This game is from the old Ludum Dare platform. You can try viewing the original page on Web Archive
(may not load correctly).
audio: 1.00
community: 2.85
coolness: 0.03
fun: 2.81
graphics: 2.43
humor: 1.11
innovation: 3.48
overall: 3.05
theme: 3.24
A simple shoot 'em up, in which the enemies shoot themselves up.

[Note: The larger the browser window, the lower the framerate, unfortunately. If you're having issues try making the window smaller and refreshing. If you're having severe framerate issues and are using Firefox, try switching to a WebKit-powered browser such as Chrome or Safari.]

By default, all shots are attracted to you. Use this to your advantage by letting them orbit back into the enemies. Move around to gain repulsion energy, then hit 'a' to switch and send bullets flying. The scoring metric is the time taken to clear the screen.

It's a difficult game. Take your time to get used to the mechanics, and try to have a store of repulsion energy for when you get surrounded. If you need precision, get a bullet to orbit and then switch to Repel when the shot lines up. For what it's worth, my high score hovers around 60s.

Attract is written in pure JavaScript, using the HTML5 Canvas APIs. This was my first time using JavaScript for anything other than simple web design stuff, so it's highly un-optimised and probably not too clean. If things start to slow down, try closing a few tabs or resizing the browser window. As always, I doubt this will work with Internet Explorer.
Found a bug?
Tell us on Discord