Question
I need Maze Game in JavaFX 1. Make sure it is using JavaFX and not the older Swing or AWT libraries. 2. Create a background
I need Maze Game in JavaFX
1. Make sure it is using JavaFX and not the older Swing or AWT libraries.
2. Create a background maze (can be an image you make in Photoshop)
3. Put a sprite on it and move it with the keyboard keys (either arrow keys or "asdw" keys).
4. Get your sprite to collide with the walls and borders. Meaning when it collides it doesn't go through the wall.
This time:
1. Get your sprite to collect a treasure and increase the score (text) if they collect (touch) the treasure. The treasure (gold or whatever) sprite should go away as soon as your sprite touches it.
2. Add enemy sprites that can run into your character and if that happens the game is over. The enemy sprites also must respect walls and not go through them.
3. For extra credit add multiple mazes. For example if the character goes to the right most edge of the current maze then a new room is displayed and the character is put in the extreme left of that room. Exactly how the original Legend of Zelda works:
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started