GP2X and the Mouse Pointer

Non-platform specific questions.

GP2X and the Mouse Pointer

Postby ozziedave » Fri Aug 17, 2007 11:29 pm

Hi All,

Could somebody show me how to code for GP2X so that
the Mouse Pointer will show when I compile for GP2X.

Placed a couple of hot spots on a menu, then compiled
but the Mouse Pointer does not show up when the GP2X
is fired up.

Thanks
User avatar
ozziedave
 
Posts: 24
Joined: Sat Jul 28, 2007 6:43 am
Score: 0 Give a positive score

Postby theta » Sat Aug 18, 2007 2:31 am

im not sure if you can use the gp2x's joystick to control the mouse
but you can make a menu that uses the up and down keys to navigate
i've attached an example, it doesn't actually do anything but it shows the mechanics of making some kind of a menu for the gp2x
i did test it on a gp2x as well (with firmware 3.0)
Attachments
menutest.zip
gp2x menu example
(1.66 MiB) Downloaded 97 times
theta
 
Posts: 10
Joined: Sat Jul 16, 2005 8:57 pm
Score: 0 Give a positive score

Thanks a Heap

Postby ozziedave » Sat Aug 18, 2007 5:38 am

Hi theta,

Tried your Menu test on the GP2X and it works a treat. Still like to know if
a mouse pointer is possible though, but in the meantime i'm using your
Menu idea.

Cheers

Ozzie
User avatar
ozziedave
 
Posts: 24
Joined: Sat Jul 28, 2007 6:43 am
Score: 0 Give a positive score

Postby motorollin » Sat Aug 18, 2007 10:49 am

I don't see any reason why you couldn't create an actor with a single-frame animation of a mouse pointer and then set up controls to move it with the GP2X joystick.
motorollin
 
Posts: 54
Joined: Sun Aug 12, 2007 8:05 am
Score: 1 Give a positive score

Postby d-soldier » Sat Aug 18, 2007 3:13 pm

I agree... You could even use a variable to control it, like when you press "start" everything gets paused except the mouse-control, which due to "if" statements, follows the controls when the game is paused, instead of the player.
User avatar
d-soldier
 
Posts: 703
Joined: Sun Apr 08, 2007 2:13 am
Score: 61 Give a positive score


Return to General

Who is online

Users browsing this forum: No registered users and 1 guest

cron