FXGLGames
FXGLGames copied to clipboard
PongGame
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.
Hi, thank you for the support.
Can you confirm whether the code from this repository's Pong functions correctly?
No It does not I have copied it over and it does not work. Sorry about the delay to respond.
When I run the Pong from the GitHub project on macOS Ventura it seems to spawn them in the correct location.
For some reason also the BuildAndPlay method doesn't work either. IntelliJ gives me an error whenever I use it.
This is an IntelliJ bug. The method works, but the IDE highlights it red.