Creating buttons

hi All,

I was wondering what the best way is to create buttons? I will have many buttons in my game, so was wondering if there is an easier way than creating new scenes?

Cheers,
SR

Comments

  • 3itg3itg Member, PRO Posts: 382
    Click the Home Icon.
    Click the Actors Tab.
    Click the "+" arrow at the bottom of the Window.
    Name Actor Button.
    Put rules in actor that react to touch.

    Congrats... you have a button.
  • TheGabfatherTheGabfather Member Posts: 633
    edited March 2013
    I think you mean creating new Actors, instead of Scenes? If so then it really depends.
    If those buttons essentially do the same thing and only differ by say, having a different value for an Attribute, then you might want to read up on the Actor Prototype concept of GS. This'll save you a load of time ie. you won't have to program the same Rules over and over again.

    If you're talking about formatting your button Actors in a Single scene, well it's going to be a slightly more difficult dilemma to solve, not to mention varied / a case-to-case basis. Besides aesthetics (eg. making everything look nice and not too cluttered), you might want to consider functionality (eg. would it be wiser to place directional-pad buttons to the bottom-left of the screen, or should there be an option for the user to relocate it as necessary).

    If I misunderstood your question, kindly say so :) and my apologies in advance.
  • Thanks for your help guys. These buttons essentially do the same thing, but they have to have various images. For example, i have a scene with 5 buttons, and if one is pressed, a pop up menu window needs to appear with 2 buttons, pressing of which can trigger another pop up window. So, I am just trying to find the best way to do this, so I have the least amount of actors and scenes.
    thanks again
  • WingmanappsWingmanapps Member Posts: 458
    You should really take the time to look at the material in the cook book. There are a million ways to achieve what you want.
Sign In or Register to comment.