P
PixelPluto
Guest
Hello there,
I am new to GameMaker 2 and I'm working with Drag and Drop, and I have a problem with text in my game project.
I would like to do the following: I click with the mouse (event "Left released") on my text object, and the text changes with every click, like this:
click 1 = "Hello,"
click 2 = "my name is PixelPluto,"
click 3 = "how do you do?"
etc.
Is it even possible to do this with Drag and Drop? I looked into every Drag and Drop tutorial, into the forum here, and I tried it with string_replace in the "draw value" action, but so far nothing has worked for me.
I should also mention that I created a counter for this that increases by 1 with every click, and that I put a transparent sprite into the text object, so that the player has some kind of "button" to click on.
I hope I managed to explain my problem here as good as possible, I'm not a native English speaker.
Many thanks in advance for any help.
I am new to GameMaker 2 and I'm working with Drag and Drop, and I have a problem with text in my game project.
I would like to do the following: I click with the mouse (event "Left released") on my text object, and the text changes with every click, like this:
click 1 = "Hello,"
click 2 = "my name is PixelPluto,"
click 3 = "how do you do?"
etc.
Is it even possible to do this with Drag and Drop? I looked into every Drag and Drop tutorial, into the forum here, and I tried it with string_replace in the "draw value" action, but so far nothing has worked for me.
I should also mention that I created a counter for this that increases by 1 with every click, and that I put a transparent sprite into the text object, so that the player has some kind of "button" to click on.
I hope I managed to explain my problem here as good as possible, I'm not a native English speaker.
Many thanks in advance for any help.