forums.ps2dev.org Forum Index forums.ps2dev.org
Homebrew PS2, PSP & PS3 Development Discussions
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

HELP ! about Controls

 
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PSP Lua Player Development
View previous topic :: View next topic  
Author Message
justatest



Joined: 19 Dec 2005
Posts: 10

PostPosted: Tue Dec 20, 2005 1:49 pm    Post subject: HELP ! about Controls Reply with quote

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
View user's profile Send private message
Bob535



Joined: 04 Nov 2005
Posts: 56

PostPosted: Tue Dec 20, 2005 2:25 pm    Post subject: Re: HELP ! about Controls Reply with quote

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
View user's profile Send private message
justatest



Joined: 19 Dec 2005
Posts: 10

PostPosted: Tue Dec 20, 2005 3:16 pm    Post subject: Reply with quote

>_<.......

thx . >_<......
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PSP Lua Player Development All times are GMT + 10 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group