Goblin Grabber

Goblin grabber is an HTML5 game that was originally created at university and has since been ported to my current site. I have had to strip out the Twitter OAuth and high scoring elements due to time constraints but the game is still fun and uses a variety of mechanisms from HTML5 to create an arcade style game with music and sound effects. Give it a try below.

Grab Some Goblins!

The Reapers are breeding goblins to attack your viking settlement, capture as many goblins as you can whilst avoiding the Reapers.

Instructions

Press H whilst playing to view the in-game help menu.

Your Highest Score is: 0

Your Browser is Unable To Support The HTML5 Canvas. You Must Install The Latest Version Of Firefox/Chrome/Safari to Play This Game

Controls

(Go To Top)

Control Action
W Move the Player Character Up
S Move the Player Character Down
A Move the Player Character Left
D Move the Player Character Right
H Open Help Menu In-game. Will pause the game. This function cannot be called whilst the game is already paused.
J Mute Sound Effects
K Mute Music
Enter During The Game, pause the game. Once Game has Ended, will restart the game(as prompted).

Objectives

(Go To Top)

The objective of Goblin Grabber is "grab" or pass your character over the Goblin characters. You will get points dependent on your level. See more details on scoring in the Levels section below.

Whilst attempting to grab the goblins, you must also avoid the Reaper characters. You have 3 lives when you sart the game. Each "Kill" by a Reaper will decrease this amount by 1. This will get harder as you get into further levels but your rewards for grabbing goblins will increase.

If you run out of lives, don't despair, you may still have earnt enough to feature on the Wall of Champions.

Characters

(Go To Top)

Character Name Description
Player Player The Character you play with.
GoblinGoblinGoblinGoblin Goblin The character you must "Grab" by running over them. You Score points for each Goblin You Grab.
Reaper Reaper The Character you must avoid. You lose a life when they "Kill" you.

Levels

(Go To Top)

There are 5 levels in Goblin Grabber, each harder than the last and with more points gained from "Grabbing" Goblins.

Level One

'00:45' Minutes.
1x Reaper, Type: 1x Random Movement.
2x Goblin, Worth: 5.

Level Two

'01:00' Minutes.
2x Reaper, Type: 2x Random Movement.
2x Goblin, Worth: 10.

Level Three

'01:15' Minutes.
2x Reaper, Type: 1x Seeker, 1x Random Movement.
2x Goblin, Worth: 15.

Level Four

'01:30' Minutes.
2x Reaper, Type: 2x Seeker.
3x Goblin, Worth: 20.

Level Five

'01:45' Minutes.
3x Reaper, Type: 3x Seeker.
3x Goblin, Worth: 30.

An additional 100 points per life are scored if you complete level 5.

Disclaimer

(Go To Top)

I credit many individuals that have unknowingly helped me on my quest to build my first HTML5 canvas game. The choices of Music and Sound effects were handpicked by me and I hope you enjoy them as much as I have.

I take only credit for my good taste and not for ownership, use or distribution rights of the sounds or graphics and code listed below.

Graphics

The terrain for game comes from a texture from the original Age of Empires.

The Sprites were all provided by The Fireheart blog as I have no graphical talent. I smooshed some together to make them one sheet but they did all the real work. Thank you very much.

The two Mute symbols were created by Caroline Hughes especially for my game and must be credited to this site if used elsewhere..

Music

Level One - Kacee Clanton, Don't Do me Wrong, the instrumental version, as featured on The Saboteur OGST.

Level Two - The Afrigo Band, kasongo, this is from The Last King Of Scotland OST.

Level Three - Peter Gabriel, In Your Eyes, From his 2012 release "New Blood". This is one seriously cool remake by the original writer of the song some 40 years ago.

Level Four - Hans Zimmer, Up Is Down. From The Pirates Of The Caribbean At Worlds End OST. Excellent Tension Builder.

Level Five - Jeremy Soule, Skyrim main Theme (Edited I think - I got it off YouTube). Cracking Final Theme.

Sound Effects

The Male Voice sound effects were taken from the original Duke Nukem game series and source from Here. Thankyou to Apogee Software Ltd./3D Realms and wavesource for those.

The chiming sound when you catch a goblin is from the original Sonic game. Thankyou to Sega.

The Capture sound is from Mario Bros. Obtained from The Mushroom Kindom. Thankyou's to them for making such a complete list of audio sounds.

The Sound Effect when you pause is from C&C Tiberian Sun. Classic Game... Audio Obtained From Wavesource again. An incredibly useful website.

Code Assistance

The sound.js file was taken from This Guide. Very useful site. I have added my own audio feature for the music after trying to break this well encrypted code open. It provided an incredible learning experience once I had shredded my hair and knocked myself unconscious. However it was useful to teach me to just write my own stuff.

The "pad" function was provided Here. This was used to make the level timer look like a timer rather than a big pile of poo. However this was edited to suit my purpose. Thankyou to StackOverflow for being able to find that one.

The Touchscreen Sensor for displaying the correct onscreen controls was provided by This Clever Chap. Kind regards to him, though I did modify to fit my means once again :).

Thanks must also go to HTML5canvastutorials.com, Stackoverflow and the many sites dedicated to teaching everyone else the easy and complicated parts of HTML5, all in one page.