And finally the top view can be zoomed and panned. The side view moves with the top view, but the top view does not move with the side view.
That was a real struggle to do. One of my aim for this small project was NOT to rebuild/refactor/redo half the code just before calling it "done". I managed to do that, but I had to stop myself every few minutes. All that's left in the code is some way to make the functionalities (pan, zoom, drag) more obvious, and maybe, maybe, make the window resizable.
Now that I am using it I will try to correct the mistakes I made in the ship lengths, turret positions, etc. Those are stored in easily editable json files.
Last Edit: Oct 1, 2018 15:18:31 GMT -5 by Capsized
Post by bcoopactual on Sept 29, 2018 8:31:21 GMT -5
Capsized, I used this the other day for the first time. I like it, and again, well done. I'm comfortable with the in-game designer so I still use that for the original design but your program has already been handy for fixing slight imbalances in hexagonal or octagonal structures to make them even and "circular". That's probably worth it just by itself.
What doesn't doesn't kill you makes you stronger. Except Submarines. Submarines will kill you. - Unknown Savant
Nothing is impossible if you're not the one who has to do it. - Former CO on USS Hampton SSN-767
Thanks for the kind words. I started this with selfish objectives but I'm glad you like it (and that it did not destroy your computer and sold your soul to some Lovecraftian monstruosity).
Anyway, update: The zoom had a bad side-effect: because the side view was always resizing so that the side pict's height completely fit, it was possible to zoom enough to make the window bigger than the screen
Now there are no automatic resizing, but the window can be manually resized.
I'm writing this here beause if I don't I'll just procrastinate until RTW is redone using a less obsolete game engine. So I'm going to update my tool for RTW2. I already hit and kinda solved a problem, but there are a few more.
To Do list: - discriminate between RTW1 and RTW2 ship files (I want to keep backward compatiblity), probably using the different funnel data format. - read the new funnel data format - write the new funnel data format - display the funnels correctly on the top-down view - design and implement a new funnel editor - modify the superstructures editors because now there are 6 superstructures
- improve the build process (use venv, make a script for the packaging, etc) - improve the dev process (formal issues, track time per issue, branching, maybe some tests)
Done. One last thing: manage the different max amount of points per superstructure for RTW1 and RTW2,
Last Edit: Jun 29, 2019 15:37:37 GMT -5 by Capsized