!!Need some keycodes!!

Started by MAZAA, Sun 12/10/2008 13:55:46

Previous topic - Next topic

MAZAA

how can I move player character left,right and down on the arrow keys?  ???

I use ags version 2.72

nihilyst

You could use THIS MODULE. Don't know if it works with 3.0, though.

Khris

Isn't this built-in anyway in the latest versions?

Ghost

The last default template made by Rui has the keyboard movement build in, yes. I don't know if it is included in the current beta, but the last stable version has it.

MAZAA

I use that script to move player character to up

if (IsKeyPressed(372) == 1)
  character[PLAYERSHIP].Walk(character[PLAYERSHIP].x, character[PLAYERSHIP].y-18);

and I think I found left arrow keycode number but player character go grazy(it go somewhere) when I test it

TwinMoon

If you need the keycodes, look up "ASCII code table" in the AGS help file.

MAZAA


SMF spam blocked by CleanTalk