View Single Post
  #2  
Old 02-02-2002, 06:55 AM
Lomgren Lomgren is offline
Senior Member, Anti-Spam
Join Date: Mar 2001
Location: Missouri
Posts: 196
Lomgren will become famous soon enough
Post

I'm pretty sure that is done with a 'noob code' you know like;

if (keydown(0)){
playery--;
}
and so on,

but then again, I suppose there is nothing stopping this from producing the same effect;

for (i=0; i<4; i++) {
if (keydown(i)) {
playerx+=vecx(i);
playery+=vecy(i);
}
}
__________________
Lomgren - devoted to classic, even though I may be gone for months on end
Reply With Quote