Page 28 of 121

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

Posted: Tue Dec 02, 2014 11:20 pm
by meson1
Hi Phil

I've done some investigating and found something interesting. For me, GuideMe uses IE 11 because I'm using Windows7. But here's the kicker. Something is forcing it down to document mode 7 (equivalent to IE 7). Furthermore, if I try to override the document mode using a <meta http-equiv statement, the highest I can get it is document mode 8.

I created a simple page as follows and displayed it in IE by itself. Document mode 11. But no matter what I do, if I pull in the page using leftHTML, it uses document mode 7 by default and won't go higher than 8 if I try to force it.

Here's my test page:

Code: Select all

<!DOCTYPE html><html><head>    <style>        body, html { height:100%; width:100%; background-color:black; overflow-y: hidden; color:white; }        .verstext { font-size: 16px; font-family: Arial, Helvetica, sans-serif; color:cyan; }    </style>    <script>        function leftOnLoad() {            document.getElementById("browser").innerHTML = getBV();            document.getElementById("docmode").innerHTML = getDocMode();            document.getElementById("doctype").innerHTML = getdoctype();        }        function getBV() {            navigator.sayswho = ( function(){                var ua= navigator.userAgent, tem,                 M= ua.match(/(opera|chrome|safari|firefox|msie|trident(?=\/))\/?\s*(\d+)/i) || [];                if(/trident/i.test(M[1])){                    tem=  /\brv[ :]+(\d+)/g.exec(ua) || [];                    return 'IE '+(tem[1] || '');                }                if(M[1]=== 'Chrome'){                    tem= ua.match(/\bOPR\/(\d+)/)                    if(tem!= null) return 'Opera '+tem[1];                }                M= M[2]? [M[1], M[2]]: [navigator.appName, navigator.appVersion, '-?'];                if((tem= ua.match(/version\/(\d+)/i))!= null) M.splice(1, 1, tem[1]);                return M.join(' ');                })();            return navigator.sayswho;        }        function getdoctype () {            if (document.doctype) {                var objDocType = document.doctype;                var strDocType = "!DOCTYPE " + objDocType.name                     + (objDocType.publicId ? ' PUBLIC "' + objDocType.publicId + '"' : '')                    + (!objDocType.publicId && objDocType.systemId ? ' SYSTEM' : '')                    + (objDocType.systemId ? ' "' + objDocType.systemId + '"' : '') + '';                }            else                strDocType = "Object document.doctype not known";            return strDocType;        }        function getDocMode() {            var engine = null;            //if (window.navigator.appName == "Microsoft Internet Explorer")            //    {                // This is an IE browser. What mode is the engine in?                if (document.documentMode) // IE8 or later                    engine = document.documentMode;                else // IE 5-7                    {                    engine = 5; // Assume quirks mode unless proven otherwise                    if (document.compatMode)                        {                        if (document.compatMode == "CSS1Compat")                            engine = 7; // standards mode                        }                    // There is no test for IE6 standards mode because that mode                      // was replaced by IE7 standards mode; there is no emulation.                    }                // the engine variable now contains the document compatibility mode.            //    }            //else            //    engine = "N/A";            return engine;        }        function get_type(thing){            if(thing===null)return "[object Null]"; // special case            return Object.prototype.toString.call(thing);        }    </script></head><body onload="leftOnLoad();">    <p class="verstext">Browser: <span id="browser">????</span></p>    <p class="verstext">Docmode: <span id="docmode">????</span></p>    <p class="verstext">Doctype: <span id="doctype">????</span></p></body></html>
So what is making GuideMe act this way?

P.S. I tried a further test, I tried creating a 'wrapper' page and including the above test page in an iframe, just like GuideMe more or less does. If I include a <meta http-equiv statement in the 'wrapper' page, it reduces the "document mode" that can be used in the page in the iframe and thereby seems to restrict the versions of html, css and js one can employ. Is GuideMe imposing it's own <meta http-equiv?

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

Posted: Tue Dec 09, 2014 4:35 pm
by PlayfulGuy
@Philo or whoever:

Is there a way to 'include' multiple global javascript files?

I know I can use

<Include file="MyGlobalJavaScript.xml" />

to include a self-contained global javascript section, but what I would like to do is

<GlobalJavascript>
<Include file="SomeGlobalJavaScript.xml" />
<Include file="MoreGlobalJavaScript.xml" />
</GlobaJavascript>

I've tried various things like just including the two files, and wrapping them in different ways but nothing seems to work properly.

Thanks,

Playful

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

Posted: Thu Dec 11, 2014 5:11 am
by PlayfulGuy
philo wrote:
kong wrote:Hmm, can we change the black welcome screen to something more adequate? Maybe something like this as were posted on the welcoming page in this thread:
Image
If someone wants to write an html page (or 2 for the left and right panes)
I can add it so it displays at start up
graphic design was never my thing.

this is a collaborative project after all
Hey Philo, I finally got around to doing this. Here's two versions for the left html, one using the teaseme image we all know and love, and another using the guideme beta image above. You'll need to adjust the image path as required. I put <MEDIADIR> in there as a placeholder. Sample images below.
Version 1. Code in spoiler below :
Spoiler: show

Code: Select all

 <!DOCTYPE HTML><html><head><meta http-equiv='Content-type' content='text/html;charset=UTF-8' /><title>Guideme - Explore Yourself</title><style type='text/css'>  html { overflow-y: auto; }  body { color: white; background-color: black; font-family: Tahoma; font-size:16px }   html, body, #wrapper { height:100%; width: 100%; margin: 0; padding: 0; border: 0; }   #wrapper { vertical-align: middle; text-align: center; }</style></head><body><div id='wrapper' >  <div>  <h2>Welcome to Guideme!</h2>  To get started, click File/Load and select a guide.  </div>  <div >  <img src='<MEDIADIR>/welcome.jpg' />  </div></div></body></html> 
Version 2. Code in spoiler below :
Spoiler: show

Code: Select all

 <!DOCTYPE HTML><html><head><meta http-equiv='Content-type' content='text/html;charset=UTF-8' /><title>Guideme - Explore Yourself</title><style type='text/css'>  html { overflow-y: auto; }   body { color: white; background-color: black; font-family: Tahoma; font-size:16px }   html, body, #wrapper { height:100%; width: 100%; margin: 0; padding: 0; border: 0; }   #wrapper { vertical-align: middle; text-align: center; }  #bannerimg { width: 90%; border-top: 3px solid #cccccc; border-right: 3px solid #cccccc; border-bottom: 3px solid #666666; border-left: 3px solid #666666; }</style></head><body><div id='wrapper' >  <div id='bannerimg'>  <img src='<MEDIADIR>/GuidemeBeta.jpg' />  </div>   <div>  <h2>Welcome to Guideme!</h2>  To get started, click File/Load and select a guide.  </div></div></body></html> 

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

Posted: Fri Dec 12, 2014 1:52 am
by sub3604
How do I get guide me to work I downloaded it and got a load of files but how do I get it to run?

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

Posted: Sat Dec 13, 2014 4:56 pm
by nottreal
I found a glitch or typo in Skirmish and I couldn't find a separate thread for it.
Against Midna and Zelda it says you die if you edge but I played on a seed of 13 and it popped up telling me to edge now. It had me hold it and I didn't lose though.

There also appears to be a bug where if you gain more experience then required to level up you can never level up, or if you rest when your experience hits enough to level

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

Posted: Mon Dec 15, 2014 11:56 pm
by Sisyphuster
Wow, I haven't checked up in awhile, I'm so glad that you guys are still working on this stuff! I migrated to a Mac running OSX about a year ago. I don't know much about coding but I do know that most stuff doesn't work across platforms. Is there any chance of a mac version of GuideMe coming out at some point?

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

Posted: Wed Dec 17, 2014 5:36 pm
by philo
Sisyphuster wrote:Wow, I haven't checked up in awhile, I'm so glad that you guys are still working on this stuff! I migrated to a Mac running OSX about a year ago. I don't know much about coding but I do know that most stuff doesn't work across platforms. Is there any chance of a mac version of GuideMe coming out at some point?
There is a semi working mac version, if you search this thread there is a link to it.
Guideme is designed to be cross platform but there have to be different installs for windows, mac and lynux.
As most people on here are windows that has been the main focus.

There is a major re-write of GuideMe in progress which should make cross platform installs a lot easier.
It is currently stalled due to commitments else where, but hopefully I may get some time over Christmas to progress it.

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

Posted: Sun Jan 04, 2015 6:29 am
by candii
help
whenever i do a tease on guideme, the font of the letters is all of a sudden small! how do i change this so it goes back to normal:/

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

Posted: Sun Jan 04, 2015 9:12 am
by philo
candii wrote:help
whenever i do a tease on guideme, the font of the letters is all of a sudden small! how do i change this so it goes back to normal:/
Under file \ Application Preferences on the menu there is a set of default font sizes.

Mine is currently set to the values below
pref.PNG
pref.PNG (5.9 KiB) Viewed 3539 times
You might have to exit out and restart GuideMe for them to take effect.

These can be overridden by tease authors in the html or css of the tease, but it will use the above by default.

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

Posted: Tue Jan 13, 2015 1:40 pm
by BoundSquirrel
I'm running Guideme on one computer with Windows 7 and another with Windows 8.1. The Windows 7 machine runs teases with the integrated metronome with no problem but on the laptop, I get no sound. I saw a reference in a previous post saying that Guideme does not support the metronome functionality from Teaseme but I know it can work. Here's a line of example code that I'm using:

<Metronome bpm="25" />

I've tried to keep it as simple as I can and I'd like to publish this tease (eventually)-If there's a limitation that's going to keep a lot of people from not being able to use it, I'll rewrite to use audio files, but that limits some of what I wanted to do...

So I have 2... maybe 3 questions:

1, can anyone recommend a fix for getting the metronome to work (that doesn't involve an outside metronome website)
2, if this is a limitation in Guideme, will it be addressed in the next update?
2a, is there an target date for said update?

Thanks!

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

Posted: Tue Jan 13, 2015 2:34 pm
by candriver
@BoundSquirrel
GuideMe doesn’t support flags inside <Metronome />
e.g. <Metronome if-set="m25" bpm="25" />

Something simple like <Metronome bpm="25" /> should work without problems.
I’m guessing it’s something with Windows 8.1 or your particular setup.


- Dorothy does whatever Miss Linda wants :blush: -

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

Posted: Wed Jan 14, 2015 7:54 pm
by philo
candriver wrote:@BoundSquirrel
GuideMe doesn’t support flags inside <Metronome />
e.g. <Metronome if-set="m25" bpm="25" />

Something simple like <Metronome bpm="25" /> should work without problems.
I’m guessing it’s something with Windows 8.1 or your particular setup.


- Dorothy does whatever Miss Linda wants :blush: -
GuideMe should support if-set within the Metronome flag, I just checked the code and it is coded to do it.
I have not tested to see if the code works.
If you want to post a tease that has if-set in the Metronome I will test it.

It uses the midi player built into java, so should work in windows 8
I don't have a windows 8 machine I can test it on (and don't intend to get one)
So if it is not working it is likely to do with midi playback on the specific machine.

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

Posted: Wed Jan 14, 2015 8:12 pm
by candriver
candriver wrote:It looks like there’s something wrong with metronome flags in GuideMe.

Something like

Code: Select all

<Metronome if-set="m60" bpm="60" /><Metronome if-set="m90" bpm="90" /><Metronome if-set="m120" bpm="120" />
works perfectly in TeaseMe, but in GuideMe it just beats at 120.

In "tease.state":

Code: Select all

…<Flags>m60</Flags>…
Looks like <Metronome /> ignores “if-set”?

- Dorothy does whatever Miss Linda wants :blush: -

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

Posted: Wed Jan 14, 2015 8:42 pm
by candriver

Code: Select all

<Page id="test">  <Text>  <p>TestM</p> </Text> <Image id="TestM.jpg" />     <Metronome if-set="m20" bpm="20" /> <Metronome if-set="m60" bpm="60" /> <Metronome if-set="m180" bpm="180" /> <Button target="test" if-set="m20" unset="m20" set="m60">Faster</Button>     <Button target="test" if-set="m60" unset="m60" set="m20">Slower</Button> <Button target="test" if-set="m60" unset="m60" set="m180">Faster</Button>    <Button target="test" if-set="m180" unset="m180" set="m60">Slower</Button></Page>
- in TeaseMe it changes 20/60/180, in GuideMe it stays at 180bpm all the time


- Dorothy does whatever Miss Linda wants :blush: -

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

Posted: Sat Jan 17, 2015 2:48 pm
by ypslave
Hey,

Bit of a noobie question but, I got TeaseMe to work but when I download GuideMe I cant seem to open the program. How should I "install" it?

Thanks!