Unit Selection Interface; 2 Problems

  • 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.

  • Here is a way a bit different to what you were doing:

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

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • 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)