Hello,
I like to write a game which is a little bit equal to the boardgame "Robo Rally"
boardgamegeek.com/boardgame/216 ... rally-2016
Here you can program your robo like
"move 2 steps"
"rotate"
"fire"
So I like to create a kind of UI where a user can add (click on a button) actions e.g. move x steps, rotate, fire (realized by different sprites).
The creation of the button which will add these actions is no problem but then it get complicated.
My idea is to use a pointer (sprite) which will check if it is overlapping with an "action-sprite" and trigger the connected action.
What I do not know is, how can I read the values from the "TextBox" which belong to the "action-sprite" and define e.g. amount of steps?
If you also have some hints how to realize this more easier I would be very happy.