How do I display values from local storage as text?

Get help using Construct 2

Post » Sat Oct 10, 2015 10:32 am

Hi all, I am using this https://www.scirra.com/tutorials/1461/how-to-use-the-localstorage-plugin tutorial as a guideline for a project I have. However I am having a problem locating ways to display the amount of coins. What is the best way to do that?
B
5
Posts: 36
Reputation: 301

Post » Sat Oct 10, 2015 10:34 am

You mean something like

set text = localstorage.itemvalue
I told my dentist I had trouble with my teeth and asked her to fix it without looking in my mouth..
B
54
S
16
G
8
Posts: 6,160
Reputation: 19,775

Post » Sat Oct 10, 2015 11:59 am

Tried that. Unfortunately it did not work. Can you specify at which event do I add that? - Tried adding to the last one. but did not work.

Edit - Made it work - added the set text to the 3rd event.
B
5
Posts: 36
Reputation: 301


Return to How do I....?

Who is online

Users browsing this forum: No registered users and 26 guests