[Thread Prev] [Thread Next]
On 1 Jun 2007 at 14:03, zehava wizman wrote:
> > Hi!
> > yes, using Letter instead of numbers solved the problem
Hi Zehava,
here is how "nan zhong" does it in the pacman game:
to keypressed :key
pacman,
if or equal? ascii :key 37 equal? ascii :key 28
[seth 270 fd 15 setsh 5 wait 3 setsh 6 wait 3]
if or equal? ascii :key 38 equal? ascii :key 30
[seth 0 setsh 4 wait 3 setsh 3 wait 3 fd 15]
if or equal? ascii :key 39 equal? ascii :key 29
[seth 90 setsh 1 wait 3 setsh 2 wait 3 fd 15]
if or equal? ascii :key 40 equal? ascii :key 31
[seth 180 setsh 7 wait 3 setsh 8 wait 3 fd 15]
end
Daniel
OpenWorld Learning
Previous by thread:
Re: ascii code for games?
Next by thread:
problems viewing web version on mac
To save an attachment to your computer, PC users should right-click (Mac users, click and hold the mouse button) on the link and then choose 'save target as' from the pop-up menu. A window will then pop up in which you can choose a location for the file.
|