Hi,
I had a project on the back burner I decided to work on a bit today. The goal is to create a story making application template, so I began with getting the core stuff going for fictitious tales about a London-based tailor/spy, Mr. McDonagle.
In the attached example I have one chapter designed with a number of editing controls and some debug code. I decided the format of my content needed to be flexible, so I have designed it around a JSON format. My hope is that it will make adding additional features in future versions easier to implement (like triggering speech or animations coded in the JSON file). At the moment the stack saves JSON files externally to the "documents" folder.
BTW, I use "JSON Editor v. 1.5" from the Apple App Store for viewing and editing JSON files.
Happy Coding,
Mike
Building a Story Maker App - "Mr. McDonegal"
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
Building a Story Maker App - "Mr. McDonegal"
- Attachments
-
- Mr. McDonegal's Crown Jewel Caper.livecode.zip
- (145.44 KiB) Downloaded 502 times
Re: Building a Story Maker App - "Mr. McDonegal"
That looks really good!
Only comment would be there is something funky with the typewriter speed slider... changing it back and forth has weird results and it probably needs a narrower range of values...
The JSON angle is nice, I'll have to look into that more...
Only comment would be there is something funky with the typewriter speed slider... changing it back and forth has weird results and it probably needs a narrower range of values...
The JSON angle is nice, I'll have to look into that more...
Re: Building a Story Maker App - "Mr. McDonegal"
Mike.
I cannot use the stack. Upon clicking the main button, which I see has the single line "go next card", LC crashes hard.
I used the message box to "go next card", and LC crashed.
I am on a Mac Mini, LC 9.6.9 OS 13.4 Ventura.
Craig
I cannot use the stack. Upon clicking the main button, which I see has the single line "go next card", LC crashes hard.
I used the message box to "go next card", and LC crashed.
I am on a Mac Mini, LC 9.6.9 OS 13.4 Ventura.
Craig
Re: Building a Story Maker App - "Mr. McDonegal"
Hi,
I'll take a look at what might be the problem running under version 9.6.9, I have that available. Might take me a minute.
Mike
I'll take a look at what might be the problem running under version 9.6.9, I have that available. Might take me a minute.
Mike
Re: Building a Story Maker App - "Mr. McDonegal"
Mike.
Please do. I would be interested in how a version change would react so differently with such a simple and fundamental single line of code.
Craig
Please do. I would be interested in how a version change would react so differently with such a simple and fundamental single line of code.
Craig
Re: Building a Story Maker App - "Mr. McDonegal"
Craig,
On my intel iMac with Mojave and LC 9.6.9 the stack runs fine. When I try to run it on my M1 mac mini under Sonoma with 9.6.9 it hangs just as you are reporting. I've tried a few things but nothing has worked yet...a mystery. I may try rebuilding incrementally to see where the trouble arises because I haven't a clue at the moment.
Mike
On my intel iMac with Mojave and LC 9.6.9 the stack runs fine. When I try to run it on my M1 mac mini under Sonoma with 9.6.9 it hangs just as you are reporting. I've tried a few things but nothing has worked yet...a mystery. I may try rebuilding incrementally to see where the trouble arises because I haven't a clue at the moment.
Mike