Windowing System Problem

Get help using Construct 2

Post » Sat Apr 19, 2014 8:55 pm

So, I'm trying to make a windowing system in C2, but whenever I hit the close button, (it destroys the window and stuff) it always closes all the windows! I know what is causing it but don't know how to fix it. Thanks!

projectbreadfish.capx
You do not have the required permissions to view the files attached to this post.
B
9
S
1
Posts: 45
Reputation: 626

Post » Mon Apr 21, 2014 12:08 pm

Still can't figure it out. :(
B
9
S
1
Posts: 45
Reputation: 626

Post » Mon Apr 21, 2014 10:47 pm

So I guess that it's not possible in C2? 11 people downloaded it - no response.
B
9
S
1
Posts: 45
Reputation: 626

Post » Wed Apr 23, 2014 11:45 am

Ugh. :(
B
9
S
1
Posts: 45
Reputation: 626

Post » Wed Apr 23, 2014 3:14 pm

nutcase84, try this: modified_projectbreadfish.capx

I modified some of your events and added some. i also added the Pin behavior to some of the window elements.

The problem is that you weren't differentiating between objects, so when you tried to delete a specific window object, it deleted all window objects. I used the existing windowID to connect all of the window elements to a specific window.

I hope this helps!
Don't see the fnords and they won't eat you!
B
79
S
17
G
12
Posts: 323
Reputation: 11,850

Post » Thu Apr 24, 2014 2:28 pm

Message: nutcase84 can only post plain text URLS until they have 500 rep. 1 URLS modified. Why?
Wastrel wrote:nutcase84, try this: https://onedrive.live.com/redir?resid=62EB4E8E549786F0!1569&authkey=!AD3vLrRErvWXxuE&ithint=file%2c.capx modified_projectbreadfish.capx

I modified some of your events and added some. i also added the Pin behavior to some of the window elements.

The problem is that you weren't differentiating between objects, so when you tried to delete a specific window object, it deleted all window objects. I used the existing windowID to connect all of the window elements to a specific window.

I hope this helps!


Thank you so much! It works great now!
B
9
S
1
Posts: 45
Reputation: 626

Post » Thu Apr 24, 2014 4:28 pm

@nutcase84, i'm glad i could help!
Don't see the fnords and they won't eat you!
B
79
S
17
G
12
Posts: 323
Reputation: 11,850


Return to How do I....?

Who is online

Users browsing this forum: No registered users and 30 guests