Firstly, this is what i've done so far (sorry about the colours, i went a bit crazy)
Anyway, i' sure most (if not all) of you would have played the snake games and it's variations.
What i was wondering is, if you know any great features that some snake games have had, could you please post them so i can add them to this game.
Also, evetually i'll use Gettickcount instead of a timer ( i know, bad me) and DirectX (maybe overkill, but hey) and perhaps have the ability to have more than 2 players (like 10 or something)
Anyway, any suggestions would be great (even if it is just: "change the colours!!")
I would say: Add some graphics =]
Also, when i pick up a block i see a yellow block flickering in the left corner of the screen. And.. when I died the whole program shut down. You might want to return to the first screen (with the selections). Good game!
Try to add a head, and a tail to the snake....and maybe when it eats the "thing" you could see the thing go thru the body (if you understand what I mean)...
1) The flickering is fixed. Just had trouble before with 1/2 player differences, but i've made it as many players as wanted (only limited by keyboard space)
2) I know, i know, i'll use gettickcount (just have to learn how to)
3) The colours are bad i know, but i'll fix them eventually (maybe)
4) Ok, good suggestion, i'll make it return to the start (or even to a score screen)
I'm eager to see your result sql_lall...but in the mean time, I post a little thing I did...It's a snake clone too...
It's not using GetTickCount either ...so if it goes to fast....push 1-9 keys for changing the speed...and 0 to pause the game. To exit before finished push Esc. You move player 1 keys with the arrows.
The game is really slow...that’s my fault...but I did this just to learn, not so everyone with a slow computer could play it...
When i run the .exe, an error comes up saying:
Runtime error 91:
Object Variable or With block variable no set
And then quits
(oh, i'm not sure what version of DirectX i have, so that would probably be the problem)
Also, i am just making a level-editor, so when that's finished i'll post the source probably
Oh, and *soon* i'm getting a book on DirectX in C++, so i'll try and write it in that if the game turns out OK
1 other thing. I was making a colour-maker (like, you input the RGB values and it shows u the colour) BUT whenever i set green > 127 there was an overflow error. V. Confusing. What type of variables must be used for colours?? I was just using 'long'.
OK...I could make some more debugging in to the game to solve your problem, but first I want too hear if someone else got the same problem....but you probably should upgrade your DX version anyway.