In JavaFX how do I move a sprite across the screen?
Your question is too much to be covered on SO. However I created a simple “engine” for you to start with. It’s general purpose, so also suited for your needs. The main class with the game loop where the game is loaded, input is checked, sprites are moved, collision is checked, score is updated etc … Read more