11-24-2005, 01:04 AM
hi,
i am from germany and excuse me if i will make to much mistakes in my text. i cant speak english so well :oops: ...
so i've got a question but i am a real noob *g*
i want to program a simple 2d game.
this is the beginning of the code:
x = 310
y = 150
cls
screen 9
co
circle (x,y),20,1
a$ = inkey$
if a$ = "w" then
circle (x,y),20,0
y = y - 10
end if
if a$ = "s" then
circle (x,y),20,0
y = y + 10
end if
if a$ = "a" then
circle (x,y),20,0
x = x - 10
end if
if a$ = "d" then
circle (x,y),20,0
x = x + 10
end if
now to my question. i want to make a wall left right over and under.
and then i want to make some enemies when you touch them you
are game over...
can you read my text?
can you please help me??
thanks
Cronos
i am from germany and excuse me if i will make to much mistakes in my text. i cant speak english so well :oops: ...
so i've got a question but i am a real noob *g*
i want to program a simple 2d game.
this is the beginning of the code:
x = 310
y = 150
cls
screen 9
co
circle (x,y),20,1
a$ = inkey$
if a$ = "w" then
circle (x,y),20,0
y = y - 10
end if
if a$ = "s" then
circle (x,y),20,0
y = y + 10
end if
if a$ = "a" then
circle (x,y),20,0
x = x - 10
end if
if a$ = "d" then
circle (x,y),20,0
x = x + 10
end if
now to my question. i want to make a wall left right over and under.
and then i want to make some enemies when you touch them you
are game over...
can you read my text?
can you please help me??
thanks
Cronos