JohnSu on DeviantArthttps://www.deviantart.com/johnsu/art/Obake-no-Koushin-65464241JohnSu

Deviation Actions

JohnSu's avatar

Obake no Koushin

By
Published:
276.6K Views

Description

-- FLASH PLAYER 9 REQUIRED --
If the screen is blinking and saying it's Loading and Paused, that means your browser can't run AS3 and that YOU ARE NOT USING FLASH PLAYER 9. GO GET IT.


Pressing any key will pause/unpause the game
Right-click / Control-click to bring up the context menu for more commands

In addition, when you "rub" the ball, it's actually finding the angle between the mouse and the center of the orb and measuring the change in that, so tiny circles around the center works well (as does "scribbling"). Also, you can charge while the bolt is sailing, so do that.

This is firstly a test for me to code in Actionscript 3, and secondly a mini game, so don't expect like, a full blown set of stuff like options and story and a way to beat the game.

Anyhow, here's the backstory:
Abby Scratch the Third is rummaging through her grandmother's possessions in search of tic tacs when she comes across a crystal ball. She discovers that not only can it open a gate to the netherworld, but more excitingly, it can spark! Putting two and two together, she decides to electrocute ghosts. Naturally.

Okay, so that's it. The point of the game is to rack up as many points as you can before her grandmother realizes what's happening. Bigger ghosts mean more points, but also bigger penalty for letting them by - eventually some'll be instant death for you.

Oh yeah, and not mentioned in the instructions: The alert will slowly drop at a constant rate, the orb will automatically charge itself if it drops below the needed charge for one shot, and a bolt that's been sailing longer will gain a boost in its explosive power. Rubbing left and right will give you better charge than up and down. The dog's name is Charleston.

So, after this experience, some of you aspiring programmers might be asking, "So, what are your thoughts on AS3?" to which I might reply, "It a bitch."

Well, enjoy. Sound effects were made from whistling, snapping, and clapping. Completed in 3 days.

Made in Flash

EDIT: Made the beginning easier and the latter portion harder. They should come at you faster and with more life now. Around 10000 points or so you should notice your charge will start to increase on its own, though slightly. At this point I figure your hand will tire, so I'll help you out a little.
EDIT2: Fixed a line of code so that the enemy will actually have that boosted life I mentioned earlier. Now it won't be possible to play forever.
EDIT3: Added difficulty levels and the option to mute the sounds from the context menu (that is, right click menu)
EDIT4: Fixed the problem where ghosts congregate at the left.
Image size
640x480px 121.53 KB
© 2007 - 2024 JohnSu
Comments2806
Join the community to add your comment. Already a deviant? Log In
DJVinyl-Pon-3's avatar
9010 (6:01). Not bad for my first go. I just had it on Easy. I can't imagine what it's like on normal/hard mode.
(Technically this is my second go, 'cause I played it before.. But whatever.)