Welcome to the CSC Q&A.
Get help and give help!
Write great code!
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 (8 points)

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 (8 points)
+2 votes

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

answered by (8 points)
+2 votes

You could try adding them to the same group

answered by (8 points)
+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 (8 points)
...