Picky, Picky

This forum is currently in read-only mode.
  • As the start of my game I want to have a choice between 3 cars with a text expiation about each.

    In other programming languages I would have a radio button that could only pick one and then a play button at the bottom of the form.

    What wold be the best way to select the car in Construct?

  • There really isn't a "best way." There are lots of different ways you could have the player select a car. I would stay away from the button objects and other windows controls, though. Make your own buttons out of sprites.

    Anyway, if it were me I'd make three sprites, one for each kind of car. When you click on a sprite, it sets a global variable stating which kind of car you picked. Then you can go to the next layout and spawn whatever kind of car it was based on that global variable.

  • Is there a simple example of of a front end to make selections?

  • Sure.

    http://dl.dropbox.com/u/529356/clickabox.cap

    If you want a more in-depth tutorial on how to make your own GUI buttons and stuff, check out my Custom UI Elements tutorial:

  • I am getting a run time error with your clickbox.cap Can you check it and re submit please?

    Looking for your Custom UI Elements tutorial: too

  • It's made in the latest version, v0.99.72. Get it here:

    Whenever I make an example .cap for somebody I'm just going to assume they have the latest version. It saves me time and energy wondering what version they might be using.

    Anyway, the .cap is nothing special. You click on a sprite, it changes a global variable. Should be pretty self-explanatory.

    Though my example does use a family for the three different sprites in order to cut down on the number of events.

  • Thank you deadeye I am on v0.99.72 now and your app works. Going to check it out.

  • WOW layouts Changed everything! They are like the rooms on GameMaker.

    Thanks deadeye you example really helped and I suggest you put it up on the tutorial page for new users, since it shows so much that in really not explained.

    BTW I can not tutorial on how to make your own GUI buttons

  • Thanks. It's pretty basic, though. I don't think it needs it's own tutorial thread. Layouts are rather a fundamental aspect of Construct.

    BTW I can not tutorial on how to make your own GUI buttons

    I don't know what you mean. You can't... what? Download it? Open it? Understand it? Read it? Help me out, I need a verb here

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • Well layouts were not as obvious as you might think for a new user. They are now. that I am aware of them now.

    Thanks for all you help I will be done with my beginner game soon now.

  • BTW I can not tutorial on how to make your own GUI buttons

    If you want custom GUI buttons, you could always try out my sprite button plugin.

    Deadeye also has a tutorial on making your own.

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)