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 

cursor tutorial

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



Joined: 10 Oct 2005
Posts: 11
Location: London, UK

PostPosted: Mon Oct 10, 2005 4:54 am    Post subject: cursor tutorial Reply with quote

in the controler code at http://wiki.ps2dev.org/psp:lua_player:tutorial
how can you also make the cursor move with the d pad? and use an image as the cursor?
Back to top
View user's profile Send private message MSN Messenger
Shine



Joined: 03 Dec 2004
Posts: 728
Location: Germany

PostPosted: Mon Oct 10, 2005 5:21 am    Post subject: Re: cursor tutorial Reply with quote

I've updated the tutorial.
Back to top
View user's profile Send private message
BrokenHeartedLoser



Joined: 10 Oct 2005
Posts: 11
Location: London, UK

PostPosted: Mon Oct 10, 2005 7:11 am    Post subject: Reply with quote

thanks but the first question wasn't answered...it must be possible :)
Back to top
View user's profile Send private message MSN Messenger
Shine



Joined: 03 Dec 2004
Posts: 728
Location: Germany

PostPosted: Mon Oct 10, 2005 8:21 am    Post subject: Reply with quote

BrokenHeartedLoser wrote:
thanks but the first question wasn't answered...it must be possible :)


Moving with the d pad doesn't make sense, but you could do it with testing for up/left/right/down and adding, subtracting a constant to x1/y1, as showed in the Pac Man example later in the tutorial.
Back to top
View user's profile Send private message
BrokenHeartedLoser



Joined: 10 Oct 2005
Posts: 11
Location: London, UK

PostPosted: Mon Oct 10, 2005 10:58 pm    Post subject: Reply with quote

yes d pad stands for directional pad :)
Back to top
View user's profile Send private message MSN Messenger
Giuliano



Joined: 13 Sep 2005
Posts: 78

PostPosted: Tue Oct 11, 2005 3:46 am    Post subject: Reply with quote

BrokenHeartedLoser wrote:
yes d pad stands for directional pad :)


A cursor with the d-pad doesn't make sense because it's much harder to do movement with it since going diagonally is a pain in the ass.
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