HOWWWWW??
Posted: Sun Jan 11, 2009 8:53 am
I WANT TO MAKE A GAME!!!! HOWWWWW?????
johnstone000 wrote:i would like to make a simple dodge game and i basically know nothing =\
Caaz Games wrote:johnstone000 wrote:i would like to make a simple dodge game and i basically know nothing =\
took me a while but i found my old game, is it something like this you want to make?
viewtopic.php?f=6&t=3083
you cal look in the code
x+=5;
x-=5;
y-=5;
y+=5;
x+=5;
x-=5;
y-=5;
y+=5;
char *key=GetKeyState();
if (key[KEY_RIGHT]==1)
{
x+=5;
}
if (key[KEY_LEFT]==1)
{
x-=5;
}
if (key[KEY_DOWN]==1)
{
y+=5;
}
if (key[KEY_UP]==1)
{
y-=5;
}