| View previous topic :: View next topic |
| Author |
Message |
justatest
Joined: 19 Dec 2005 Posts: 10
|
Posted: Tue Dec 20, 2005 1:49 pm Post subject: HELP ! about Controls |
|
|
while i use pad:up down left right , i hope to get the 'one press , and just move one time ' ,
but now while i press a direction button , it do all thelogic things in the scope looply, what should i do ? help !!!! much appreciate !
my code is like this :
if pad ~= oldPad then
if pad:left() then
........
end
oldpad = pad
end |
|
| Back to top |
|
 |
Bob535
Joined: 04 Nov 2005 Posts: 56
|
Posted: Tue Dec 20, 2005 2:25 pm Post subject: Re: HELP ! about Controls |
|
|
| justatest wrote: |
if pad ~= oldPad then
if pad:left() then
........
end
oldpad = pad
end |
Need to change the oldpad = pad to oldPad = pad, captialization is important. |
|
| Back to top |
|
 |
justatest
Joined: 19 Dec 2005 Posts: 10
|
Posted: Tue Dec 20, 2005 3:16 pm Post subject: |
|
|
>_<.......
thx . >_<...... |
|
| Back to top |
|
 |
|