MvH World Editor (v1.0)
Monsters vs. Heroes (MvH) World Editor is a JavaFX GUI application to create, load, and edit world files for the MvH
game from Assignment 2
To run the program as a .jar file using JavaFX, first make sure you have the latest version of JavaFX installed
Using an IDE such as IntelliJ IDEA, create a run configuration using the .jar file
Look for an option called "VM Options" or similar in your .jar file run configuration settings
Add the following arguments depending on your JavaFX lib directory
--module-path " JavaFX lib folder path here" --add-modules=javafx.controls,javafx.fxml
Run the configuration
The program consists of 4 main components:
File Menu
Help Menu
Create World
Entities
World View
Stats
Select Entity
File Menu
Option
Description
Load
Load existing World file
Save
Save new World file
Quit
Exit program
Help Menu
Option
Description
About
Shows program information
Option
Description
Row
Row dimension for new World
Column
Column dimension for new World
Create
Create new World using given dimensions
Option
Description
Symbol
Symbol for new Hero entity
Health
Health stat for new Hero
Weapon Strength
Weapon Strength stat for new Hero
Armor Strength
Armor Strength stat for new Hero
Row
Row index for new Hero
Column
Column index for new Hero
Add Hero
Add Hero using provided info
Option
Description
Symbol
Symbol for new Monster entity
Health
Health stat for new Monster
Weapon
Weapon Type for new Monster
Row
Row index for new Monster
Column
Column index for new Monster
Add Monster
Add Monster using provided info
Option
Description
Row
Row index for entity to be removed
Column
Column index for entity to be removed
Remove
Remove entity at provided indexes
Display World as a String with:
Walls as #
Floors as .
Heroes as their assigned symbol
Monsters as their assigned symbol
Displays the stats of newly created Hero and Monster entities or entities that
whose row and column index have been provided by Select Entity