joy stick in game maker advice and hi

A place for people with an interest in developing new shmups.
Post Reply
collapsicon
Posts: 9
Joined: Fri Oct 28, 2005 7:07 am
Contact:

joy stick in game maker advice and hi

Post by collapsicon »

Hi all,
I'm working on a horizontal scroller in game maker with the vision to keep every thing controllable with joy sticks, basically I'm needing some help on how to make selection screens controllable with joystick 1/2. also I haven't gotten into the coding side of game maker yet so go easy on me
:wink: cheers
collapsicon
Posts: 9
Joined: Fri Oct 28, 2005 7:07 am
Contact:

Post by collapsicon »

hmm thinking about it, tell me what you think:
I'll make a selection graphic (basically a little boarder graphic that, tells the user what's currently highlighted) and when the game starts place it over
the default selection, in its create instance Ill place a variable joysel.global
value = 1 then ill create actions for up and down joystick commands which make the object move to a x, y position ie over the upper or lower selection
but there has to be an easier way than this surely!! ...maybe I lay down all 4 selection objs but only make one visible? moving up and down would basically be selecting that obj to become visible and setting joysel.global to a number
that when the user pressed A would check what that number was and go to the right room ect... am I going about this the right way you think?
:roll:
User avatar
battlegorge
Posts: 67
Joined: Thu Feb 16, 2006 12:39 pm

Post by battlegorge »

The part with the variable is correct.
But you dont need 4 objects and you dont need to move anything.
1 object and 1 variable is enough.
Here is a quick example i made:
http://host-a.net/getfile.php?usern=bat ... admenu.gm6
collapsicon
Posts: 9
Joined: Fri Oct 28, 2005 7:07 am
Contact:

Post by collapsicon »

alright,
haven't checked this with a joystick yet,
but looks to be the bizz, thanks so much,
I haven't done any thing with scripts yet but looking at this
is making me less scared 8)
I guess my next question is how you would handle character selection
screens where you want to high light different graphics, if you catch my drift?
and less important but still cool would be hi-score name input with a joystick?
its funny that there's not more staned modals with joy stick support for things like this, gm can seem a bit mouse orientated some times.
thanks for your help
Post Reply