cursor tutorial

Discuss using and improving Lua and the Lua Player specific to the PSP.

Moderators: Shine, Insert_witty_name

Post Reply
BrokenHeartedLoser
Posts: 11
Joined: Mon Oct 10, 2005 3:30 am
Location: London, UK

cursor tutorial

Post by BrokenHeartedLoser »

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?
Shine
Posts: 728
Joined: Fri Dec 03, 2004 12:10 pm
Location: Germany

Re: cursor tutorial

Post by Shine »

I've updated the tutorial.
BrokenHeartedLoser
Posts: 11
Joined: Mon Oct 10, 2005 3:30 am
Location: London, UK

Post by BrokenHeartedLoser »

thanks but the first question wasn't answered...it must be possible :)
Shine
Posts: 728
Joined: Fri Dec 03, 2004 12:10 pm
Location: Germany

Post by Shine »

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.
BrokenHeartedLoser
Posts: 11
Joined: Mon Oct 10, 2005 3:30 am
Location: London, UK

Post by BrokenHeartedLoser »

yes d pad stands for directional pad :)
Giuliano
Posts: 78
Joined: Tue Sep 13, 2005 10:26 am

Post by Giuliano »

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.
Post Reply