FXGLGames icon indicating copy to clipboard operation
FXGLGames copied to clipboard

PongGame

Open SpartanDylan7 opened this issue 2 years ago • 5 comments

I bought your book, "Learn JavaFX and App Development", I had just finished the third chapter and copied the pong game down onto my computer. When I ran it it didn't work. The enemy paddle and the player paddle both spawned at 0, 0. I'm not sure why this happened. I double checked the code and rewrote all of it, same issue.

SpartanDylan7 avatar Nov 29 '22 21:11 SpartanDylan7

Hi, thank you for the support.

Can you confirm whether the code from this repository's Pong functions correctly?

AlmasB avatar Nov 30 '22 22:11 AlmasB

No It does not I have copied it over and it does not work. Sorry about the delay to respond.

SpartanDylan7 avatar Dec 09 '22 18:12 SpartanDylan7

When I run the Pong from the GitHub project on macOS Ventura it seems to spawn them in the correct location.

cbmarcum avatar Dec 24 '22 19:12 cbmarcum

For some reason also the BuildAndPlay method doesn't work either. IntelliJ gives me an error whenever I use it.

SpartanDylan7 avatar Dec 30 '22 17:12 SpartanDylan7

This is an IntelliJ bug. The method works, but the IDE highlights it red.

AlmasB avatar Dec 30 '22 22:12 AlmasB