How do I make a Lobby with rooms's description?

Get help using Construct 2

Post » Fri Apr 15, 2016 11:14 am

Message: Sherlautten can only post plain text URLS until they have 500 rep. 1 URLS modified. Why?
Hi everyone!

I need help because I'm having a problem making my lobby.

What I want is a list of the rooms but the "list" object, only allows me to put 1 objet, not to make a description of the room as I want.

Image

As you see, there is a lobby, players make rooms(Which I suppose I will be able to store in an array and print the lobby with data from there).

I have seen the Tic tac Toe's tutorial for building a Lobby
https://www.scirra.com/tutorials/1003/t ... bby/page-1

and also tried with the ListView plugin
plugin-listview-11-theme-sorting-update-v1-2_t124360

EDIT: Can't post URLS.

But in the first case I only can put the name of the hoster, for example, and in the second I can't click on the room, it gives just description, so I don't know how to make it.

Any idea or plugin which allows me to make an event to connect the list and the connection to the room we choose? Or.. Is there some way to insert data in the list and give them the style I want?

Thanks very much!
B
3
Posts: 6
Reputation: 185

Post » Sat Apr 16, 2016 1:21 am

Hi Sherlautten,

before I paused it, I worked on a project (and are still working :D) which also gots a "list & search open games" with X slots for each player. That part isnt really finished (and still needs more work).
Are you using the same backend-logic for creating and showing/listing rooms as in the tutorial you mentioned? How are you sending the informations to all clients, when a room opens? You possibly could include a 2D array which includes all relevant informations about each rooms and is sended AsJSON to all clients everytime the client/list refreshs; after recieving the array, put it into an another array and show its contents on the list. This could also be possible with variables & parameters. Try posting the link with spaces in it after and before each "." so we still can take a look in.

Have a great weekend,
Proxy
B
24
S
14
G
9
Posts: 118
Reputation: 6,799


Return to How do I....?

Who is online

Users browsing this forum: dop2000, mariusvm and 13 guests