Unit Selection Interface; 2 Problems

0 favourites
  • 4 posts
From the Asset Store
Selection frame like in RTS games, works both on mobile and desktop devices.
  • Hello, how is everyone, ok? i'm having 2 problems:

    I'm creating an unit selection interface, take a look:

    <img src="http://i.imgur.com/OyNKNPc.png" border="0">

    ---------------------------------------------------------------------

    ---------------------------------------------------------------------

    <img src="http://i.imgur.com/k78t2Gv.png" border="0">

    ---------------------------------------------------------------------

    ---------------------------------------------------------------------

    This is how you assign the units, each unit is assigned becomes disabled and goes to slot.

    It's already done in my .capx

    The problem, i couldn't create this mechanic like this:

    <img src="http://i.imgur.com/UKXrd9L.png" border="0">

    ---------------------------------------------------------------------

    ---------------------------------------------------------------------

    <img src="http://i.imgur.com/r75RKBz.png" border="0">

    ---------------------------------------------------------------------

    ---------------------------------------------------------------------

    This is expected result, there are 2 problems:

    -Units on the slots cannot move back when installed units are deleted.

    -Units outside of the slots cannot re-enable after of unit in slot is deleted.

    There is my .capx

    Unresolved Unit Selection Interface .capx

    Anyone would help me?

    Thanks in advance!

  • Got this Problem also, but it?s hard to tell you how I fixxed it.

    I?ll try it but first tell me how you manage the informations in the slots ? I have made this with an array.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Here is a way a bit different to what you were doing:

    http://dl.dropbox.com/u/5426011/examples17/selection_interface.capx

  • R0J0hound strikes back!

    It looks very different, but i use it now, thanks! :)

    Darklinki Check this .capx, isn't using array

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