123
-=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- (c) WidthPadding Industries 1987 0|720|0 -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=-
Socoder -> Web Development -> Znax Clone In Javascript

Tue, 27 Mar 2007, 13:32
mike_g
Some of you guys might remember this game I made for a WW where you had to remove coloured blocks on a grid. Well I remade it in javascript with nicer graphics and a couple of bug fixes. I'm currently working on a set of special tiles too which should add some more depth to the game. You can play it HERE. Have fun
Wed, 28 Mar 2007, 12:47
HoboBen
Nice

I thought that the yellow and green tiles looked too similar, so it was hard to tell between them, but still...

Wowie

You're a god with this JavaScript dealie

-=-=-
blog | work | code | more code
Wed, 28 Mar 2007, 13:32
mike_g
Yeah lots of people reckon the tiles are too dark. so i'm going to lighten them up a bit which should make the colours easier to see. I still got to code the power ups but i'm a bit bogged down with assignments at the mo. Still I should have an update some time soon.

Also thanks for the complements tbh so far I found javascript really easy to get to grips with. You seem to know a fair bit about C++, and html, so you should pick it up very quickly if you wanted to have a go at it
Wed, 28 Mar 2007, 13:39
Phoenix
CSS wasn't designed to be used for tilemaps, but you managed to do it anyway

Nice work!
Wed, 28 Mar 2007, 13:50
mike_g
Thanks, and just in case you are interested heres how I learnt to do it:

https://alistapart.com/articles/sprites
Wed, 28 Mar 2007, 14:59
Jayenkai
Yeay!

Well done, Mike. Amazing stuff!
Wed, 28 Mar 2007, 15:34
mike_g
Thanks jay
Wed, 28 Mar 2007, 16:27
steve_ancell
OK, it may take a while for the page to load, but I have to say it, I thoroughly enjoyed playing that. Nice one Mike.
Wed, 28 Mar 2007, 16:39
mike_g
Yeah I think thats sitesled going through a slow spell. The only image I got is 31k. So its not exactly huge.

Still I just ran it through PNGOUT and that sqiushed it right down to 21k! I'll upload the compressed version with the tiles made a bit lighter tommorrow.

|edit| Nite all |edit|
Fri, 30 Mar 2007, 15:52
mike_g
HERES AN UPDATE

Just finished the game off. The special tiles now feature in the game. Hopefully this should make the game more fun. Apart from that the page should load faster now and the tiles are lighter (although I think i like the dark ones more).

Fri, 30 Mar 2007, 16:02
magicman
wow, thats quite impressive! very nice.
Fri, 30 Mar 2007, 16:10
mike_g
Hey, thanks magicman.

btw my highscores: 1488. I wonder if anyone can beat me at my own game?
Sat, 31 Mar 2007, 13:40
Evil Roy Ferguso
I just got 1577. Very nice work -- unlike a lot of games written in Javascript, it doesn't seem to exhibit any bizarre, buggy behavior, or at least not in the latest Firefox. I see only two "problems." One is very minor: when the second portion of the time remaining is only one digit long, it doesn't pad with a zero. Also, over five games, I did not get a single "special" tile, but I'm not sure if that's normal at this point or not.
Sat, 31 Mar 2007, 14:16
mike_g
Hmmn.. I could have sworn that I fixed the time thing. Dunno maybe I uploaded an older version. Theres a few things I want to tweak so i'll get the seconds < 10 thing sorted out as well when I do that. As for the special tiles I think that may have just been down to bad luck but I'll have a go at playing 5 or 6 games in a row just to see. Thanks for the feedback, and well done with the score