How do I keep my chat between layouts?

Get help using Construct 2

Post » Fri Aug 12, 2016 10:27 am

Hi.
I'd like to keep the chat interface, content and interactivity (from the multiplayer chat example) when I go to another layout.

How to do that ?
B
12
S
7
G
7
Posts: 450
Reputation: 4,276

Post » Fri Aug 12, 2016 1:40 pm

You can add the "persit" behaviour to them, and have all of that UI stuff on a separate layout which is set to global.

This means you just have to create a layer on your game layout(s) named the same as your UI layout. Any events you use to change things like chat menu or whatever, it will be on every layout that you use the global layout as a layer.

~Sol
Tired of crappy file hosts that are crappy? Get DROPBOX - https://db.tt/uwjysXJF
Moderator
B
81
S
34
G
40
Posts: 3,032
Reputation: 30,424

Post » Sat Aug 13, 2016 12:18 am

Neat, I'll try that. Thanks :)
B
12
S
7
G
7
Posts: 450
Reputation: 4,276

Post » Sat Aug 13, 2016 5:32 pm

I tried and it works perfectly. Amazing. I shall now create my game !
B
12
S
7
G
7
Posts: 450
Reputation: 4,276


Return to How do I....?

Who is online

Users browsing this forum: jasontoups, OddConfection and 3 guests