pemcode wrote:HeroScribe uses javax.swing. I edited HeroScribe code with NetBeans IDE 8.2, running on latest Java. I don't think anything is wrong with Swing, and I seriously doubt that Java has any plans to kill support for Swing.
I'm using HeroScribe's XML files for my UE4 HeroQuest game (simulator). My fork just has some small tweaks to the GUI to make the interface faster.
The bigger issue is that HeroQuest XML files are missing the quest text, and the HeroQuest GUI does not support quest text. So I want to extend HeroScribe such that it supports quest text (in the GUI and XML). And maybe Python for game logic.
To clarify, I mean that HeroScribe fork will still be written in Java, but it will allow users to save quest text (in the HeroScribe XML that's also displayed in the HeroScribe GUI) that includes both the actual text and a corresponding Python script. The Python script will be used by my UE4 (Unreal Engine 4) code to execute game logic. However, for simplicity, I may start with simple function calls in the XML, something like:
- Code: Select all
<object id="LetterD" left="12.0" top="6.0" rotation="downward" zorder="0.0" />
<text>The first Hero who searches for treasure will find 84 gold coins in this treasure chest</text>
\script function="Treasure" arguments="gold, 84" /> forum doesn't let me do < for the word script
</object>
The other reason why this may be better than actual Python is that embedding Python in UE4 requires effort. In fact, for whatever reason, this project https://github.com/20tab/UnrealEnginePython only supports "Windows, MacOSX, Linux and Android"... So custom function calls may be better if it's non-trivial to support Python on all platforms.
To me it seems easier to extend the Java version than rewrite it in Python... But maybe not.
by the way are you planning to use the existing HeroScribe XML format for your Python rewrite?
I think you have a great idea there.
Why don't you take a look at the planned file format?
https://github.com/Anderas2/Heroscribe2 ... est-format
I think we are not too far away from each other. Maybe we stay compatible.
