<?xml version="1.0" encoding="UTF-16"?>
<!-- This XML file has been created by Easy Java(script) Simulations (EjsS). Visit http://www.um.es/fem/Ejs. -->
<!-- Please, save the file to your hard disk on your Ejs' user directory and open it with Ejs. -->
<Osejs version="6.0" password="">
<Osejs.Information>
<Title><![CDATA[The Living Dead Game]]></Title>
<Copyright><![CDATA[cc-by-sa-nc]]></Copyright>
<Keywords><![CDATA[]]></Keywords>
<Password><![CDATA[]]></Password>
<Level><![CDATA[]]></Level>
<Language><![CDATA[]]></Language>
<Abstract><![CDATA[]]></Abstract>
<ExecPassword><![CDATA[]]></ExecPassword>
<CaptureTools>false</CaptureTools>
<DataTools>false</DataTools>
<LanguageTools>false</LanguageTools>
<AppletColSupport>false</AppletColSupport>
<UseMacMenuBar>false</UseMacMenuBar>
<FixedNavigationBar>false</FixedNavigationBar>
<RunInBrowserFirst>false</RunInBrowserFirst>
<RunAlways>true</RunAlways>
<UseInterpreter>true</UseInterpreter>
<UseDeltaForODE>false</UseDeltaForODE>
<ModelTab></ModelTab>
<ModelTabTitle><![CDATA[]]></ModelTabTitle>
<ModelName><![CDATA[]]></ModelName>
<CSSFile></CSSFile>
<StaticImages>
</StaticImages>
<HTMLHead><![CDATA[<script async="true" src="https://www.googletagmanager.com/gtag/js?id=UA-3326007-19"></script>
<script>
  window.dataLayer = window.dataLayer || [];
  function gtag(){dataLayer.push(arguments);}
  gtag('js', new Date());
  gtag('config', 'UA-3326007-19');
</script>
<script data-ad-client="ca-pub-0121577198857509" async="true" src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>]]></HTMLHead>
<Logo>./logo.png;./logo.png</Logo>
<Author><![CDATA[Benny, Siti Nur, Zhiliang]]></Author>
<AuthorLogo></AuthorLogo>
<AdditionalLibraries>
</AdditionalLibraries>
<ImportStatements>
</ImportStatements>
<ClassesRequired>
</ClassesRequired>
<ManifestLines><![CDATA[Permissions: sandbox
Codebase: *
Caller-Allowable-Codebase: *
]]></ManifestLines>
<DetectedFiles><![CDATA[./bg.png;./dart.wav;./gifzombie.gif;./healed.png;./human.png;./logo.png;./loop.wav;./playerhit.wav;./rawr.wav;./start.png;./syringe.png;./tomb.png;./yeah.wav;./zombie.gif;./zombiemiss.wav;./zombiespeech2.png;]]></DetectedFiles>
<AuxiliaryFiles><![CDATA[./serverabcd/;]]></AuxiliaryFiles>
</Osejs.Information>
<Osejs.Description>
</Osejs.Description>
<Osejs.Model>
<Osejs.Model.FramesPerSecond>20</Osejs.Model.FramesPerSecond>
<Osejs.Model.StepsPerDisplay>1</Osejs.Model.StepsPerDisplay>
<Osejs.Model.RealTimeVariable></Osejs.Model.RealTimeVariable>
<Osejs.Model.Autostart>true</Osejs.Model.Autostart>
<Osejs.Model.Variables>
<Osejs.Model.Variables.Page>
<Type>VARIABLE_EDITOR</Type>
<Name>startscreen</Name>
<Active>true</Active>
<Internal>false</Internal>
<Content>
<PageComment><![CDATA[]]></PageComment>
<Variable>
<Name><![CDATA[tx]]></Name>
<Value><![CDATA[-5.5]]></Value>
<Type><![CDATA[double]]></Type>
<Dimension><![CDATA[]]></Dimension>
<Domain><![CDATA[public]]></Domain>
<Comment><![CDATA[]]></Comment>
</Variable>
<Variable>
<Name><![CDATA[ty]]></Name>
<Value><![CDATA[-5]]></Value>
<Type><![CDATA[double]]></Type>
<Dimension><![CDATA[]]></Dimension>
<Domain><![CDATA[public]]></Domain>
<Comment><![CDATA[]]></Comment>
</Variable>
<Variable>
<Name><![CDATA[bgx]]></Name>
<Value><![CDATA[0]]></Value>
<Type><![CDATA[double]]></Type>
<Dimension><![CDATA[]]></Dimension>
<Domain><![CDATA[public]]></Domain>
<Comment><![CDATA[]]></Comment>
</Variable>
<Variable>
<Name><![CDATA[bgy]]></Name>
<Value><![CDATA[0]]></Value>
<Type><![CDATA[double]]></Type>
<Dimension><![CDATA[]]></Dimension>
<Domain><![CDATA[public]]></Domain>
<Comment><![CDATA[]]></Comment>
</Variable>
<Variable>
<Name><![CDATA[gifx]]></Name>
<Value><![CDATA[-0.9]]></Value>
<Type><![CDATA[double]]></Type>
<Dimension><![CDATA[]]></Dimension>
<Domain><![CDATA[public]]></Domain>
<Comment><![CDATA[]]></Comment>
</Variable>
<Variable>
<Name><![CDATA[gify]]></Name>
<Value><![CDATA[-5]]></Value>
<Type><![CDATA[double]]></Type>
<Dimension><![CDATA[]]></Dimension>
<Domain><![CDATA[public]]></Domain>
<Comment><![CDATA[]]></Comment>
</Variable>
<Variable>
<Name><![CDATA[startx]]></Name>
<Value><![CDATA[0]]></Value>
<Type><![CDATA[double]]></Type>
<Dimension><![CDATA[]]></Dimension>
<Domain><![CDATA[public]]></Domain>
<Comment><![CDATA[]]></Comment>
</Variable>
<Variable>
<Name><![CDATA[starty]]></Name>
<Value><![CDATA[0]]></Value>
<Type><![CDATA[double]]></Type>
<Dimension><![CDATA[]]></Dimension>
<Domain><![CDATA[public]]></Domain>
<Comment><![CDATA[]]></Comment>
</Variable>
<Variable>
<Name><![CDATA[gifv]]></Name>
<Value><![CDATA[-0.1]]></Value>
<Type><![CDATA[double]]></Type>
<Dimension><![CDATA[]]></Dimension>
<Domain><![CDATA[public]]></Domain>
<Comment><![CDATA[]]></Comment>
</Variable>
<Variable>
<Name><![CDATA[name]]></Name>
<Value><![CDATA["           Nama  Saya"]]></Value>
<Type><![CDATA[String]]></Type>
<Dimension><![CDATA[]]></Dimension>
<Domain><![CDATA[public]]></Domain>
<Comment><![CDATA[]]></Comment>
</Variable>
<Variable>
<Name><![CDATA[gametitle]]></Name>
<Value><![CDATA["Imbuhan"]]></Value>
<Type><![CDATA[String]]></Type>
<Dimension><![CDATA[]]></Dimension>
<Domain><![CDATA[public]]></Domain>
<Comment><![CDATA[]]></Comment>
</Variable>
<Variable>
<Name><![CDATA[musicload]]></Name>
<Value><![CDATA[0]]></Value>
<Type><![CDATA[double]]></Type>
<Dimension><![CDATA[]]></Dimension>
<Domain><![CDATA[public]]></Domain>
<Comment><![CDATA[]]></Comment>
</Variable>
<Variable>
<Name><![CDATA[]]></Name>
<Value><![CDATA[]]></Value>
<Type><![CDATA[double]]></Type>
<Dimension><![CDATA[]]></Dimension>
<Domain><![CDATA[public]]></Domain>
<Comment><![CDATA[]]></Comment>
</Variable>
</Content>
</Osejs.Model.Variables.Page>
<Osejs.Model.Variables.Page>
<Type>VARIABLE_EDITOR</Type>
<Name>math</Name>
<Active>true</Active>
<Internal>false</Internal>
<Content>
<PageComment><![CDATA[]]></PageComment>
<Variable>
<Name><![CDATA[pi]]></Name>
<Value><![CDATA[Math.PI]]></Value>
<Type><![CDATA[double]]></Type>
<Dimension><![CDATA[]]></Dimension>
<Domain><![CDATA[public]]></Domain>
<Comment><![CDATA[]]></Comment>
</Variable>
<Variable>
<Name><![CDATA[]]></Name>
<Value><![CDATA[]]></Value>
<Type><![CDATA[double]]></Type>
<Dimension><![CDATA[]]></Dimension>
<Domain><![CDATA[public]]></Domain>
<Comment><![CDATA[]]></Comment>
</Variable>
</Content>
</Osejs.Model.Variables.Page>
<Osejs.Model.Variables.Page>
<Type>VARIABLE_EDITOR</Type>
<Name>option</Name>
<Active>true</Active>
<Internal>false</Internal>
<Content>
<PageComment><![CDATA[]]></PageComment>
<Variable>
<Name><![CDATA[numberofoptions]]></Name>
<Value><![CDATA[4]]></Value>
<Type><![CDATA[double]]></Type>
<Dimension><![CDATA[]]></Dimension>
<Domain><![CDATA[public]]></Domain>
<Comment><![CDATA[]]></Comment>
</Variable>
<Variable>
<Name><![CDATA[max_qn]]></Name>
<Value><![CDATA[10]]></Value>
<Type><![CDATA[double]]></Type>
<Dimension><![CDATA[]]></Dimension>
<Domain><![CDATA[public]]></Domain>
<Comment><![CDATA[]]></Comment>
</Variable>
<Variable>
<Name><![CDATA[n]]></Name>
<Value><![CDATA[numberofoptions]]></Value>
<Type><![CDATA[double]]></Type>
<Dimension><![CDATA[]]></Dimension>
<Domain><![CDATA[public]]></Domain>
<Comment><![CDATA[]]></Comment>
</Variable>
<Variable>
<Name><![CDATA[ox]]></Name>
<Value><![CDATA[[-8,-8,-8,-8]]]></Value>
<Type><![CDATA[double]]></Type>
<Dimension><![CDATA[[n]]]></Dimension>
<Domain><![CDATA[public]]></Domain>
<Comment><![CDATA[]]></Comment>
</Variable>
<Variable>
<Name><![CDATA[oy]]></Name>
<Value><![CDATA[[-100,-100,-100,-100]]]></Value>
<Type><![CDATA[double]]></Type>
<Dimension><![CDATA[[n]]]></Dimension>
<Domain><![CDATA[public]]></Domain>
<Comment><![CDATA[]]></Comment>
</Variable>
<Variable>
<Name><![CDATA[elementinteracted]]></Name>
<Value><![CDATA[-1]]></Value>
<Type><![CDATA[double]]></Type>
<Dimension><![CDATA[]]></Dimension>
<Domain><![CDATA[public]]></Domain>
<Comment><![CDATA[]]></Comment>
</Variable>
<Variable>
<Name><![CDATA[answerarray]]></Name>
<Value><![CDATA[[["menendang","ditendang","tendangan","penendang"],["berlari","melarikan","dilarikan","larian"],["dikejar","mengejar","kejaran","terkejar"],["terlepas","melepaskan","dilepaskan","pelepas"],["arahan","mengarah","terarah","pengarah"],["Pelukis","Dilukis","Lukisan","Terlukis"],["membelikan","dibeli","pembeli","terbeli"],["menghantar","dihantar","penghantar","hantaran"],["bungkusan","pembungkus","berbungkus","membungkus"],["terlanggar","melanggar","dilanggar","berlanggar"]]]]></Value>
<Type><![CDATA[String]]></Type>
<Dimension><![CDATA[]]></Dimension>
<Domain><![CDATA[public]]></Domain>
<Comment><![CDATA[]]></Comment>
</Variable>
<Variable>
<Name><![CDATA[questionarray]]></Name>
<Value><![CDATA[["Arif ingin __________ bola itu.","Siti sedang __________ di taman.","Kakak saya telah __________ oleh anjing.","Gelas itu __________ dari tangan Danial.","Cikgu Anom akan memberi __________ kepada muridnya.","__________ itu sedang menerangkan tentang hasil kerjanya.","Pak Rahim telah __________ isterinya sebentuk cincin emas.","Aida hendak __________ makanan itu ke rumah neneknya.","Kami tidak berani untuk menyentuh __________ hitam itu.","Ali __________ batu semasa asyik dengan telefon bimbitnya."]]]></Value>
<Type><![CDATA[String]]></Type>
<Dimension><![CDATA[]]></Dimension>
<Domain><![CDATA[public]]></Domain>
<Comment><![CDATA[]]></Comment>
</Variable>
<Variable>
<Name><![CDATA[answer]]></Name>
<Value><![CDATA[answerarray[0]]]></Value>
<Type><![CDATA[String]]></Type>
<Dimension><![CDATA[]]></Dimension>
<Domain><![CDATA[public]]></Domain>
<Comment><![CDATA[]]></Comment>
</Variable>
<Variable>
<Name><![CDATA[question]]></Name>
<Value><![CDATA[questionarray[0]]]></Value>
<Type><![CDATA[String]]></Type>
<Dimension><![CDATA[]]></Dimension>
<Domain><![CDATA[public]]></Domain>
<Comment><![CDATA[]]></Comment>
</Variable>
<Variable>
<Name><![CDATA[correct]]></Name>
<Value><![CDATA[0]]></Value>
<Type><![CDATA[double]]></Type>
<Dimension><![CDATA[]]></Dimension>
<Domain><![CDATA[public]]></Domain>
<Comment><![CDATA[]]></Comment>
</Variable>
<Variable>
<Name><![CDATA[sby]]></Name>
<Value><![CDATA[-100]]></Value>
<Type><![CDATA[double]]></Type>
<Dimension><![CDATA[]]></Dimension>
<Domain><![CDATA[public]]></Domain>
<Comment><![CDATA[]]></Comment>
</Variable>
<Variable>
<Name><![CDATA[qn_count]]></Name>
<Value><![CDATA[max_qn]]></Value>
<Type><![CDATA[double]]></Type>
<Dimension><![CDATA[]]></Dimension>
<Domain><![CDATA[public]]></Domain>
<Comment><![CDATA[]]></Comment>
</Variable>
<Variable>
<Name><![CDATA[]]></Name>
<Value><![CDATA[]]></Value>
<Type><![CDATA[double]]></Type>
<Dimension><![CDATA[]]></Dimension>
<Domain><![CDATA[public]]></Domain>
<Comment><![CDATA[]]></Comment>
</Variable>
</Content>
</Osejs.Model.Variables.Page>
<Osejs.Model.Variables.Page>
<Type>VARIABLE_EDITOR</Type>
<Name>animatedsyringe</Name>
<Active>true</Active>
<Internal>false</Internal>
<Content>
<PageComment><![CDATA[]]></PageComment>
<Variable>
<Name><![CDATA[sx]]></Name>
<Value><![CDATA[-100]]></Value>
<Type><![CDATA[double]]></Type>
<Dimension><![CDATA[]]></Dimension>
<Domain><![CDATA[public]]></Domain>
<Comment><![CDATA[]]></Comment>
</Variable>
<Variable>
<Name><![CDATA[sy]]></Name>
<Value><![CDATA[-1]]></Value>
<Type><![CDATA[double]]></Type>
<Dimension><![CDATA[]]></Dimension>
<Domain><![CDATA[public]]></Domain>
<Comment><![CDATA[]]></Comment>
</Variable>
<Variable>
<Name><![CDATA[sv]]></Name>
<Value><![CDATA[0]]></Value>
<Type><![CDATA[double]]></Type>
<Dimension><![CDATA[]]></Dimension>
<Domain><![CDATA[public]]></Domain>
<Comment><![CDATA[]]></Comment>
</Variable>
<Variable>
<Name><![CDATA[stopshoot]]></Name>
<Value><![CDATA[0]]></Value>
<Type><![CDATA[double]]></Type>
<Dimension><![CDATA[]]></Dimension>
<Domain><![CDATA[public]]></Domain>
<Comment><![CDATA[]]></Comment>
</Variable>
<Variable>
<Name><![CDATA[]]></Name>
<Value><![CDATA[]]></Value>
<Type><![CDATA[double]]></Type>
<Dimension><![CDATA[]]></Dimension>
<Domain><![CDATA[public]]></Domain>
<Comment><![CDATA[]]></Comment>
</Variable>
</Content>
</Osejs.Model.Variables.Page>
<Osejs.Model.Variables.Page>
<Type>VARIABLE_EDITOR</Type>
<Name>wrongsyringe</Name>
<Active>true</Active>
<Internal>false</Internal>
<Content>
<PageComment><![CDATA[]]></PageComment>
<Variable>
<Name><![CDATA[wsx]]></Name>
<Value><![CDATA[-100]]></Value>
<Type><![CDATA[double]]></Type>
<Dimension><![CDATA[]]></Dimension>
<Domain><![CDATA[public]]></Domain>
<Comment><![CDATA[]]></Comment>
</Variable>
<Variable>
<Name><![CDATA[wsy]]></Name>
<Value><![CDATA[-1]]></Value>
<Type><![CDATA[double]]></Type>
<Dimension><![CDATA[]]></Dimension>
<Domain><![CDATA[public]]></Domain>
<Comment><![CDATA[]]></Comment>
</Variable>
<Variable>
<Name><![CDATA[wsv]]></Name>
<Value><![CDATA[0]]></Value>
<Type><![CDATA[double]]></Type>
<Dimension><![CDATA[]]></Dimension>
<Domain><![CDATA[public]]></Domain>
<Comment><![CDATA[]]></Comment>
</Variable>
<Variable>
<Name><![CDATA[]]></Name>
<Value><![CDATA[]]></Value>
<Type><![CDATA[double]]></Type>
<Dimension><![CDATA[]]></Dimension>
<Domain><![CDATA[public]]></Domain>
<Comment><![CDATA[]]></Comment>
</Variable>
</Content>
</Osejs.Model.Variables.Page>
<Osejs.Model.Variables.Page>
<Type>VARIABLE_EDITOR</Type>
<Name>zombiexplayer</Name>
<Active>true</Active>
<Internal>false</Internal>
<Content>
<PageComment><![CDATA[]]></PageComment>
<Variable>
<Name><![CDATA[health]]></Name>
<Value><![CDATA[5]]></Value>
<Type><![CDATA[double]]></Type>
<Dimension><![CDATA[]]></Dimension>
<Domain><![CDATA[public]]></Domain>
<Comment><![CDATA[]]></Comment>
</Variable>
<Variable>
<Name><![CDATA[hy]]></Name>
<Value><![CDATA[-100]]></Value>
<Type><![CDATA[double]]></Type>
<Dimension><![CDATA[]]></Dimension>
<Domain><![CDATA[public]]></Domain>
<Comment><![CDATA[]]></Comment>
</Variable>
<Variable>
<Name><![CDATA[px]]></Name>
<Value><![CDATA[-3]]></Value>
<Type><![CDATA[double]]></Type>
<Dimension><![CDATA[]]></Dimension>
<Domain><![CDATA[public]]></Domain>
<Comment><![CDATA[]]></Comment>
</Variable>
<Variable>
<Name><![CDATA[py]]></Name>
<Value><![CDATA[-100]]></Value>
<Type><![CDATA[double]]></Type>
<Dimension><![CDATA[]]></Dimension>
<Domain><![CDATA[public]]></Domain>
<Comment><![CDATA[]]></Comment>
</Variable>
<Variable>
<Name><![CDATA[t]]></Name>
<Value><![CDATA[0]]></Value>
<Type><![CDATA[double]]></Type>
<Dimension><![CDATA[]]></Dimension>
<Domain><![CDATA[public]]></Domain>
<Comment><![CDATA[]]></Comment>
</Variable>
<Variable>
<Name><![CDATA[zx]]></Name>
<Value><![CDATA[9]]></Value>
<Type><![CDATA[double]]></Type>
<Dimension><![CDATA[]]></Dimension>
<Domain><![CDATA[public]]></Domain>
<Comment><![CDATA[]]></Comment>
</Variable>
<Variable>
<Name><![CDATA[zy]]></Name>
<Value><![CDATA[-100]]></Value>
<Type><![CDATA[double]]></Type>
<Dimension><![CDATA[]]></Dimension>
<Domain><![CDATA[public]]></Domain>
<Comment><![CDATA[]]></Comment>
</Variable>
<Variable>
<Name><![CDATA[zv]]></Name>
<Value><![CDATA[0]]></Value>
<Type><![CDATA[double]]></Type>
<Dimension><![CDATA[]]></Dimension>
<Domain><![CDATA[public]]></Domain>
<Comment><![CDATA[]]></Comment>
</Variable>
<Variable>
<Name><![CDATA[score]]></Name>
<Value><![CDATA[0]]></Value>
<Type><![CDATA[double]]></Type>
<Dimension><![CDATA[]]></Dimension>
<Domain><![CDATA[public]]></Domain>
<Comment><![CDATA[]]></Comment>
</Variable>
<Variable>
<Name><![CDATA[hzx]]></Name>
<Value><![CDATA[-100]]></Value>
<Type><![CDATA[double]]></Type>
<Dimension><![CDATA[]]></Dimension>
<Domain><![CDATA[public]]></Domain>
<Comment><![CDATA[]]></Comment>
</Variable>
<Variable>
<Name><![CDATA[hzy]]></Name>
<Value><![CDATA[-1]]></Value>
<Type><![CDATA[double]]></Type>
<Dimension><![CDATA[]]></Dimension>
<Domain><![CDATA[public]]></Domain>
<Comment><![CDATA[]]></Comment>
</Variable>
<Variable>
<Name><![CDATA[hzv]]></Name>
<Value><![CDATA[0]]></Value>
<Type><![CDATA[double]]></Type>
<Dimension><![CDATA[]]></Dimension>
<Domain><![CDATA[public]]></Domain>
<Comment><![CDATA[]]></Comment>
</Variable>
<Variable>
<Name><![CDATA[scorey]]></Name>
<Value><![CDATA[-100]]></Value>
<Type><![CDATA[double]]></Type>
<Dimension><![CDATA[]]></Dimension>
<Domain><![CDATA[public]]></Domain>
<Comment><![CDATA[just initial, -100 put away]]></Comment>
</Variable>
<Variable>
<Name><![CDATA[]]></Name>
<Value><![CDATA[]]></Value>
<Type><![CDATA[double]]></Type>
<Dimension><![CDATA[]]></Dimension>
<Domain><![CDATA[public]]></Domain>
<Comment><![CDATA[]]></Comment>
</Variable>
</Content>
</Osejs.Model.Variables.Page>
</Osejs.Model.Variables>
<Osejs.Model.Initialization>
<Osejs.Model.Initialization.Page>
<Type>CODE_EDITOR</Type>
<Name>shuffleArray(array)</Name>
<Active>true</Active>
<Internal>false</Internal>
<Content>
<Comment><![CDATA[]]></Comment>
<Code><![CDATA[
shuffleArray(oy);
]]></Code>
</Content>
</Osejs.Model.Initialization.Page>
</Osejs.Model.Initialization>
<Osejs.Model.Evolution>
<Osejs.Model.Evolution.Page>
<Type>ODE_EDITOR</Type>
<Name>Evol Page</Name>
<Active>true</Active>
<Internal>false</Internal>
<Content>
<PreliminaryCode>
<Comment><![CDATA[Code to be executed before rate equations are evaluated]]></Comment>
<Code><![CDATA[

]]></Code>
</PreliminaryCode>
<ErrorHandling>
</ErrorHandling>
<DelayInitialCondition>
<Comment><![CDATA[]]></Comment>
<Code><![CDATA[

]]></Code>
</DelayInitialCondition>
<Discontinuities>
</Discontinuities>
<Events>
<Event.Page>
<Type>EVENT_EDITOR</Type>
<Name>startshuffle</Name>
<Active>true</Active>
<Internal>false</Internal>
<EventContent>
<EventType>CROSSING_EVENT</EventType>
<Method>BISECTION</Method>
<Iterations>100</Iterations>
<Tolerance><![CDATA[1.0e-5]]></Tolerance>
<StopAtEvent>true</StopAtEvent>
<ZeroCondition><![CDATA[
return gifx-(-1.49);
]]></ZeroCondition>
<Action><![CDATA[
gifv=0.1;
_view.audio.play();


]]></Action>
<Comment><![CDATA[]]></Comment>
</EventContent>
</Event.Page>
<Event.Page>
<Type>EVENT_EDITOR</Type>
<Name>startshuffleback</Name>
<Active>true</Active>
<Internal>false</Internal>
<EventContent>
<EventType>CROSSING_EVENT</EventType>
<Method>BISECTION</Method>
<Iterations>100</Iterations>
<Tolerance><![CDATA[1.0e-5]]></Tolerance>
<StopAtEvent>true</StopAtEvent>
<ZeroCondition><![CDATA[
return gifx-(-0.9);
]]></ZeroCondition>
<Action><![CDATA[
gifv=-0.1;
_view.audio.play();


]]></Action>
<Comment><![CDATA[]]></Comment>
</EventContent>
</Event.Page>
<Event.Page>
<Type>EVENT_EDITOR</Type>
<Name>PZcollision</Name>
<Active>true</Active>
<Internal>false</Internal>
<EventContent>
<EventType>CROSSING_EVENT</EventType>
<Method>BISECTION</Method>
<Iterations>100</Iterations>
<Tolerance><![CDATA[1.0e-5]]></Tolerance>
<StopAtEvent>true</StopAtEvent>
<ZeroCondition><![CDATA[
return Math.sqrt((zx-px)*(zx-px)+(zy-py)*(zy-py)) -1;
]]></ZeroCondition>
<Action><![CDATA[
_view.playerhit.play();
health=health-1;
if (health<=0)
{ // game mechanism counter
  _pause(); 
 function post( path, params, method )
{
	method = method || "post"; // Set method to post by default if not specified.

	// The rest of this code assumes you are not using a library.
	// It can be made less wordy if you use one.
	var form = document.createElement("form");
	form.setAttribute("method", method);
	form.setAttribute("action", path);

	for(var key in params)
	{
		if(params.hasOwnProperty(key))
		{
			var hiddenField = document.createElement("input");
			hiddenField.setAttribute("type", "hidden");
			hiddenField.setAttribute("name", key);
			hiddenField.setAttribute("value", params[key]);
			
			form.appendChild(hiddenField);
		 }
	}

	document.body.appendChild(form);
	form.submit();
}
post( 'http://abcd.sg/sls/scoreboard/update.php', { url: window.location.href, title: gametitle, player_name: name, score: score } );


  }
if(score>=0)
{score=score-25;
}
if(score<0)
{score=0;
}
zv=zv*0.9;
zy=-1;
zx=9;
_view.audio.play();



]]></Action>
<Comment><![CDATA[]]></Comment>
</EventContent>
</Event.Page>
<Event.Page>
<Type>EVENT_EDITOR</Type>
<Name>SZcollision</Name>
<Active>true</Active>
<Internal>false</Internal>
<EventContent>
<EventType>CROSSING_EVENT</EventType>
<Method>BISECTION</Method>
<Iterations>100</Iterations>
<Tolerance><![CDATA[1.0e-5]]></Tolerance>
<StopAtEvent>true</StopAtEvent>
<ZeroCondition><![CDATA[
return Math.sqrt((zx-sx)*(zx-sx)+(zy-sy)*(zy-sy)) -1;
]]></ZeroCondition>
<Action><![CDATA[
sv=0;
 sx=-100
 score=score+100;
 hzx=zx;
 hzv=-1;
 zx=-12;
 stopshoot=1;
 _view.yeah.play();

]]></Action>
<Comment><![CDATA[]]></Comment>
</EventContent>
</Event.Page>
<Event.Page>
<Type>EVENT_EDITOR</Type>
<Name>WSZcollision</Name>
<Active>true</Active>
<Internal>false</Internal>
<EventContent>
<EventType>CROSSING_EVENT</EventType>
<Method>BISECTION</Method>
<Iterations>100</Iterations>
<Tolerance><![CDATA[1.0e-5]]></Tolerance>
<StopAtEvent>true</StopAtEvent>
<ZeroCondition><![CDATA[
return Math.sqrt((zx-wsx)*(zx-wsx)+(zy-wsy)*(zy-wsy)) -1;
]]></ZeroCondition>
<Action><![CDATA[
_view.miss.play();
wsv=0;
wsx=-100;
zv=zv*0.7;
 stopshoot = 0;
if(score>=0)
{score=score-25;
}
if(score<0)
{score=0;
}



]]></Action>
<Comment><![CDATA[]]></Comment>
</EventContent>
</Event.Page>
<Event.Page>
<Type>EVENT_EDITOR</Type>
<Name>hzleave</Name>
<Active>true</Active>
<Internal>false</Internal>
<EventContent>
<EventType>CROSSING_EVENT</EventType>
<Method>BISECTION</Method>
<Iterations>100</Iterations>
<Tolerance><![CDATA[1.0e-5]]></Tolerance>
<StopAtEvent>true</StopAtEvent>
<ZeroCondition><![CDATA[
return hzy-(-10);
]]></ZeroCondition>
<Action><![CDATA[
 stopshoot=0;
 hzx=-100;
hzy=-1;
hzv=0;
 correct=correct+1;
 qn_count=max_qn-correct;
 shuffleArray(oy);
 {if (correct==max_qn){ // game mechanism counter
  _pause(); 
 function post( path, params, method )
{
	method = method || "post"; // Set method to post by default if not specified.

	// The rest of this code assumes you are not using a library.
	// It can be made less wordy if you use one.
	var form = document.createElement("form");
	form.setAttribute("method", method);
	form.setAttribute("action", path);

	for(var key in params)
	{
		if(params.hasOwnProperty(key))
		{
			var hiddenField = document.createElement("input");
			hiddenField.setAttribute("type", "hidden");
			hiddenField.setAttribute("name", key);
			hiddenField.setAttribute("value", params[key]);
			
			form.appendChild(hiddenField);
		 }
	}

	document.body.appendChild(form);
	form.submit();
}

post( 'http://abcd.sg/sls/scoreboard/update.php', { url: window.location.href, title: gametitle, player_name: name, score: score } );

  }
  else{
zv=zv+(5/max_qn);
zx=9;
zy=-1;
_view.audio.play();
answer=answerarray[correct]; //since correct is increase by 1, use this to change 4 options
question=questionarray[correct]; // change basket text as well
}} // game mechanism counter

]]></Action>
<Comment><![CDATA[]]></Comment>
</EventContent>
</Event.Page>
</Events>
<ZenoEffect>
<Comment><![CDATA[]]></Comment>
<Code><![CDATA[

]]></Code>
<StopAfterEffect>true</StopAfterEffect>
</ZenoEffect>
<IndependentVariable>t</IndependentVariable>
<Increment>0.05</Increment>
<Rate state="zx">-zv</Rate>
<Rate state="sx">sv</Rate>
<Rate state="wsx">wsv</Rate>
<Rate state="hzy">hzv*2</Rate>
<Rate state="gifx">gifv</Rate>
<Rate state="hzx">hzv</Rate>
<Rate state=""></Rate>
<Method>RungeKuttaFehlberg</Method>
<Tolerance></Tolerance>
<InternalStep></InternalStep>
<MemoryLength></MemoryLength>
<MaximumStep></MaximumStep>
<MaximumNumberOfSteps>10000</MaximumNumberOfSteps>
<AbsoluteTolerance>0.00001</AbsoluteTolerance>
<RelativeTolerance></RelativeTolerance>
<EstimateFirstStep>false</EstimateFirstStep>
<AccelerationIndependentOfVelocity>false</AccelerationIndependentOfVelocity>
<ForceSynchronization>false</ForceSynchronization>
<UseBestInterpolation>false</UseBestInterpolation>
<EventMaximumStep></EventMaximumStep>
<DelayList><![CDATA[]]></DelayList>
<DelayMaximum><![CDATA[]]></DelayMaximum>
<DelayAddDiscont><![CDATA[]]></DelayAddDiscont>
<DirectIncidenceMatrix><![CDATA[]]></DirectIncidenceMatrix>
<Comment><![CDATA[]]></Comment>
</Content>
</Osejs.Model.Evolution.Page>
</Osejs.Model.Evolution>
<Osejs.Model.Constraints>
</Osejs.Model.Constraints>
<Osejs.Model.Library>
<Osejs.Model.Library.Page>
<Type>LIBRARY_EDITOR</Type>
<Name>Shuffle</Name>
<Active>true</Active>
<Internal>false</Internal>
<Content>
<Comment><![CDATA[]]></Comment>
<Code><![CDATA[
// in initialization
// possible usage if y is the array
//shuffleArray(oy);


//https://stackoverflow.com/questions/2450954/how-to-randomize-shuffle-a-javascript-array
/**
 * Randomize array element order in-place.
 * Using Durstenfeld shuffle algorithm.
 */
function shuffleArray(array) {
    for (var i = array.length - 1; i > 0; i--) {
        var j = Math.floor(Math.random() * (i + 1));
        var temp = array[i];
        array[i] = array[j];
        array[j] = temp;
    }
}
]]></Code>
</Content>
</Osejs.Model.Library.Page>
</Osejs.Model.Library>
<Osejs.Model.Elements>
</Osejs.Model.Elements>
</Osejs.Model>
<Osejs.View>
<Osejs.View.Creation>
</Osejs.View.Creation>
</Osejs.View>
<Osejs.HtmlView>
<Osejs.HtmlView.Page>
<Type>HTML_VIEW_EDITOR</Type>
<Name>HtmlView Page</Name>
<Active>true</Active>
<Internal>false</Internal>
<Content>
<SizeOption>0</SizeOption>
<X>0</X>
<Y>0</Y>
<Width>800</Width>
<Height>600</Height>
<KeepHidden>true</KeepHidden>
<RootProperties>
</RootProperties>
<Tree>
<HtmlView.Element>
<Expanded>true</Expanded>
<Type>Elements.Panel</Type>
<Name><![CDATA[singlePlotPanel]]></Name>
</HtmlView.Element>
<HtmlView.Element>
<Type>Elements.Label</Type>
<Name><![CDATA[label]]></Name>
<Parent><![CDATA[singlePlotPanel]]></Parent>
<Property name="Text"><![CDATA["Zombi Kampung Pisang"]]></Property>
<Property name="Font"><![CDATA["normal bold 30px Tahoma, Geneva, sans-serif"]]></Property>
</HtmlView.Element>
<HtmlView.Element>
<Expanded>true</Expanded>
<Type>Elements.WrappedPanel</Type>
<Name><![CDATA[wrappedPanel]]></Name>
<Parent><![CDATA[singlePlotPanel]]></Parent>
<Property name="CSS"><![CDATA[{ "display":"block"}]]></Property>
</HtmlView.Element>
<HtmlView.Element>
<Type>Elements.Label</Type>
<Name><![CDATA[name2]]></Name>
<Parent><![CDATA[wrappedPanel]]></Parent>
<Property name="Text"><![CDATA["Sila taipkan nama kamu: "]]></Property>
</HtmlView.Element>
<HtmlView.Element>
<Type>Elements.TextField</Type>
<Name><![CDATA[name]]></Name>
<Parent><![CDATA[wrappedPanel]]></Parent>
<Property name="Value"><![CDATA[%name%]]></Property>
<Property name="Editable"><![CDATA[true]]></Property>
<Property name="Foreground"><![CDATA["Red"]]></Property>
<Property name="Font"><![CDATA["normal normal 20px "]]></Property>
</HtmlView.Element>
<HtmlView.Element>
<Type>Elements.TwoStateButton</Type>
<Name><![CDATA[PlayPauseButton]]></Name>
<Parent><![CDATA[wrappedPanel]]></Parent>
<Property name="OffClick"><![CDATA[%_pause%]]></Property>
<Property name="Background"><![CDATA["Green"]]></Property>
<Property name="State"><![CDATA[_isPaused]]></Property>
<Property name="Tooltip"><![CDATA["Mula/Jeda"]]></Property>
<Property name="Height"><![CDATA[35]]></Property>
<Property name="ImageOnUrl"><![CDATA["/org/opensourcephysics/resources/controls/images/play.gif"]]></Property>
<Property name="OnClick"><![CDATA[_play();]]></Property>
<Property name="Width"><![CDATA[50]]></Property>
<Property name="Font"><![CDATA["normal normal 20px \"Comic Sans MS\", cursive, sans-serif"]]></Property>
<Property name="ImageOffUrl"><![CDATA["/org/opensourcephysics/resources/controls/images/pause.gif"]]></Property>
</HtmlView.Element>
<HtmlView.Element>
<Type>Elements.Button</Type>
<Name><![CDATA[resetButton]]></Name>
<Parent><![CDATA[wrappedPanel]]></Parent>
<Property name="Background"><![CDATA["Red"]]></Property>
<Property name="Tooltip"><![CDATA["Cuba Lagi"]]></Property>
<Property name="ImageUrl"><![CDATA["/org/opensourcephysics/resources/controls/images/reset.gif"]]></Property>
<Property name="Height"><![CDATA[35]]></Property>
<Property name="OnClick"><![CDATA[%_reset%]]></Property>
<Property name="Width"><![CDATA[50]]></Property>
</HtmlView.Element>
<HtmlView.Element>
<Type>Elements.Audio</Type>
<Name><![CDATA[yeah]]></Name>
<Parent><![CDATA[wrappedPanel]]></Parent>
<Property name="Volume"><![CDATA[0.7]]></Property>
<Property name="AudioUrl"><![CDATA["./yeah.wav"]]></Property>
</HtmlView.Element>
<HtmlView.Element>
<Type>Elements.Audio</Type>
<Name><![CDATA[music]]></Name>
<Parent><![CDATA[wrappedPanel]]></Parent>
<Property name="Loop"><![CDATA[true]]></Property>
<Property name="Volume"><![CDATA[0.5]]></Property>
<Property name="AudioUrl"><![CDATA["./loop.wav"]]></Property>
</HtmlView.Element>
<HtmlView.Element>
<Type>Elements.Audio</Type>
<Name><![CDATA[playerhit]]></Name>
<Parent><![CDATA[wrappedPanel]]></Parent>
<Property name="AudioUrl"><![CDATA["./playerhit.wav"]]></Property>
</HtmlView.Element>
<HtmlView.Element>
<Type>Elements.Audio</Type>
<Name><![CDATA[audio]]></Name>
<Parent><![CDATA[wrappedPanel]]></Parent>
<Property name="Autoplay"><![CDATA[true]]></Property>
<Property name="AudioUrl"><![CDATA["./rawr.wav"]]></Property>
</HtmlView.Element>
<HtmlView.Element>
<Type>Elements.Audio</Type>
<Name><![CDATA[dart]]></Name>
<Parent><![CDATA[wrappedPanel]]></Parent>
<Property name="AudioUrl"><![CDATA["./dart.wav"]]></Property>
</HtmlView.Element>
<HtmlView.Element>
<Type>Elements.Audio</Type>
<Name><![CDATA[miss]]></Name>
<Parent><![CDATA[wrappedPanel]]></Parent>
<Property name="AudioUrl"><![CDATA["./zombiemiss.wav"]]></Property>
</HtmlView.Element>
<HtmlView.Element>
<Expanded>true</Expanded>
<Type>Elements.PlottingPanel</Type>
<Name><![CDATA[plottingPanel]]></Name>
<Parent><![CDATA[wrappedPanel]]></Parent>
<Property name="Gutters"><![CDATA[[0,0,0,0]]]></Property>
<Property name="XFixedTick"><![CDATA[10]]></Property>
<Property name="Enabled"><![CDATA[true]]></Property>
<Property name="MaximumY"><![CDATA[10]]></Property>
<Property name="MaximumX"><![CDATA[10]]></Property>
<Property name="YFixedTick"><![CDATA[10]]></Property>
<Property name="YAutoTicks"><![CDATA[false]]></Property>
<Property name="TRMessage"><![CDATA["scorey="+scorey]]></Property>
<Property name="MinimumX"><![CDATA[-10]]></Property>
<Property name="MinimumY"><![CDATA[-10]]></Property>
<Property name="XTickStep"><![CDATA[20]]></Property>
<Property name="YTickStep"><![CDATA[20]]></Property>
<Property name="XAutoTicks"><![CDATA[false]]></Property>
<Property name="Height"><![CDATA[""+window.innerHeight*0.8]]></Property>
<Property name="Width"><![CDATA["100%"]]></Property>
<Property name="TLMessage"><![CDATA["hy="+hy]]></Property>
</HtmlView.Element>
<HtmlView.Element>
<Type>Elements.Image2D</Type>
<Name><![CDATA[bg]]></Name>
<Parent><![CDATA[plottingPanel]]></Parent>
<Property name="SizeX"><![CDATA[20]]></Property>
<Property name="X"><![CDATA[bgx]]></Property>
<Property name="ImageUrl"><![CDATA["./bg.png"]]></Property>
<Property name="Y"><![CDATA[bgy]]></Property>
<Property name="SizeY"><![CDATA[20]]></Property>
</HtmlView.Element>
<HtmlView.Element>
<Type>Elements.Text2D</Type>
<Name><![CDATA[questioncount]]></Name>
<Parent><![CDATA[plottingPanel]]></Parent>
<Property name="X"><![CDATA[bgx+0.45]]></Property>
<Property name="Y"><![CDATA[bgy+8.45]]></Property>
<Property name="Text"><![CDATA[""+qn_count]]></Property>
<Property name="Font"><![CDATA["normal normal 25px Tahoma, Geneva, sans-serif"]]></Property>
</HtmlView.Element>
<HtmlView.Element>
<Type>Elements.Image2D</Type>
<Name><![CDATA[tomb]]></Name>
<Parent><![CDATA[plottingPanel]]></Parent>
<Property name="OnRelease"><![CDATA[_view._update(); //hope it redraw]]></Property>
<Property name="Sensitivity"><![CDATA[100]]></Property>
<Property name="SizeX"><![CDATA[5]]></Property>
<Property name="X"><![CDATA[tx]]></Property>
<Property name="Y"><![CDATA[ty]]></Property>
<Property name="ImageUrl"><![CDATA["./tomb.png"]]></Property>
<Property name="OnPress"><![CDATA[_view.music.play();
starty=-100;
gify=-100;
gifx=-8
gifv=0;
ty=-100;
oy=[3,0,-3,-6];
zv=1;
sby=-7;
py=-1;
hy=4.5;  // to change if need to position meter text
zy=-1;
_view.audio.play();
scorey=4.5; // to change if need to position score text
]]></Property>
<Property name="SizeY"><![CDATA[10]]></Property>
<Property name="EnabledPosition"><![CDATA["ENABLED_NO_MOVE"]]></Property>
</HtmlView.Element>
<HtmlView.Element>
<Type>Elements.Image2D</Type>
<Name><![CDATA[start]]></Name>
<Parent><![CDATA[plottingPanel]]></Parent>
<Property name="SizeX"><![CDATA[20]]></Property>
<Property name="X"><![CDATA[startx]]></Property>
<Property name="ImageUrl"><![CDATA["./start.png"]]></Property>
<Property name="Y"><![CDATA[starty]]></Property>
<Property name="SizeY"><![CDATA[20]]></Property>
</HtmlView.Element>
<HtmlView.Element>
<Type>Elements.Text2D</Type>
<Name><![CDATA[tombtext]]></Name>
<Parent><![CDATA[plottingPanel]]></Parent>
<Property name="RelativePosition"><![CDATA["NORTH"]]></Property>
<Property name="X"><![CDATA[tx]]></Property>
<Property name="Y"><![CDATA[ty]]></Property>
<Property name="Text"><![CDATA[%gametitle%]]></Property>
</HtmlView.Element>
<HtmlView.Element>
<Type>Elements.Image2D</Type>
<Name><![CDATA[gifzombie]]></Name>
<Parent><![CDATA[plottingPanel]]></Parent>
<Property name="SizeX"><![CDATA[3]]></Property>
<Property name="X"><![CDATA[gifx]]></Property>
<Property name="ImageUrl"><![CDATA["./gifzombie.gif"]]></Property>
<Property name="Y"><![CDATA[gify]]></Property>
<Property name="SizeY"><![CDATA[8]]></Property>
</HtmlView.Element>
<HtmlView.Element>
<Type>Elements.Meter</Type>
<Name><![CDATA[strengthmeter2]]></Name>
<Parent><![CDATA[plottingPanel]]></Parent>
<Property name="Brand"><![CDATA["Health Meter"]]></Property>
<Property name="Radius"><![CDATA[2]]></Property>
<Property name="AngleForMinimum"><![CDATA[0]]></Property>
<Property name="Minimum"><![CDATA[0]]></Property>
<Property name="Maximum"><![CDATA[5]]></Property>
<Property name="FillColor"><![CDATA["Green"]]></Property>
<Property name="NumberOfMarks"><![CDATA[5]]></Property>
<Property name="AngleForMaximum"><![CDATA[1.73*pi]]></Property>
<Property name="X"><![CDATA[4]]></Property>
<Property name="Value"><![CDATA[health]]></Property>
<Property name="Y"><![CDATA[4.5]]></Property>
<Property name="Visibility"><![CDATA[hy>0]]></Property>
</HtmlView.Element>
<HtmlView.Element>
<Type>Elements.Meter</Type>
<Name><![CDATA[strengthmeter]]></Name>
<Parent><![CDATA[plottingPanel]]></Parent>
<Property name="Brand"><![CDATA["Health Meter"]]></Property>
<Property name="Radius"><![CDATA[2]]></Property>
<Property name="AngleForMinimum"><![CDATA[0]]></Property>
<Property name="Minimum"><![CDATA[0]]></Property>
<Property name="Maximum"><![CDATA[5]]></Property>
<Property name="NumberOfMarks"><![CDATA[5]]></Property>
<Property name="AngleForMaximum"><![CDATA[1.73*pi]]></Property>
<Property name="X"><![CDATA[4]]></Property>
<Property name="Value"><![CDATA[health]]></Property>
<Property name="Y"><![CDATA[hy]]></Property>
</HtmlView.Element>
<HtmlView.Element>
<Type>Elements.Shape2D</Type>
<Name><![CDATA[shape]]></Name>
<Parent><![CDATA[plottingPanel]]></Parent>
<Property name="SizeX"><![CDATA[20]]></Property>
<Property name="ShapeType"><![CDATA["RECTANGLE"]]></Property>
<Property name="X"><![CDATA[4]]></Property>
<Property name="Y"><![CDATA[hy]]></Property>
<Property name="SizeY"><![CDATA[20]]></Property>
<Property name="PixelSize"><![CDATA[true]]></Property>
<Property name="DrawFill"><![CDATA[false]]></Property>
<Property name="EnabledPosition"><![CDATA["ENABLED_ANY"]]></Property>
</HtmlView.Element>
<HtmlView.Element>
<Type>Elements.Image2D</Type>
<Name><![CDATA[player]]></Name>
<Parent><![CDATA[plottingPanel]]></Parent>
<Property name="SizeX"><![CDATA[8]]></Property>
<Property name="X"><![CDATA[px+1]]></Property>
<Property name="ImageUrl"><![CDATA["./human.png"]]></Property>
<Property name="Y"><![CDATA[py]]></Property>
<Property name="SizeY"><![CDATA[10]]></Property>
</HtmlView.Element>
<HtmlView.Element>
<Type>Elements.Image2D</Type>
<Name><![CDATA[zombie]]></Name>
<Parent><![CDATA[plottingPanel]]></Parent>
<Property name="SizeX"><![CDATA[2]]></Property>
<Property name="X"><![CDATA[zx]]></Property>
<Property name="ImageUrl"><![CDATA["./zombie.gif"]]></Property>
<Property name="Y"><![CDATA[zy]]></Property>
<Property name="SizeY"><![CDATA[6]]></Property>
</HtmlView.Element>
<HtmlView.Element>
<Type>Elements.Image2D</Type>
<Name><![CDATA[healedzombie]]></Name>
<Parent><![CDATA[plottingPanel]]></Parent>
<Property name="SizeX"><![CDATA[2]]></Property>
<Property name="X"><![CDATA[hzx]]></Property>
<Property name="ImageUrl"><![CDATA["./healed.png"]]></Property>
<Property name="Y"><![CDATA[hzy]]></Property>
<Property name="SizeY"><![CDATA[6]]></Property>
</HtmlView.Element>
<HtmlView.Element>
<Type>Elements.Image2D</Type>
<Name><![CDATA[animatedsyringe2]]></Name>
<Parent><![CDATA[plottingPanel]]></Parent>
<Property name="SizeX"><![CDATA[1]]></Property>
<Property name="X"><![CDATA[wsx+1]]></Property>
<Property name="Y"><![CDATA[wsy]]></Property>
<Property name="ImageUrl"><![CDATA["./syringe.png"]]></Property>
<Property name="SizeY"><![CDATA[2]]></Property>
</HtmlView.Element>
<HtmlView.Element>
<Type>Elements.Image2D</Type>
<Name><![CDATA[animatedsyringe]]></Name>
<Parent><![CDATA[plottingPanel]]></Parent>
<Property name="SizeX"><![CDATA[1]]></Property>
<Property name="X"><![CDATA[sx+1]]></Property>
<Property name="Y"><![CDATA[sy]]></Property>
<Property name="ImageUrl"><![CDATA["./syringe.png"]]></Property>
<Property name="SizeY"><![CDATA[2]]></Property>
</HtmlView.Element>
<HtmlView.Element>
<Expanded>true</Expanded>
<Type>Elements.Group2D</Type>
<Name><![CDATA[options]]></Name>
<Parent><![CDATA[plottingPanel]]></Parent>
</HtmlView.Element>
<HtmlView.Element>
<Type>Elements.ShapeSet2D</Type>
<Name><![CDATA[options2]]></Name>
<Parent><![CDATA[options]]></Parent>
<Property name="NumberOfElements"><![CDATA[n]]></Property>
<Property name="FillColor"><![CDATA["rgba(200,220,208,1)"]]></Property>
<Property name="SizeX"><![CDATA[4]]></Property>
<Property name="ShapeType"><![CDATA["ROUND_RECTANGLE"]]></Property>
<Property name="X"><![CDATA[ox]]></Property>
<Property name="Y"><![CDATA[oy]]></Property>
<Property name="SizeY"><![CDATA[2]]></Property>
</HtmlView.Element>
<HtmlView.Element>
<Type>Elements.TextSet2D</Type>
<Name><![CDATA[syringeanswer]]></Name>
<Parent><![CDATA[options]]></Parent>
<Property name="NumberOfElements"><![CDATA[n]]></Property>
<Property name="Sensitivity"><![CDATA[50]]></Property>
<Property name="FontSize"><![CDATA[30]]></Property>
<Property name="X"><![CDATA[ox]]></Property>
<Property name="Y"><![CDATA[oy]]></Property>
<Property name="Text"><![CDATA[%answer%]]></Property>
<Property name="OnPress"><![CDATA[
 if (stopshoot == 0){

if (elementinteracted == 0){
 sx=px;
 sv=3;
 wsx=-100;
 wsv=0;
 _view.dart.play();
 stopshoot = 1;
   }
  else if(elementinteracted == 1){
 wsx=px;
 wsv=3;
 sx=-100;
 sv=0;
  _view.dart.play();
   stopshoot = 1;
    }
    else if(elementinteracted == 2){
 wsx=px;
 wsv=3; 
  sx=-100;
 sv=0;
  _view.dart.play();
   stopshoot = 1;
    }
else if(elementinteracted == 3){
 wsx=px;
 wsv=3;   
  sx=-100;
 sv=0;
  _view.dart.play();
   stopshoot = 1;
    }
}]]></Property>
<Property name="EnabledPosition"><![CDATA["ENABLED_NO_MOVE"]]></Property>
<Property name="ElementInteracted"><![CDATA[elementinteracted]]></Property>
</HtmlView.Element>
<HtmlView.Element>
<Expanded>true</Expanded>
<Type>Elements.Group2D</Type>
<Name><![CDATA[zombiespeech]]></Name>
<Parent><![CDATA[plottingPanel]]></Parent>
</HtmlView.Element>
<HtmlView.Element>
<Type>Elements.Image2D</Type>
<Name><![CDATA[speechbubble]]></Name>
<Parent><![CDATA[zombiespeech]]></Parent>
<Property name="Transformation"><![CDATA[[-1,0,0,-1,0,0]]]></Property>
<Property name="SizeX"><![CDATA[15]]></Property>
<Property name="X"><![CDATA[2.2]]></Property>
<Property name="ImageUrl"><![CDATA["./zombiespeech2.png"]]></Property>
<Property name="Y"><![CDATA[sby]]></Property>
<Property name="SizeY"><![CDATA[4]]></Property>
</HtmlView.Element>
<HtmlView.Element>
<Type>Elements.Text2D</Type>
<Name><![CDATA[speechtext]]></Name>
<Parent><![CDATA[zombiespeech]]></Parent>
<Property name="FillColor"><![CDATA["Black"]]></Property>
<Property name="X"><![CDATA[2.2]]></Property>
<Property name="Y"><![CDATA[sby-0.7]]></Property>
<Property name="Text"><![CDATA[%question%]]></Property>
<Property name="Font"><![CDATA["normal normal 30px Tahoma, Geneva, sans-serif"]]></Property>
</HtmlView.Element>
<HtmlView.Element>
<Type>Elements.Text2D</Type>
<Name><![CDATA[score]]></Name>
<Parent><![CDATA[plottingPanel]]></Parent>
<Property name="FillColor"><![CDATA["White"]]></Property>
<Property name="X"><![CDATA[8]]></Property>
<Property name="Y"><![CDATA[scorey]]></Property>
<Property name="Text"><![CDATA["score="+score]]></Property>
<Property name="Font"><![CDATA["normal bold 20px Tahoma, Geneva, sans-serif"]]></Property>
</HtmlView.Element>
</Tree>
</Content>
</Osejs.HtmlView.Page>
</Osejs.HtmlView>
</Osejs>
