Page 1 of 2

Hollywood IDE

Posted: Mon Jun 20, 2016 1:34 pm
by ilbarbax
Now that the RapaGui is available, the Hollywood IDE would needs an improvement adding the possibility to have a furher button to show the xml code as well. Having only the possibility to show the standard hollywood code it is given only a partial view of the examples/programs.

Re: Hollywood IDE

Posted: Wed Jun 22, 2016 7:52 pm
by airsoftsoftwair
Are you talking about the Windows IDE or about the Amiga GUI here?

Re: Hollywood IDE

Posted: Mon Jun 27, 2016 1:18 pm
by ilbarbax
Amiga gui sorry. I'm mainly os4 user and playing with the rapagui examples via the Amiga gui I can see the source of the hws but not the correspondent xml file.

Re: Hollywood IDE

Posted: Tue Jun 28, 2016 2:50 pm
by airsoftsoftwair
Sorry, but that's not going to happen because there's no easy way to detect which scripts are accompanied by XML files.

Re: Hollywood IDE

Posted: Fri May 19, 2017 12:41 am
by emeck
airsoftsoftwair wrote:Sorry, but that's not going to happen because there's no easy way to detect which scripts are accompanied by XML files.
I was also thinking about that recently. Couldn't a preprocessor option like #APPXML be added so you can "link" the xml files if you want and then the Hollywood GUI can open those aufomatcally when the script is opened.

Re: Hollywood IDE

Posted: Fri May 19, 2017 11:46 pm
by airsoftsoftwair
That's already possible using the @FILE preprocessor command. You can just do something like this:

Code: Select all

@FILE 1, "GUI.xml"
moai.CreateApp(ReadString(1))
This will automatically link "GUI.xml" into your applet or executable.

Re: Hollywood IDE

Posted: Sat May 20, 2017 8:55 pm
by emeck
Yes, but I was thinking more in the line of the original posting, opening also the xml file when showing the source .hws, so not a command really but maybe a special kind of comment with a reserved syntax that the Hollywood GUI could easily find to display also the xml file. something like:

Code: Select all

#APPXML=/data/mygui.xml
Just an idea; don't know how difficult could be to implement and obviously not that important but nice to have.

Re: Hollywood IDE

Posted: Wed May 24, 2017 10:44 pm
by airsoftsoftwair
I think a better idea would be if the files declared in @FILE were shown in the tabbed browser on the right (like images, sounds, animations, etc.) and then by double-clicking them they could be opened by the IDE and you could edit them. I think that would be a convenient solution...

Re: Hollywood IDE

Posted: Sun May 28, 2017 8:14 pm
by emeck
That would be very cool to have in the Amiga GUI.

Thank you very much.

Re: Hollywood IDE

Posted: Tue May 30, 2017 11:18 pm
by airsoftsoftwair
Well, in the Amiga GUI you won't see this because the Amiga GUI isn't an IDE.... it's only in the Windows IDE.