Compare commits
3
Commits
2dd1f4f3e5
..
main
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
40ae0a3861 | ||
|
|
fce2c75fea | ||
|
|
0d0801e193 |
@@ -1,4 +1,6 @@
|
||||
# World6-travelmap
|
||||
I made a tool for marking paths and measuring distance. :D
|
||||
|
||||
I made a little program for displaying a simplistic graph of nodes and edges to
|
||||
make a travel network with calculated distances... specifically for my Minecraft
|
||||
World.
|
||||
@@ -27,8 +29,8 @@ Use transparency. 25% works well.
|
||||
- `radius` can be an array of x/z radii to draw an ellipse instead of a circle
|
||||
- `mode` can be "line" to draw an outline instead of filling
|
||||
- `image` can be a file path, in which case `size` must be an array of desired
|
||||
width/height
|
||||
- (path relative to the JSON file? or relative to the executable?)
|
||||
width/height (I recommend placing these in a subdirectory)
|
||||
- path must be relative to the JSON file
|
||||
|
||||
Images are only loaded if they will be displayed.
|
||||
|
||||
@@ -55,3 +57,9 @@ Images are only loaded if they will be displayed.
|
||||
]
|
||||
}
|
||||
```
|
||||
|
||||
## Tasks
|
||||
- [ ] image loading can't cope with arbitrary JSON file locations and always tries to load from within the repo
|
||||
fix: use the DroppedFile during load to get path to load relative to
|
||||
- [ ] r should reload whatever is currently loaded, not the default
|
||||
- [ ] Split the code that makes this work from its use for my world, make it available easily from anywhere.
|
||||
Reference in new issue
Block a user