is there someone who can tell me?. how to display text, which will gradually be printed on the player's eyes. I almost completed my game and with this job I have problems. need to display the text that will itself print. the full text is set in code.
Comments
@creative_novice I'm not sure what you're asking
printed on the players eyes
ordisplay text that will itself print
. There 2 ways to display text, that's with thetext
orprint
commands. Can you explain more.Perhaps progressively displaying a string "letter-by-letter"?
Are you after something like this.
EDIT: Depending on how you want to animate this, you could use tweens.
Here's some animation using tweens.
Here's another example.
WOW! My game will be ready in a few days. Popularity codea should rise up
how to add recent and proposed animations in one of the pages this code?
So first it's not called
gamemode = Strl
, it's calledgamemode = Strl()
I mean the brackets. If you don't use brackets it will return nil.@TokOut please don't try to answer questions until you've learned some basic lua.
gameMode
here is a function pointer. You don't use the brackets when setting a pointer, because you are deferring the call until it is needed, in this case, in the draw loopgameMode()
. This is a very common technique in finite state machines.@creative_novice you've been given lots of samples in this thread. Why don't you try incorporating one of them yourself? As it is, we have no idea what text you are trying to display, when, or why. You've given us almost nothing to go on. I think your game might need more than a few days
no. the game definitely will be completed within a few days. if I gave you full instructions, then you could explode the brain
. you helped me a lot and based on your examples and your knowledge I made a very interesting game. I just want to do something interesting. the basics of Lua I know is normal.
thank you Google translator
thinking. will release the game as it is. when will the money turn to more detailed help.
who could help the currency? and for how much?
if there are Russian, it will be still better
I'm russian, help needed.