Facebook Twitter YouTube Frictional Games | Forum | Privacy Policy | Dev Blog | Dev Wiki | Support | Gametee


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
programmatic text
MrBehemoth Offline
Senior Member

Posts: 408
Threads: 19
Joined: Feb 2014
Reputation: 40
#14
RE: programmatic text

Ok, I said I would come back and show the working scoreboard, so here it is (no sound):






In this example the text down the left is actually static and can't be changed but the numbers on the right are strings defined in script, with an entity representing each digit. The script decides what entity to swap in using ReplaceEntity() for each character in the string.

The same script could be used to display any text, but I only made entities for the numbers (and the "x"), to save time.

If anyone hadn't guessed already, the scoreboard is for Amnesia: The Second Dimension, and a new trailer will be appearing over on that thread in a couple of hours. Smile

(This post was last modified: 11-01-2014, 04:07 PM by MrBehemoth.)
11-01-2014, 03:51 PM
Find


Messages In This Thread
programmatic text - by MrBehemoth - 10-25-2014, 01:47 PM
RE: programmatic text - by Romulator - 10-25-2014, 03:35 PM
RE: programmatic text - by MrBehemoth - 10-26-2014, 10:56 PM
RE: programmatic text - by Daemian - 10-27-2014, 01:15 PM
RE: programmatic text - by MrBehemoth - 10-27-2014, 06:20 PM
RE: programmatic text - by FlawlessHappiness - 10-28-2014, 12:08 PM
RE: programmatic text - by MrBehemoth - 10-28-2014, 06:10 PM
RE: programmatic text - by FlawlessHappiness - 10-28-2014, 07:08 PM
RE: programmatic text - by Romulator - 10-27-2014, 09:24 AM
RE: programmatic text - by Ongka - 10-27-2014, 12:21 PM
RE: programmatic text - by Mudbill - 10-28-2014, 12:19 PM
RE: programmatic text - by FlawlessHappiness - 10-28-2014, 12:27 PM
RE: programmatic text - by Mudbill - 10-28-2014, 01:15 PM
RE: programmatic text - by MrBehemoth - 11-01-2014, 03:51 PM
RE: programmatic text - by Daemian - 11-01-2014, 04:04 PM
RE: programmatic text - by MrBehemoth - 11-01-2014, 04:23 PM
RE: programmatic text - by Mudbill - 11-01-2014, 04:38 PM
RE: programmatic text - by Daemian - 11-01-2014, 06:53 PM
RE: programmatic text - by MrBehemoth - 11-01-2014, 08:13 PM



Users browsing this thread: 1 Guest(s)