Unit Selection Interface; 2 Problems

Get help using Construct 2

Post » Thu Mar 28, 2013 7:26 am

Hello, how is everyone, ok? i'm having 2 problems:

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


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

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

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:


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


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


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!Joannesalfa2013-03-28 07:27:08
B
96
S
25
G
20
Posts: 3,052
Reputation: 22,638

Post » Thu Mar 28, 2013 9:08 am

Got this Problem also, but its hard to tell you how I fixxed it.

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

localboss2013-03-28 09:20:10
B
15
S
6
G
6
Posts: 512
Reputation: 5,550

Post » Thu Mar 28, 2013 5:18 pm

Here is a way a bit different to what you were doing:
http://dl.dropbox.com/u/5426011/examples17/selection_interface.capx
B
79
S
24
G
52
Posts: 4,725
Reputation: 39,713

Post » Fri Mar 29, 2013 1:15 am

@R0J0hound strikes back!

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

@Darklinki Check this .capx, isn't using arrayJoannesalfa2013-03-29 01:15:25
B
96
S
25
G
20
Posts: 3,052
Reputation: 22,638


Return to How do I....?

Who is online

Users browsing this forum: No registered users and 5 guests