Page 36 of 121

Re: GuideMe (TeaseMe v2.0): BETA Thread

Posted: Sat Apr 04, 2015 3:57 pm
by BoundSquirrel
I'm trying out the new features in 0.1.3 and have a question on the <Timer> function.

Can the font of the text be changed as the timer runs? I'm trying to merge the 3 pages listed below into one page so I can add a video to them. I want the text to change from one color to the other to indicate what has been said and the new text.
Spoiler: show
<Page id="Page19">
<Text>
<P><Font color="DeepPink">Ooh, was that too much? You didn't like waiting longer?</Font></P>
</Text>
<Image id="018.jpg"/>
<Delay seconds="5" target="Page19a" style="normal" />

</Page>
<Page id="Page19a">
<Text>
<P><Font color="DarkGray">Ooh, was that too much? You didn't like waiting longer?</Font></P>
<P><Font color="DeepPink">Too bad.</Font></P>
</Text>
<Image id="018.jpg"/>
<Delay seconds="3" start-with="15" target="Page19b" style="normal" />
</Page>
<Page id="Page19b">
<Text>
<P><Font color="DarkGray">Ooh, was that too much? You didn't like waiting longer?</Font></P>
<P><Font color="DarkGray">Too bad.</Font></P>
<P><Font color="DeepPink">You're under my control now.</Font></P>
</Text>
<Image id="018.jpg"/>
<Delay seconds="4" start-with="11" target="Page19c" style="normal" />
</Page>
Thank you.

Re: GuideMe (TeaseMe v2.0): BETA Thread

Posted: Sun Apr 05, 2015 5:22 pm
by philo
BoundSquirrel wrote:I'm trying out the new features in 0.1.3 and have a question on the <Timer> function.

Can the font of the text be changed as the timer runs? I'm trying to merge the 3 pages listed below into one page so I can add a video to them. I want the text to change from one color to the other to indicate what has been said and the new text.
Spoiler: show
<Page id="Page19">
<Text>
<P><Font color="DeepPink">Ooh, was that too much? You didn't like waiting longer?</Font></P>
</Text>
<Image id="018.jpg"/>
<Delay seconds="5" target="Page19a" style="normal" />

</Page>
<Page id="Page19a">
<Text>
<P><Font color="DarkGray">Ooh, was that too much? You didn't like waiting longer?</Font></P>
<P><Font color="DeepPink">Too bad.</Font></P>
</Text>
<Image id="018.jpg"/>
<Delay seconds="3" start-with="15" target="Page19b" style="normal" />
</Page>
<Page id="Page19b">
<Text>
<P><Font color="DarkGray">Ooh, was that too much? You didn't like waiting longer?</Font></P>
<P><Font color="DarkGray">Too bad.</Font></P>
<P><Font color="DeepPink">You're under my control now.</Font></P>
</Text>
<Image id="018.jpg"/>
<Delay seconds="4" start-with="11" target="Page19c" style="normal" />
</Page>
Thank you.
Yes, try the code below.

Code: Select all

     <Page id="Page19">            <Text>                <P><Font color="DeepPink">Ooh, was that too much? You didn't like waiting longer?</Font></P>            </Text>            <Timer seconds="5" onTriggered="timer1()" />            <Timer seconds="8" onTriggered="timer2()" />            <Delay seconds="12" target="Page19c" style="normal" />            <javascript><![CDATA[                function timer1() {                    mainShell.setBrwsText("<div><P><Font color=\"DarkGray\">Ooh, was that too much? You didn't like waiting longer?</Font></P><P><Font color=\"DeepPink\">Too bad.</Font></P></div>","");                }                       function timer2() {                    mainShell.setBrwsText("<div><P><Font color=\"DarkGray\">Ooh, was that too much? You didn't like waiting longer?</Font></P><P><Font color=\"DarkGray\">Too bad.</Font></P><P><Font color=\"DeepPink\">You're under my control now.</Font></P></div>","");                }            ]]></javascript>        </Page> 
One thing to watch for is you are putting html into a javascript string so any double quotes " inside the string need to be escaped to \"

Re: GuideMe (TeaseMe v2.0): BETA Thread

Posted: Tue Apr 07, 2015 9:07 pm
by philo
andresku wrote:Hi guys,

Is it possible to put as an option(like clock for example) into GuideMe software to show name of the file currenly displayed? So I could identify pics or gifs or any other? It could be in same line as the clock, even next to it or opposite whatever...? :huh:

thank you
I think the debug window should show that.

Re: GuideMe (TeaseMe v2.0): BETA Thread

Posted: Tue Apr 07, 2015 9:12 pm
by philo
Sisyphuster wrote: Also, is the 0.1.3 build of GuideMe available for Mac yet?
Guideme is not specifc, it is the libraries it uses that are specific to mac.
overwriting the 0.1.2 guideme.jar with the one from 0.1.3 should work.

Re: GuideMe (TeaseMe v2.0): BETA Thread

Posted: Wed Apr 08, 2015 12:48 am
by andresku
philo wrote:
andresku wrote:Hi guys,

Is it possible to put as an option(like clock for example) into GuideMe software to show name of the file currenly displayed? So I could identify pics or gifs or any other? It could be in same line as the clock, even next to it or opposite whatever...? :huh:

thank you
I think the debug window should show that.
Maybe I am looking wrong but It doesnt show... :huh:
The debug mode is when the debug box in preferences is ticked?

Re: GuideMe (TeaseMe v2.0): BETA Thread

Posted: Wed Apr 08, 2015 2:00 pm
by SexyTom
When you activate "debug" in the "application preferences", GuideMe shows the page number in the upper right corner when you play the tease. ;)

Re: GuideMe (TeaseMe v2.0): BETA Thread

Posted: Wed Apr 08, 2015 4:46 pm
by philo
andresku wrote:
philo wrote:
andresku wrote:Hi guys,

Is it possible to put as an option(like clock for example) into GuideMe software to show name of the file currenly displayed? So I could identify pics or gifs or any other? It could be in same line as the clock, even next to it or opposite whatever...? :huh:

thank you
I think the debug window should show that.
Maybe I am looking wrong but It doesnt show... :huh:
The debug mode is when the debug box in preferences is ticked?
There is a debug window you can open using either ctrl d or shift d (I can't remember which)
Displays all sorts of useful stuff, allows you to jump to pages.
It has not been updated for a while or tested since I did a load of changes.

Re: GuideMe (TeaseMe v2.0): BETA Thread

Posted: Thu Apr 09, 2015 2:04 am
by andresku
I founded this debug window, it opens when pressed Alt+D. It doesn't show the actual opened file just the source folder (my example: random/*.jpg).
I needed this actually for the tease EdgeThemAll to recognise actresses that I have to edge to(in case I cant attach the face to the name)... :innocent: And it would be awesome if the filename could be located on the main screen, so I could see while is displayed without disturbing the tease itself too much.

Sometimes I also experience files that do not open and I have black screen(often jpg for some reason) - in case of random folder It could help identify the wrong or corrupted file.

Anyway if this will cost a huge research to get it done, maybe we could just skip this for now and eventually someone will have an idea at some other time... :-|

Sorry for bothering you, and thank you for responses. :whistle:
===========
@philo

You are A STAR!

Thank you!

Re: GuideMe (TeaseMe v2.0): BETA Thread

Posted: Sat Apr 11, 2015 12:28 pm
by philo
Have updated the issues with what I think is the current list of bugs / enhancement requests.

https://github.com/guide-me/GuideMe/issues

If you have suggested / reported something not on the list can you let me know

Re: GuideMe (TeaseMe v2.0): BETA Thread

Posted: Mon Apr 13, 2015 12:16 pm
by MrExxE
I know Candriver was experiencing some issues with the metronome in in his O Control remake for Guideme. Something about the if-set now allowing the user to select a different speed within the tease. The metronome works except that part. The tease is fully functional in TeaseMe though.

Re: GuideMe (TeaseMe v2.0): BETA Thread

Posted: Mon Apr 13, 2015 10:37 pm
by philo
MrExxE wrote:I know Candriver was experiencing some issues with the metronome in in his O Control remake for Guideme. Something about the if-set now allowing the user to select a different speed within the tease. The metronome works except that part. The tease is fully functional in TeaseMe though.
Thanks, I think that was fixed in 0.1.3 but I will check

Re: GuideMe (TeaseMe v2.0): BETA Thread

Posted: Tue Apr 14, 2015 12:11 am
by MrExxE
My mistake. It is working now.

Re: GuideMe (TeaseMe v2.0): BETA Thread

Posted: Wed Apr 22, 2015 6:09 am
by desertfox
So I've been recently really inspired by teases like cumquest and ravelli's corruption. I love the 'interactive fiction' format of it all mixed with the traditional edge/tease gameplay sequences. So I looked into writing my own, but the overhead of doing page after page in the guideme format seemed that it would grow quite substancial over a larger tease.

So I went out to see how the interactive fiction world writes things. They have some neat software (things like inform, twine, ren'py) out there but ultimatly I think they would make doing the timed teases with mixed video/large jpg more difficult than using guide/teaseme.

From all of that software though I noticed one trend, and that was trying cut down the amount of code and increase the amount of 'writing'. Reducing the markup foot print as much as possible.

While I understand limiting guideme doesn't make sense, I do think it would make sense to consider adding more guided storytelling/teasing features in the xml mark up. I'm not very strong with javascript and I suspect that one could write some functions to achieve this, but having built in support would be awesome.

So some of the things/structure that I think would be benaficial to have:
1. Some xml attributes for 'standard' tease/edge sequences. So usually the point of these teases are the displaying of an image for 15 seconds with some text, possibly some audio, then on to the next one on a timer.

Code: Select all

<page id='saras_tease' show_timer=1 metranome=1><button target='sarah_lose'>I came</button>   <!-- a global button on each tease page --><sequence><!-- of the form picture, delay seconds, spoken text -->girls/sara/sara_01.jpg, 15, "Lets get more comfortable."girls/sara/sara_02.jpg, 10, "Now we're cookin!"girls/sara/sara_03.jpg, 10, "How about these pants come off"girls/sara/sara_04.jpg, 5, "Yes"girls/sara/sara_05.jpg, 3, "Just a peek"girls/sara/sara_01.jpg, 10, "Hahah we're done here."</sequence></page>
The idea here is to get right into it with as little mark up as possible. Let guideme do the work under the hood to pad out the pages with the rest of the information. I think that would exponentially shorten the work flow for doing standard teases and let people add tease content much faster.

Maybe also add some routines for looping the sequence and/or randomizing it, like say before the above sequence you have an 'edge loop':

Code: Select all

<page id='saras_edge' show_timer=1 metranome=1><button target='saras_tease'>Edge!</button><sequence loop=1 random_order=1>girls/sara/getready_01.jpg, 15, "How you like them apples"girls/sara/getready_02.jpg, 10, "Apple pie!"girls/sara/getready_03.jpg, 10, "Water balloons!"</sequence></page>
I realise that people may want more hooks, but they could cut sequences in half with a traditional page to break it, or the format could be expanded to have common hooks in it. But I think typically people have some sort of intro page "i'm ready" followed by a sequence that has a "failure" button on each screen.


2. Dialog. Embrace the fact that every tease has actors and dialog sequences. It would be awesome to support some form of branching dialog without flipping pages. I also think this would benafit people who add audio, as you could say be in a reception hall in heartsclub with music playing while you went through a conversation sequence.

There are a bunch of interactive fiction engines that use text mark up in a really raw format to allow the author to just write. I know this one may be more off the cuff, but take a look at part of the format one company used to write "80 days" (an IF mobile app that is HUGE, and pretty good). They have some additional flags for variable checks in there, but without it anyway its like this:

Code: Select all

<page id=saras_corruption><conversation>too_long:You've been here far too long. Why?* I love you! -> love_you* I hate you! -> hate_you* Truthfully I'm lost... -> lost love_you:>>sara_in_love.jpgI knew you always loved me. It's why you can't stay away, can you?* No, no I can't. -> PAGE:died_of_love hate_you:>>sara_hates_you.jpgI hate you too!* Great. -> PAGE: died_of_hate lost:>>super_hot_sara.jpgYES. THIS IS WHAT I HAVE BEEN WAITING FOR!!!* Allrighty... -> PAGE:win_the_game</conversation></page>

A label at the top, a possible image switch with >> marker (or whatever>, and a series of choices with a *, followed by a -> to the conversation label to look for in that conversation block. At some point the dialog has to end, so thought something like ->PAGE:<page_id> would take you to the corresponding page.

This may be too much, but the thought of having RPG like branching dialog and navigation options that aren't just buttons would be pretty cool. Again this may be less important because heavy branching dialog is not usually a feature of teases.

So just to make sure I said it, this tool is pretty awesome and I can really apprecaite the work that has gone into it, and I don't mean to step on the design of it at all. These are only some suggestions I thought of after browsing around how all the IF software out there, which does relate pretty strongly to writing teases IMHO.

I think anything that can be done to cut the time and effort of creating teases is a good thing and would hopefully encourage more authors to spend time doing so.

Re: GuideMe (TeaseMe v2.0): BETA Thread

Posted: Fri Apr 24, 2015 5:58 pm
by philo
PlayfulGuy wrote:@Philo,

[*]There should be a way to delete scriptVars that are no longer needed. I can find no way to do it now
Just had a look at this and there is a way to do it already
It is a java hashmap so any of the functions should work
http://docs.oracle.com/javase/7/docs/ap ... shMap.html

This will delete all variables
scriptVars.clear();

This will delete the variable vehicle2
scriptVars.remove("vehicle2");

Code example

Code: Select all

     <Page id="start">      <Text>        <div>Start Page</div>        <div>Test remove script vars</div>        <div>We have added vehicle1 and vehicle2, but not btnText1</div>        <div>vehicle1 <span>vehicle1</span></div>        <div>vehicle2 <span>vehicle2</span></div>        <div>* btnText1 <span>btnText1</span></div>      </Text>      <Image id="" />      <Button target="page2" onclick="button1clicked()">Remove vehicle2</Button>      <javascript><![CDATA[        function pageLoad() {            scriptVars.put("vehicle1", "Seicento");            scriptVars.put("vehicle2", "Saxo");        }                function button1clicked() {            scriptVars.remove("vehicle2");        }        ]]></javascript>    </Page>    <Page id="page2" set="5Edges">      <Text>        <div>Page 2</div>        <div>Test remove script vars</div>        <div>vehicle2 was removed by the button</div>        <div>vehicle1 <span>vehicle1</span></div>        <div>* vehicle2 <span>vehicle2</span></div>        <div>* btnText1 <span>btnText1</span></div>      </Text>      <Image id="" />      <Button target="page3">Clear all vars and add btnText1</Button>    </Page>    <Page id="page3" set="5Edges">      <Text>        <div>Page 3</div>        <div>Test remove script vars</div>        <div>We should just have btnText1 set to Inserted text</div>        <div>* vehicle1 <span>vehicle1</span></div>        <div>* vehicle2 <span>vehicle2</span></div>        <div>btnText1 <span>btnText1</span></div>       </Text>      <Image id="" />            <javascript><![CDATA[            function pageLoad() {                scriptVars.clear();                var btnText1 = "Inserted text";                scriptVars.put("btnText1",btnText1);            }            ]]></javascript>    </Page> 

Re: GuideMe (TeaseMe v2.0): BETA Thread

Posted: Fri Apr 24, 2015 6:15 pm
by philo
@desertfox

Some interesting suggestions.
Originally my idea was to add java script for the more complex stuff and leave the base TeaseMe functionality the same.
From the feed back in the thread I am revisiting that as people are struggling with java script more than I expected (I spend too little time with people who don't do coding for a living :-D )

I am putting more time into adding more into the non java script stuff.

1) I will add more into the new <timer> node, currently it only allows a java script funtion to be run
I will add being able to set the image and the text as well which will give you pretty much the same as sequence

2) I will have a think on the best way to add the loop and random order sequence

3) It is very complex to parse free text, I wouldn't have the time to write something like that, I may look to see if there is an open source project that can be adapted and integrated but for the moment I think it would be too much effort.