This is a read-only archive of the old Scratch 1.x Forums.
Try searching the current Scratch discussion forums.

#1 2008-11-01 12:13:09

darkhelmit4
Scratcher
Registered: 2008-11-01
Posts: 2

how do i make a A W S D key controled movemennt game?

if you can awnser please reply

Offline

 

#2 2008-11-01 12:34:02

keroro645
Scratcher
Registered: 2008-06-07
Posts: 1000+

Re: how do i make a A W S D key controled movemennt game?

<forever>
   <if><key[ a ]pressed?>
        <change x by( -3 )
    <end>
   <if><key[ d ]pressed?>
        <change x by( 3 )
    <end>
   <if><key[ w ]pressed?>
        <change y by( 3 )
    <end>
   <if><key[ s ]pressed?>
        <change y by( -3 )
    <end>
<end>

Offline

 

Board footer