Welcome to the CSC Q&A, on our server named in honor of Ada Lovelace. Write great code! Get help and give help!
It is our choices... that show what we truly are, far more than our abilities.

Categories

+5 votes

Is there any way to make the button on the bottom left and the text field on the bottom right at the same time ??

Thank you.

asked in CSC305 Fall 2019 by (1 point)

4 Answers

+2 votes

If you mean making them appear at the same time, then you should create instances of them close together and then add them to the screen one right after the other

answered by (1 point)
+2 votes

What do you mean by button? Like a pause button?

answered by (1 point)
+2 votes

You could try adding them to the same group

answered by (1 point)
+2 votes

That's how my group added text and everything to the game, we just added everything after the road because everything is supposed to be on top of the road. The code is .getChildren().add(variable)

answered by (1 point)
...