How do I use xml to choose layout.

Get help using Construct 2

Post » Sat Jan 09, 2016 12:30 am

I have snippets of code that pull text and images from a xml file.

Then it displays the images and text like a book.

I want to set a play button to load the same layout of the LstImg.SelectedText

I have tried trim(xml.stringvalue("game.text()")) , int and float but the button will not load the game/layout.

I have set a random game button using the on click / choose("game1","game2","game3")

But need the other button for those who want a specific game that matches the chosen game from the dropdown list.
B
29
S
13
G
10
Posts: 355
Reputation: 8,317

Post » Tue Jan 12, 2016 1:08 am

bump..

Anybody have a clue as how to set a variable, a global of pram from a text file that can be linked to a button when clicked = layout#?
B
29
S
13
G
10
Posts: 355
Reputation: 8,317

Post » Tue Jan 12, 2016 4:44 am

Message: victoria296 is not yet permitted to post plain text URLS (300 rep required). 1 URLS removed. Why?
Thank you for the post./
B
2
Posts: 3
Reputation: 154


Return to How do I....?

Who is online

Users browsing this forum: dop2000 and 45 guests