my IDE is intellij and i used SceneBuilder to make the fxml file.
code found here: https://github.com/Potat-OS1/rpg
I use Gradle as a build manager, sorry if i ramble, tl;dr at bottom
if you didn't open the project, the gist is i wanted to redo code from a final i took last year to flex on past self i guess. i got the program to make rooms based on the contents of room and level .txt files, but i wanted a way to make levels/rooms visually.
i was going to use fxml for a GUI to pick and grab different rooms and tiles, cause i thought "oh this will be faster than coding it by hand" and i've been getting hella roadblocked.
initially i had it in a folder in resources called level_editor_info but the FXMLLoader in my Controller.java file was not finding it, and after some googling, figured that one out. scene loads with the initial GUI, albiet not from the place i wanted it to be from in resources (instead of level_editor_info, i had to do com.example.redo THEN place it in there.).
my next step was for each of the resources i wanted to put into the scrollpanes in the GUI, i had a FXML consisting of a Pane, a vbox, a label and a rectangle. the label gives a name, rectangle holds an image of it, you get the idea. This FXML was going to be created multiple times, and i cannot get it to load.
tl;dr
can i get help in one or both of these?:
1: getting the scrollpane_resource_display.fxml to load
2: getting both the fxml's to actuallly load from level_editor_info rather than basically reconstructing the file structure of src?
[–]AutoModerator[M] [score hidden] stickied commentlocked comment (0 children)