Friday 12 December 2014

The Candyland Invaders

this is the pixelated game world of space invaders in a soothing pixel art,
as these devil aliens invade a kid's Candy valley.  

Here is how i am programming it Using the  HTML's canvas to draw my game and scripting it with JavaScript.

lets begin.
We see Space Invaders here, that means there is a turret shooting bullets at aliens.
hence the Objects needed :
Enemy       / Alien
Player        / Turret
Bullet 

Making Characters :

we wont use images and learn some programming with these industry leaders we are trying to mimic.
So thinking the retro style i believe we need to see how we can draw boxes in a pattern.
That means places to store values .. an array of objects in a variable.

imagine how our t.v works.. there are pixels putting different colors together.
lets try something similar here.

the canvas would be full of small pixels/boxes which when combined, will give you the screen
Is not this the whole concept ?

[WIP]


But imagine the workload now.. look as of how would you have to swap the pixel colors in the grid either in X or in Y.
so lets just make patches of grids whose X and Y positions and directions, we can determine by using the classes. A class of enemies which would be nothing but a group of grid array patches that would change location with a collective X and Y.(global location).


now this image is intentionally left this small. Give a look at the coded left hand of this image. These figures are for the artist to create characters. now it can be multicolored too if the array is denoted by different values for different positions they are being drawn in. 



updating as i go... i'l post when i bring the code into the document     : gameartificer

No comments:

Post a Comment

Contact Form

Name

Email *

Message *

find me on skillpages