- Nov 4, 2019
- 13
- 0
I have a logic_case -> math_remap -> math_counter setup that effectively generates a random number between 0 and about 530,000 when the map starts. The number is then deposited in a logic_compare where it is used to determine a pattern for a code-breaking game I have created.
However, without knowing what this value is, the game is unplayable.
How would I go about displaying this value somewhere in the map? The values I am using are not pre-generated, so I cannot make specific textures for specific numbers. It needs to work for the general case. I do not want to hard-code any of the values into the map.
Things I have looked into:
If it helps, here is the game in action:
https://files.catbox.moe/10nd1c.webm
However, without knowing what this value is, the game is unplayable.
How would I go about displaying this value somewhere in the map? The values I am using are not pre-generated, so I cannot make specific textures for specific numbers. It needs to work for the general case. I do not want to hard-code any of the values into the map.
Things I have looked into:
- game_text: Would probably be the least elegant but easiest solution. Problem is, I don't know how to change the text by sending it an input. Can I change the message property using AddOutput? How would I pass in the parameter?
- A ToggleTexture system similar to the way the buttons are set up to display the number somewhere.
If it helps, here is the game in action:
https://files.catbox.moe/10nd1c.webm
Last edited: