Quantcast
Viewing latest article 12
Browse Latest Browse All 235

How to create an in game log that records player actions?

I'm trying to do the above. I want to create a log that records player actions, e.g. if you select a chair, the text "this is a chair" appears in a textbox. But if I then selected a table, the text: "this is a chair" is replaced with: "this is a table", and the text about the chair appears in a textbox above it, creating a log of things the player has done. I can get the chair and table text to appear in the first textbox, but I'm unable to get it to move to textbox above when a new object is selected. ![alt text][1] Below is the code for the the "this is a chair" test code. ![alt text][2] [1]: /storage/temp/170564-capture.png [2]: /storage/temp/170565-capture.png

Viewing latest article 12
Browse Latest Browse All 235

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>