Last active
January 17, 2017 15:56
-
-
Save kenwebb/b6466f990af1f8d4ebf895b41c5b8445 to your computer and use it in GitHub Desktop.
Fountain - MYSCREENPLAY - xi:include
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<!--Xholon Workbook http://www.primordion.com/Xholon/gwt/ MIT License, Copyright (C) Ken Webb, Tue Jan 17 2017 10:55:04 GMT-0500 (EST)--> | |
<XholonWorkbook> | |
<Notes><![CDATA[ | |
Xholon | |
------ | |
Title: Fountain - MYSCREENPLAY - xi:include | |
Description: Create your own animated screenplay. | |
Url: http://www.primordion.com/Xholon/gwt/ | |
InternalName: b6466f990af1f8d4ebf895b41c5b8445 based on 47d22bceb251faa89f7b834f31b4dd8e | |
Keywords: | |
My Notes | |
-------- | |
January 10, 2017 | |
http://127.0.0.1:8888/XholonFountain.html?app=Fountain+-+MYSCREENPLAY+-+xi%3Ainclude&src=lstr&gui=none | |
References | |
---------- | |
(1) http://fountain.io/ | |
]]></Notes> | |
<params> | |
<param name="DelayWorkbookCSH" value="true"/> | |
</params> | |
<_-.XholonClass> | |
<TheSystem/> | |
<Universe/> | |
<TreeWanderer/> | |
<ActRegulator/> | |
<!-- buttons --> | |
<PauseButton/> | |
<StepButton/> | |
</_-.XholonClass> | |
<xholonClassDetails> | |
<Avatar> | |
<Color>rgba(255,215,0,0.8)</Color> | |
</Avatar> | |
<TreeWanderer implName="org.primordion.xholon.script.TreeWanderer"> | |
<Color>rgba(255,215,0,0.8)</Color> | |
</TreeWanderer> | |
<Universe> | |
<Color>white</Color> | |
</Universe> | |
<ActRegulator implName="org.primordion.xholon.base.ActRegulator"/> | |
<PauseButton implName="org.primordion.xholon.base.Behavior_gwtjs"/> | |
<StepButton implName="org.primordion.xholon.base.Behavior_gwtjs"/> | |
</xholonClassDetails> | |
<TheSystem xmlns:xi="http://www.w3.org/2001/XInclude"> | |
<MechanismEnabler characterColor="rgba(205,133,63,1.0)" go="now"/> <!-- this must be the first node; the go attribute must be included --> | |
<StorySystem subtitles="bottom"> | |
<ActRegulator val="4.0"/> | |
<Screenplay format="fountain" timewords="NIGHT,DAY,EVENING,MORNING,DAWN,DUSK,EARLY,LATE,CONTINUOUS,SAME,SATURDAY" sceneLocationRoot="Universe" speech="false" truncate="maxlen" maxlen="150"> | |
<xi:include href="#screenplay" roleName="screenplay"/> | |
<!--<xi:include href="https://gist.githubusercontent.com/kenwebb/b6466f990af1f8d4ebf895b41c5b8445/raw/de6c7db0e91421ed4b89f480fe9ae650be00ece0/zHow_to_Wax_Your_Skis.xml" roleName="screenplay"/>--> | |
<!--<xi:include href="urlparam:screenplay" roleName="screenplay"/>--> | |
<Attribute_String roleName="options"><![CDATA[ | |
{ | |
"addIconsToPlaces": | |
[], | |
"formatPersonName": | |
[], | |
"outputPersonNames": | |
{} | |
} | |
]]></Attribute_String> | |
</Screenplay> | |
<Story> | |
<Characters> | |
<!-- characters will be extracted from the screenplay, and inserted here --> | |
</Characters> | |
<Scenes> | |
<!-- scenes will be extracted from the screenplay, and inserted here --> | |
</Scenes> | |
<Universe roleName="MYPLACE"> | |
<!-- scene locations will be extracted from the screenplay, and inserted here --> | |
</Universe> | |
<!-- if speech is enabled in Screenplay, then set speechMultiplier to 2.5 or other value, else set it to 1.0 --> | |
<Director sceneLocationRoot="Universe" speechMultiplier="1.0"/> | |
</Story> | |
<Animate duration="2" selection="#one" tweenScript="xhSvgTween_exp" xpath="./TheSystem/StorySystem/Story/Universe" cssStyle=".d3cpnode circle {stroke-width: 0px;}" efParams="{"selection":"#one","shouldIncludeDecorations":true,"useIcons":true,"shape":"none", "iconPos":"outside","sort":"disable","width":800,"height":800,"mode":"tween","labelContainers":true,"includeId":true,"shape":"circle","supportTouch":true,"maxChars":3}"/> | |
</StorySystem> | |
<PauseButton><![CDATA[ | |
var me, paused, beh = { | |
postConfigure: function() { | |
me = this.cnode.parent(); | |
// pause the app | |
$wnd.xh.state(4); // CS_PAUSED = 4 | |
paused = false; | |
}, | |
handleNodeSelection: function() { | |
// pause/unpause the app | |
if (paused) { | |
$wnd.xh.state(3); // CS_RUNNING = 3 | |
paused = false; | |
} | |
else { | |
$wnd.xh.state(4); // CS_PAUSED = 4 | |
paused = true; | |
} | |
// the Xholon print2Console() IGNORE_ME character | |
return "\u0011"; | |
} | |
} | |
//# sourceURL=PauseButton.js | |
]]></PauseButton> | |
<StepButton><![CDATA[ | |
var me, beh = { | |
postConfigure: function() { | |
me = this.cnode.parent(); | |
}, | |
handleNodeSelection: function() { | |
// this event is caused by pressing the Step button | |
$wnd.console.log("Step event"); | |
$wnd.xh.state(5); // CS_STEPPING = 5 | |
// the Xholon print2Console() IGNORE_ME character | |
return "\u0011"; | |
} | |
} | |
//# sourceURL=StepButton.js | |
]]></StepButton> | |
</TheSystem> | |
<Chameleonbehavior implName="org.primordion.xholon.base.Behavior_gwtjs"><![CDATA[ | |
var me, beh = { | |
postConfigure: function() { | |
me = this.cnode.parent(); | |
$wnd.xh.html.toggle("xhtop"); | |
$wnd.xh.html.toggle("xhgui"); | |
$wnd.xh.html.toggle("xhtabs"); | |
//$wnd.xh.html.toggle("xhfooter"); | |
}, | |
handleNodeSelection: function() { | |
// this event is caused by pressing the Start button | |
$wnd.console.log("Start event"); | |
var subTree = $wnd.xh.stored.csh; | |
if (subTree) { | |
$wnd.xh.stored.csh = null; // prevent the subtree from being used again | |
me.append(subTree); | |
} | |
var img = $doc.querySelector("img#initialimg"); | |
if (img) { | |
img.style.display = "none"; | |
} | |
$wnd.xh.state(3); | |
// the Xholon print2Console() IGNORE_ME character | |
return "\u0011"; | |
} | |
} | |
//# sourceURL=Chameleonbehavior.js | |
]]></Chameleonbehavior> | |
<SvgClient><Attribute_String roleName="svgUri"><![CDATA[data:image/svg+xml, | |
<svg id="controls" xmlns="http://www.w3.org/2000/svg" version="1.1" xml:space="preserve" height="32" width="150" y="0px" x="0px" viewBox="0 0 150 32"> | |
<!-- http://www.myiconfinder.com/icon/next-pause-previous-rewind-forward-stop-play-back-eject-controls-music-button/4923#.128 and edited with Inkscape --> | |
<g id="cntrlPause" transform="translate(-1,1)"> | |
<title>Pause</title> | |
<path id="TheSystem/PauseButton" style="stroke: rgb(169,169,169);" d="m60.277 1.3534c-2.0722 0-3.752 1.6798-3.752 3.752v19.154c0 2.072 1.6798 3.752 3.752 3.752 2.072 0 3.7518-1.6798 3.7518-3.752v-19.155c0-2.072-1.6798-3.7518-3.7518-3.7518M71.532 1.3534c-2.072 0-3.752 1.6798-3.752 3.752v19.154c0 2.072 1.6798 3.752 3.752 3.752s3.752-1.6798 3.752-3.752v-19.155c0-2.072-1.6798-3.7518-3.752-3.7518z"/> | |
</g> | |
<g id="cntrlStart"> | |
<title>Start</title> | |
<path id="Chameleonbehavior" style="stroke: rgb(169,169,169);" d="m3.845 28.7c0.36325 0.21 0.769 0.31 1.1745 0.31s0.811-0.1 1.1745-0.31l19.05-11c0.72675-0.42 1.1745-1.2 1.1745-2.04 0-0.83-0.44775-1.61-1.1745-2.03l-19.05-11c-0.3638-0.21-0.769-0.31-1.1748-0.31-0.4055 0-0.811 0.1-1.1745 0.31-0.72675 0.42-1.1745 1.2-1.1745 2.04v21.99c0.0005 0.84 0.44825 1.62 1.1748 2.04z"/> | |
</g> | |
<g id="cntrlStep" transform="translate(21,-49)"> | |
<title>Step</title> | |
<path id="TheSystem/StepButton" style="stroke: rgb(169,169,169);" d="m126.24 62.881-19.05-10.998c-0.3635-0.20975-0.76875-0.31475-1.1745-0.31475-0.4055 0-0.811 0.105-1.1745 0.31475-0.72675 0.4195-1.1745 1.195-1.1745 2.034v21.997c0 0.83925 0.44775 1.6145 1.1745 2.034 0.36325 0.20975 0.769 0.31475 1.1745 0.31475s0.811-0.10475 1.1745-0.31475l19.05-10.998c0.72675-0.4195 1.1745-1.195 1.1745-2.034 0.00025-0.83925-0.44775-1.6145-1.1742-2.034zM103.28 64.915c0-0.83925-0.44775-1.6145-1.1745-2.034l-19.05-10.998c-0.36325-0.20975-0.76875-0.31475-1.1745-0.31475-0.4055 0-0.811 0.105-1.1745 0.31475-0.72675 0.4195-1.1745 1.195-1.1745 2.034v21.997c0 0.83925 0.44775 1.6145 1.1745 2.034 0.3635 0.20975 0.769 0.31475 1.1745 0.31475s0.811-0.10475 1.1745-0.31475l19.05-10.998c0.727-0.4195 1.1745-1.1948 1.1745-2.034z"/> | |
</g> | |
</svg> | |
]]></Attribute_String><Attribute_String roleName="setup">${MODELNAME_DEFAULT},${SVGURI_DEFAULT}</Attribute_String></SvgClient> | |
</XholonWorkbook> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<Attribute_String><![CDATA[ | |
Title: How to Wax Your Skis | |
Credit: written by | |
Author: Ken | |
Notes: | |
INITIAL DRAFT | |
includes post-production dialogue | |
and omitted scenes | |
Copyright: (c) 2016 Some Movie Studio | |
INT. HOUSE - DAY | |
A man is sitting at his laptop, and a woman is walking in the front door of a house. | |
KEN | |
What time should we go out to get our skis waxed? | |
ANDREA | |
Let's go right now. | |
KEN | |
OK | |
They walk out the door together. | |
INT. MEC - DAY | |
A couple walk in the front door carrying their skis. | |
ANDREA | |
Isn't this a lovely place. | |
KEN | |
I love it here. | |
INT. MEC - SKI DEPARTMENT - DAY | |
GREETER | |
Oh, Sweet Jesus, Dear God, No! | |
The greeter points at our skis. | |
KEN | |
What? | |
GREETER | |
Anything but that! | |
ANDREA | |
Come on. | |
SALES GUY | |
How may I help you? | |
KEN | |
We need our skis waxed instantly. | |
SALES GUY | |
OK. Just lay them on this table. | |
He waves his magic wand. | |
ANDREA | |
Thank you. | |
They walk out of the store into the night. | |
EXT. MEC - NIGHT | |
Two happy people walk out the door and carouse toward their car. | |
> _**THE END**_ < | |
]]></Attribute_String> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment