<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Nicolas Muñoz &#8211; Run Run Ice Cube</title>
	<atom:link href="https://runrunicecube.com/author/nicomunoz/feed/" rel="self" type="application/rss+xml" />
	<link>https://runrunicecube.com</link>
	<description>Disfruta con Impacto 🌎💙</description>
	<lastBuildDate>Thu, 29 Aug 2024 23:56:46 +0000</lastBuildDate>
	<language>es</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.6.2</generator>

<image>
	<url>https://runrunicecube.com/wp-content/uploads/2024/07/cropped-favicon-32x32.png</url>
	<title>Nicolas Muñoz &#8211; Run Run Ice Cube</title>
	<link>https://runrunicecube.com</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>Ski Ski Ice Cube hold</title>
		<link>https://runrunicecube.com/juegos/ski-ski-ice-cube-hold/</link>
		
		<dc:creator><![CDATA[Nicolas Muñoz]]></dc:creator>
		<pubDate>Tue, 27 Aug 2024 15:30:29 +0000</pubDate>
				<category><![CDATA[Desktop]]></category>
		<category><![CDATA[juegos]]></category>
		<guid isPermaLink="false">https://runrunicecube.com/?p=4633</guid>

					<description><![CDATA[Ski Ski Ice Cube [Versión Desktop &#8211; Demo] Importante:&#160;Este juego&#160;está diseñado para computador💻, pero lo hemos adaptado para que también sea jugable en tu teléfono.📱PERO OJO: 👀 Tiene pendiente sus ajustes responsivos, por lo que la experiencia aún no es ideal.&#160; ✌️ ¡Conquista la montaña! 🏔️❄️🏔️ Izzy, Kiub y todos sus amigos se han trasladado [&#8230;]]]></description>
										<content:encoded><![CDATA[		<div data-elementor-type="wp-post" data-elementor-id="4633" class="elementor elementor-4633" data-elementor-post-type="post">
						<section class="elementor-section elementor-top-section elementor-element elementor-element-f9037a3 elementor-section-boxed elementor-section-height-default elementor-section-height-default" data-id="f9037a3" data-element_type="section" data-settings="{&quot;background_background&quot;:&quot;classic&quot;}">
							<div class="elementor-background-overlay"></div>
							<div class="elementor-container elementor-column-gap-default">
					<div class="elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-bf0de89" data-id="bf0de89" data-element_type="column">
			<div class="elementor-widget-wrap elementor-element-populated">
						<div class="elementor-element elementor-element-82c2ced elementor-widget elementor-widget-heading" data-id="82c2ced" data-element_type="widget" data-widget_type="heading.default">
				<div class="elementor-widget-container">
					<h2 class="elementor-heading-title elementor-size-default">Ski Ski Ice Cube</h2>				</div>
				</div>
				<div class="elementor-element elementor-element-f1d39c4 elementor-widget elementor-widget-text-editor" data-id="f1d39c4" data-element_type="widget" data-widget_type="text-editor.default">
				<div class="elementor-widget-container">
									<p><strong>[Versión Desktop &#8211; Demo]</strong></p>								</div>
				</div>
					</div>
		</div>
					</div>
		</section>
				<section class="elementor-section elementor-top-section elementor-element elementor-element-eac9812 elementor-section-boxed elementor-section-height-default elementor-section-height-default" data-id="eac9812" data-element_type="section" data-settings="{&quot;background_background&quot;:&quot;classic&quot;}">
						<div class="elementor-container elementor-column-gap-default">
					<div class="elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-2614016" data-id="2614016" data-element_type="column">
			<div class="elementor-widget-wrap elementor-element-populated">
						<div class="elementor-element elementor-element-56fecb3 elementor-widget elementor-widget-text-editor" data-id="56fecb3" data-element_type="widget" data-widget_type="text-editor.default">
				<div class="elementor-widget-container">
									<p><span style="font-variant-ligatures: normal; font-variant-caps: normal; font-family: Roboto, sans-serif; font-size: 14px; font-style: normal; font-weight: 600;">Importante:</span><span style="font-family: Roboto, sans-serif; font-size: 14px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400;">&nbsp;Este juego&nbsp;</span><span style="font-variant-ligatures: normal; font-variant-caps: normal; font-family: Roboto, sans-serif; font-size: 14px; font-style: normal; font-weight: 400; text-decoration-line: underline;">está diseñado para computador</span><span style="font-variant-ligatures: normal; font-variant-caps: normal; font-family: Roboto, sans-serif; font-size: 14px; font-style: normal; font-weight: 400; color: var( --e-global-color-text );"><img src="https://s.w.org/images/core/emoji/15.0.3/72x72/1f4bb.png" alt="💻" class="wp-smiley" style="height: 1em; max-height: 1em;" /></span><span style="font-variant-ligatures: normal; font-variant-caps: normal; font-family: Roboto, sans-serif; font-size: 14px; font-style: normal; font-weight: 400; color: var( --e-global-color-text );">, pero lo hemos adaptado para que también sea jugable en tu teléfono.<img src="https://s.w.org/images/core/emoji/15.0.3/72x72/1f4f1.png" alt="📱" class="wp-smiley" style="height: 1em; max-height: 1em;" /><br></span><span style="font-variant-ligatures: normal; font-variant-caps: normal; font-family: Roboto, sans-serif; font-size: 14px; font-style: normal; font-weight: 400; color: var( --e-global-color-text );">PERO OJO: <img src="https://s.w.org/images/core/emoji/15.0.3/72x72/1f440.png" alt="👀" class="wp-smiley" style="height: 1em; max-height: 1em;" /> Tiene pendiente sus ajustes responsivos, por lo que la experiencia aún no es ideal.&nbsp; <img src="https://s.w.org/images/core/emoji/15.0.3/72x72/270c.png" alt="✌" class="wp-smiley" style="height: 1em; max-height: 1em;" /></span><br></p>								</div>
				</div>
					</div>
		</div>
					</div>
		</section>
				<section class="elementor-section elementor-top-section elementor-element elementor-element-1a009807 elementor-section-boxed elementor-section-height-default elementor-section-height-default" data-id="1a009807" data-element_type="section">
						<div class="elementor-container elementor-column-gap-default">
					<div class="elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-3c70ccf4" data-id="3c70ccf4" data-element_type="column">
			<div class="elementor-widget-wrap elementor-element-populated">
						<div class="elementor-element elementor-element-4ca858d4 elementor-widget elementor-widget-text-editor" data-id="4ca858d4" data-element_type="widget" data-widget_type="text-editor.default">
				<div class="elementor-widget-container">
									<p></p>
<h3 style="text-align: center;"><span style="color: #000080;">¡Conquista la montaña! <img src="https://s.w.org/images/core/emoji/15.0.3/72x72/1f3d4.png" alt="🏔" class="wp-smiley" style="height: 1em; max-height: 1em;" /></span><img src="https://s.w.org/images/core/emoji/15.0.3/72x72/2744.png" alt="❄" class="wp-smiley" style="height: 1em; max-height: 1em;" /><img src="https://s.w.org/images/core/emoji/15.0.3/72x72/1f3d4.png" alt="🏔" class="wp-smiley" style="height: 1em; max-height: 1em;" /></h3>
<p style="text-align: center;"></p>
<p style="text-align: center;"></p>
<p style="text-align: center;">Izzy, Kiub y todos sus amigos se han trasladado a la nieve para competir en una extrema, loca y divertida bajada en Ski.<br />Evita los obstáculos mientras recolectas copos que te permitirán mejorar las habilidades de tu personaje y desbloquear nuevos competidores.<br /><span style="font-size: 14px; color: var( --e-global-color-text );">¿Qué tan lejos podrás llegar? <img src="https://s.w.org/images/core/emoji/15.0.3/72x72/26f7.png" alt="⛷" class="wp-smiley" style="height: 1em; max-height: 1em;" /><img src="https://s.w.org/images/core/emoji/15.0.3/72x72/1f440.png" alt="👀" class="wp-smiley" style="height: 1em; max-height: 1em;" /> </span>



<link rel="shortcut icon" href="https://runrunicecube.com/Unity/test_ski/skiwebTest/TemplateData/favicon.ico">
<link rel="stylesheet" href="https://runrunicecube.com/Unity/test_ski/skiwebTest/TemplateData/style.css">
<div>
    <div id="unity-desktop" style="position:relative; height: 850px;">
        <div id="unity-container" class="unity-desktop">
            <canvas id="unity-canvas" width=432 height=768 tabindex="-1"></canvas>
            <div id="unity-loading-bar">
              <div id="unity-logo"></div>
              <div id="unity-progress-bar-empty">
                <div id="unity-progress-bar-full"></div>
              </div>
            </div>
            <div id="unity-warning"> </div>
            <div id="unity-footer">
              <div id="unity-webgl-logo"></div>
              <div id="unity-fullscreen-button" style="display: none;"></div>
              <div id="unity-build-title">ski</div>
            </div>
          </div>

    </div>

    <div style="    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;">
      <button id="btnShowMobile" onclick="showMobile()">Jugar en mobile 
      </button>
  
      <div id="containerLoading" style="width: 100px; height: 100px; display: none;">
        <div id="loadingGame" class="tenor-gif-embed" data-postid="23067502" data-share-method="host" data-aspect-ratio="1" data-width="100%"><a href="https://tenor.com/view/loading-gif-hr-gif-23067502">Loading Gif Sticker</a>from <a href="https://tenor.com/search/loading-stickers">Loading Stickers</a></div> <script type="text/javascript" async src="https://tenor.com/embed.js"></script>
  
      </div>
    </div>
    

</div>
<script>
 let d = new Date();
if (/iPhone|iPad|iPod|Android/i.test(navigator.userAgent)) {
    document.querySelector("#unity-desktop").style.display = "none";
    

}else{

    document.querySelector("#btnShowMobile").style.display = "none";

      var container = document.querySelector("#unity-container");
      var canvas = document.querySelector("#unity-canvas");
      var loadingBar = document.querySelector("#unity-loading-bar");
      var progressBarFull = document.querySelector("#unity-progress-bar-full");
      var fullscreenButton = document.querySelector("#unity-fullscreen-button");
      var warningBanner = document.querySelector("#unity-warning");

      function unityShowBanner(msg, type) {
        function updateBannerVisibility() {
          warningBanner.style.display = warningBanner.children.length ? 'block' : 'none';
        }
        var div = document.createElement('div');
        div.innerHTML = msg;
        warningBanner.appendChild(div);
        if (type == 'error') div.style = 'background: red; padding: 10px;';
        else {
          if (type == 'warning') div.style = 'background: yellow; padding: 10px;';
          setTimeout(function() {
            warningBanner.removeChild(div);
            updateBannerVisibility();
          }, 5000);
        }
        updateBannerVisibility();
      }

     
      var buildUrl = "https://runrunicecube.com/Unity/test_ski/skiwebTest/Build";
      var loaderUrl = buildUrl + "/skiwebTest.loader.js?date="+d.getTime();
      var config = {
        dataUrl: buildUrl + "/skiwebTest.data",
        frameworkUrl: buildUrl + "/skiwebTest.framework.js",
        codeUrl: buildUrl + "/skiwebTest.wasm",
        streamingAssetsUrl: "StreamingAssets",
        companyName: "IceTree",
        productName: "ski",
        productVersion: "0.0.5",
        showBanner: unityShowBanner,
      };

      console.log("loaderUrl",loaderUrl);

        canvas.style.width = "432px";
        canvas.style.height = "768px";

      loadingBar.style.display = "block";

      var script = document.createElement("script");
      script.src = loaderUrl;
      script.onload = () => {
        createUnityInstance(canvas, config, (progress) => {
          progressBarFull.style.width = 100 * progress + "%";
              }).then((unityInstance) => {
                loadingBar.style.display = "none";
                fullscreenButton.onclick = () => {
                  unityInstance.SetFullscreen(1);
                };
              }).catch((message) => {
                alert(message);
              });
            };

      document.body.appendChild(script);
}


function showMobile(){
    document.querySelector("#containerLoading").style.display = "block";


let width = window.innerWidth;
let height = window.innerHeight;
console.log("width",width);
console.log("height",height);
width = "100vw";
height = "100vh";
let elementMobile = `
<div id="containerMobileUnityGame" style="z-index: 1;
    position: fixed;
    width: 100vw;
    height: 100vh;
    top: -5px;">
    
<div id="unity-container-mobile" class="unity-desktop">
  <canvas id="unity-canvas-mobile" width="${width}" height="${height}" tabindex="-1" style="width:100vw; height:100vh;"></canvas>
  <div id="unity-loading-bar-mobile">
    <div id="unity-logo"></div>
    <div id="unity-progress-bar-empty">
      <div id="unity-progress-bar-full-mobile"></div>
    </div>
  </div>
  <div id="unity-warning-mobile"> </div>
  <div id="unity-footer">
    <div id="unity-webgl-logo"></div>
    <div id="unity-fullscreen-button-mobile"></div>
    <div id="unity-build-title">ski</div>
  </div>
</div>
    </div>
`;

const divGeneral = document.getElementById("outer-wrap");
const contenedorTemporal = document.createElement('div');
contenedorTemporal.innerHTML = elementMobile;
divGeneral.insertBefore(contenedorTemporal,divGeneral.firstChild);

      var containerMobile = document.querySelector("#unity-container-mobile");
      var canvasMobile = document.querySelector("#unity-canvas-mobile");
      var loadingBarMobile = document.querySelector("#unity-loading-bar-mobile");
      var progressBarFullMobile = document.querySelector("#unity-progress-bar-full-mobile");
      var fullscreenButtonMobile = document.querySelector("#unity-fullscreen-button-mobile");
      var warningBannerMobile = document.querySelector("#unity-warning-mobile");

      



      function unityShowBannerMobile(msg, type) {
      
        
        function updateBannerVisibilityMobile() {
          warningBannerMobile.style.display = warningBannerMobile.children.length ? 'block' : 'none';
        }
        var div = document.createElement('div');
        div.innerHTML = msg;
        warningBannerMobile.appendChild(div);
        if (type == 'error') div.style = 'background: red; padding: 10px;';
        else {
          if (type == 'warning') div.style = 'background: yellow; padding: 10px;';
          setTimeout(function() {
            warningBannerMobile.removeChild(div);
            updateBannerVisibilityMobile();
          }, 5000);
        }
        updateBannerVisibilityMobile();
      }
     

      var buildUrl = "https://runrunicecube.com/Unity/test_ski/skiwebTest/Build";
      var loaderUrl = buildUrl + "/skiwebTest.loader.js?date="+d.getTime();
      var configMobile = {
        dataUrl: buildUrl + "/skiwebTest.data",
        frameworkUrl: buildUrl + "/skiwebTest.framework.js",
        codeUrl: buildUrl + "/skiwebTest.wasm",
        streamingAssetsUrl: "StreamingAssets",
        companyName: "IceTree",
        productName: "ski",
        productVersion: "0.0.5",
        showBanner: unityShowBannerMobile,
      };
      console.log("loaderUrl",loaderUrl);

   

      var meta = document.createElement('meta');
      meta.name = 'viewport';
      meta.content = 'width=device-width, height=device-height, initial-scale=1.0, user-scalable=no, shrink-to-fit=yes';
      document.getElementsByTagName('head')[0].appendChild(meta);
      containerMobile.className = "unity-mobile";
      canvasMobile.className = "unity-mobile";
      console.log("isMobile");      

    loadingBarMobile.style.display = "block";
    

      var script = document.createElement("script");
      script.src = loaderUrl;
      script.onload = () => {
        createUnityInstance(canvasMobile, configMobile, (progress) => {
        progressBarFullMobile.style.width = 100 * progress + "%";
              }).then((unityInstance) => {
                loadingBarMobile.style.display = "none";
                fullscreenButtonMobile.onclick = () => {
                  unityInstance.SetFullscreen(1);
                };
              }).catch((message) => {
                alert(message);
              });
      };
      
      document.body.appendChild(script);

}
</script>
								</div>
				</div>
					</div>
		</div>
					</div>
		</section>
				</div>
		]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>Jump Jump Ice Cube</title>
		<link>https://runrunicecube.com/juegos/jump-jump-ice-cube/</link>
		
		<dc:creator><![CDATA[Nicolas Muñoz]]></dc:creator>
		<pubDate>Mon, 26 Aug 2024 15:44:39 +0000</pubDate>
				<category><![CDATA[Desktop]]></category>
		<category><![CDATA[juegos]]></category>
		<category><![CDATA[Publicado]]></category>
		<guid isPermaLink="false">https://runrunicecube.com/?p=4540</guid>

					<description><![CDATA[Jump Jump Ice Cube [Versión Desktop &#8211; Demo] Importante:&#160;Este juego&#160;está diseñado para computador💻, pero lo hemos adaptado para que también sea jugable en tu teléfono.📱PERO OJO: 👀 Tiene pendiente sus ajustes responsivos, por lo que la experiencia aún no es ideal.&#160; ✌️ ¡Kiub tiene una pesadilla! Hubo una explosión de máquinas de café en el [&#8230;]]]></description>
										<content:encoded><![CDATA[		<div data-elementor-type="wp-post" data-elementor-id="4540" class="elementor elementor-4540" data-elementor-post-type="post">
						<section class="elementor-section elementor-top-section elementor-element elementor-element-cb2de42 elementor-section-boxed elementor-section-height-default elementor-section-height-default" data-id="cb2de42" data-element_type="section" data-settings="{&quot;background_background&quot;:&quot;classic&quot;}">
							<div class="elementor-background-overlay"></div>
							<div class="elementor-container elementor-column-gap-default">
					<div class="elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-66ac64e" data-id="66ac64e" data-element_type="column">
			<div class="elementor-widget-wrap elementor-element-populated">
						<div class="elementor-element elementor-element-3030773 elementor-widget elementor-widget-heading" data-id="3030773" data-element_type="widget" data-widget_type="heading.default">
				<div class="elementor-widget-container">
					<h2 class="elementor-heading-title elementor-size-default">Jump Jump Ice Cube</h2>				</div>
				</div>
				<div class="elementor-element elementor-element-6f98da7 elementor-widget elementor-widget-text-editor" data-id="6f98da7" data-element_type="widget" data-widget_type="text-editor.default">
				<div class="elementor-widget-container">
									<p><strong>[Versión Desktop &#8211; Demo]</strong></p>								</div>
				</div>
					</div>
		</div>
					</div>
		</section>
				<section class="elementor-section elementor-top-section elementor-element elementor-element-d58b042 elementor-section-boxed elementor-section-height-default elementor-section-height-default" data-id="d58b042" data-element_type="section" data-settings="{&quot;background_background&quot;:&quot;classic&quot;}">
						<div class="elementor-container elementor-column-gap-default">
					<div class="elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-0c0989a" data-id="0c0989a" data-element_type="column">
			<div class="elementor-widget-wrap elementor-element-populated">
						<div class="elementor-element elementor-element-af83c10 elementor-widget elementor-widget-text-editor" data-id="af83c10" data-element_type="widget" data-widget_type="text-editor.default">
				<div class="elementor-widget-container">
									<p style="text-align: center;"><span style="font-variant-ligatures: normal; font-variant-caps: normal; font-family: Roboto, sans-serif; font-size: 14px; font-style: normal; font-weight: 600;">Importante:</span><span style="font-family: Roboto, sans-serif; font-size: 14px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400;">&nbsp;Este juego&nbsp;</span><span style="font-variant-ligatures: normal; font-variant-caps: normal; font-family: Roboto, sans-serif; font-size: 14px; font-style: normal; font-weight: 400; text-decoration-line: underline;">está diseñado para computador</span><span style="font-variant-ligatures: normal; font-variant-caps: normal; font-family: Roboto, sans-serif; font-size: 14px; font-style: normal; font-weight: 400; color: var( --e-global-color-text );"><img src="https://s.w.org/images/core/emoji/15.0.3/72x72/1f4bb.png" alt="💻" class="wp-smiley" style="height: 1em; max-height: 1em;" /></span><span style="font-variant-ligatures: normal; font-variant-caps: normal; font-family: Roboto, sans-serif; font-size: 14px; font-style: normal; font-weight: 400; color: var( --e-global-color-text );">, pero lo hemos adaptado para que también sea jugable en tu teléfono.<img src="https://s.w.org/images/core/emoji/15.0.3/72x72/1f4f1.png" alt="📱" class="wp-smiley" style="height: 1em; max-height: 1em;" /><br></span><span style="font-variant-ligatures: normal; font-variant-caps: normal; font-family: Roboto, sans-serif; font-size: 14px; font-style: normal; font-weight: 400; color: var( --e-global-color-text );">PERO OJO: <img src="https://s.w.org/images/core/emoji/15.0.3/72x72/1f440.png" alt="👀" class="wp-smiley" style="height: 1em; max-height: 1em;" /> Tiene pendiente sus ajustes responsivos, por lo que la experiencia aún no es ideal.&nbsp; <img src="https://s.w.org/images/core/emoji/15.0.3/72x72/270c.png" alt="✌" class="wp-smiley" style="height: 1em; max-height: 1em;" /></span><br></p>								</div>
				</div>
					</div>
		</div>
					</div>
		</section>
				<section class="elementor-section elementor-top-section elementor-element elementor-element-4db091e2 elementor-section-boxed elementor-section-height-default elementor-section-height-default" data-id="4db091e2" data-element_type="section">
						<div class="elementor-container elementor-column-gap-default">
					<div class="elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-1174adc1" data-id="1174adc1" data-element_type="column">
			<div class="elementor-widget-wrap elementor-element-populated">
						<div class="elementor-element elementor-element-3a5b4a11 elementor-widget elementor-widget-text-editor" data-id="3a5b4a11" data-element_type="widget" data-widget_type="text-editor.default">
				<div class="elementor-widget-container">
									
<h3 class="has-text-align-center"><span style="color: #000080;"><strong>¡Kiub tiene una pesadilla!</strong></span></h3>



<p class="has-text-align-center">Hubo una explosión de máquinas de café en el Yupimarket, y el líquido hirviendo está subiendo rápidamente, inundando todo a su paso.</p>



<p class="has-text-align-center">Kiub debe escapar del café, saltando y subiendo por las plataformas, y recolectando copos celestes, que aumentan su velocidad.</p>



<p class="has-text-align-center">¡Cuidado con los copos rojos, que reducen su velocidad! Y atento también con los copos oscuros, que pueden salvarte o condenarte a despertar de esta acalorada pesadilla.</p>

<p>&nbsp;</p>

<link rel="shortcut icon" href="https://runrunicecube.com/Unity/jump_v1_9/TemplateData/favicon.ico">
<link rel="stylesheet" href="https://runrunicecube.com/Unity/jump_v1_9/TemplateData/style.css">
<div>
    <div id="unity-desktop" style="position:relative; height: 700px;">
        <div id="unity-container" class="unity-desktop">
            <canvas id="unity-canvas" width=1200 height=600 tabindex="-1"></canvas>
            <div id="unity-loading-bar">
              <div id="unity-logo"></div>
              <div id="unity-progress-bar-empty">
                <div id="unity-progress-bar-full"></div>
              </div>
            </div>
            <div id="unity-warning"> </div>
            <div id="unity-footer">
              <div id="unity-webgl-logo"></div>
              <div id="unity-fullscreen-button" style="display: none;"></div>
              <div id="unity-build-title">timer</div>
            </div>
          </div>

    </div>

    <div style="    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;">
      <button id="btnShowMobile" onclick="showMobile()">Jugar en mobile
      </button>
  
      <div id="mobileHorizontalAlert"  style="display: none;">El dispositivo debe estar horizontal</div>
      <div id="containerLoading" style="width: 100px; height: 100px; display: none;">
        <div id="loadingGame" class="tenor-gif-embed" data-postid="23067502" data-share-method="host" data-aspect-ratio="1" data-width="100%"><a href="https://tenor.com/view/loading-gif-hr-gif-23067502">Loading Gif Sticker</a>from <a href="https://tenor.com/search/loading-stickers">Loading Stickers</a></div> 
        <script type="text/javascript" async src="https://tenor.com/embed.js"></script>
  
      </div>
    </div>
    

</div>
<script>

    

if (/iPhone|iPad|iPod|Android/i.test(navigator.userAgent)) {
    document.querySelector("#unity-desktop").style.display = "none";
    
    if(window.innerWidth < window.innerHeight){
        document.querySelector("#mobileHorizontalAlert").style.display = "block";
    }

}else{

    document.querySelector("#btnShowMobile").style.display = "none";

      var container = document.querySelector("#unity-container");
      var canvas = document.querySelector("#unity-canvas");
      var loadingBar = document.querySelector("#unity-loading-bar");
      var progressBarFull = document.querySelector("#unity-progress-bar-full");
      var fullscreenButton = document.querySelector("#unity-fullscreen-button");
      var warningBanner = document.querySelector("#unity-warning");

      function unityShowBanner(msg, type) {
        function updateBannerVisibility() {
          warningBanner.style.display = warningBanner.children.length ? 'block' : 'none';
        }
        var div = document.createElement('div');
        div.innerHTML = msg;
        warningBanner.appendChild(div);
        if (type == 'error') div.style = 'background: red; padding: 10px;';
        else {
          if (type == 'warning') div.style = 'background: yellow; padding: 10px;';
          setTimeout(function() {
            warningBanner.removeChild(div);
            updateBannerVisibility();
          }, 5000);
        }
        updateBannerVisibility();
      }

      var buildUrl = "https://runrunicecube.com/Unity/jump_v1_9/Build";
      var loaderUrl = buildUrl + "/Compiled Games.loader.js";
      var config = {
        dataUrl: buildUrl + "/Compiled Games.data",
        frameworkUrl: buildUrl + "/Compiled Games.framework.js",
        codeUrl: buildUrl + "/Compiled Games.wasm",
        streamingAssetsUrl: "StreamingAssets",
        companyName: "DefaultCompany",
        productName: "Soup Uppy Ice Cube",
        productVersion: "1.0",
        showBanner: unityShowBanner,
      };

        canvas.style.width = "960px";
        canvas.style.height = "600px";

      loadingBar.style.display = "block";

      var script = document.createElement("script");
      script.src = loaderUrl;
      script.onload = () => {
        createUnityInstance(canvas, config, (progress) => {
          progressBarFull.style.width = 100 * progress + "%";
              }).then((unityInstance) => {
                loadingBar.style.display = "none";
                fullscreenButton.onclick = () => {
                  unityInstance.SetFullscreen(1);
                };
              }).catch((message) => {
                alert(message);
              });
            };

      document.body.appendChild(script);
}


function showMobile(){
    document.querySelector("#containerLoading").style.display = "block";


let width = window.innerWidth;
let height = window.innerHeight;
width = "100vw";
height = "100vh";
let elementMobile = `
<div id="containerMobileUnityGame" style="z-index: 1;
    position: fixed;
    width: 100vw;
    height: 100vh;
    top: -5px;">
    
<div id="unity-container-mobile" class="unity-desktop">
  <canvas id="unity-canvas-mobile" width="${width}" height="${height}" tabindex="-1" style="width:100vw; height:100vh;"></canvas>
  <div id="unity-loading-bar-mobile">
    <div id="unity-logo"></div>
    <div id="unity-progress-bar-empty">
      <div id="unity-progress-bar-full-mobile"></div>
    </div>
  </div>
  <div id="unity-warning-mobile"> </div>
  <div id="unity-footer">
    <div id="unity-webgl-logo"></div>
    <div id="unity-fullscreen-button-mobile"></div>
    <div id="unity-build-title">timer</div>
  </div>
</div>
    </div>
`;

const divGeneral = document.getElementById("outer-wrap");
const contenedorTemporal = document.createElement('div');
contenedorTemporal.innerHTML = elementMobile;
divGeneral.insertBefore(contenedorTemporal,divGeneral.firstChild);

      var containerMobile = document.querySelector("#unity-container-mobile");
      var canvasMobile = document.querySelector("#unity-canvas-mobile");
      var loadingBarMobile = document.querySelector("#unity-loading-bar-mobile");
      var progressBarFullMobile = document.querySelector("#unity-progress-bar-full-mobile");
      var fullscreenButtonMobile = document.querySelector("#unity-fullscreen-button-mobile");
      var warningBannerMobile = document.querySelector("#unity-warning-mobile");



      function unityShowBannerMobile(msg, type) {


        
        function updateBannerVisibilityMobile() {
          warningBannerMobile.style.display = warningBannerMobile.children.length ? 'block' : 'none';
        }
        var div = document.createElement('div');
        div.innerHTML = msg;
        warningBannerMobile.appendChild(div);
        if (type == 'error') div.style = 'background: red; padding: 10px;';
        else {
          if (type == 'warning') div.style = 'background: yellow; padding: 10px;';
          setTimeout(function() {
            warningBannerMobile.removeChild(div);
            updateBannerVisibilityMobile();
          }, 5000);
        }
        updateBannerVisibilityMobile();
      }
     

      var buildUrl = "https://runrunicecube.com/Unity/jump_v1_9/Build";
      var loaderUrl = buildUrl + "/Compiled Games.loader.js";

      var configMobile = {
        dataUrl: buildUrl + "/Compiled Games.data",
        frameworkUrl: buildUrl + "/Compiled Games.framework.js",
        codeUrl: buildUrl + "/Compiled Games.wasm",
        streamingAssetsUrl: "StreamingAssets",
        companyName: "DefaultCompany",
        productName: "Timer Ice Cube",
        productVersion: "1.0",
        showBanner: unityShowBannerMobile,
      };
     

   

      var meta = document.createElement('meta');
      meta.name = 'viewport';
      meta.content = 'width=device-width, height=device-height, initial-scale=1.0, user-scalable=no, shrink-to-fit=yes';
      document.getElementsByTagName('head')[0].appendChild(meta);
      containerMobile.className = "unity-mobile";
      canvasMobile.className = "unity-mobile";
      console.log("isMobile");      

    loadingBarMobile.style.display = "block";
    

      var script = document.createElement("script");
      script.src = loaderUrl;
      script.onload = () => {
        createUnityInstance(canvasMobile, configMobile, (progress) => {
        progressBarFullMobile.style.width = 100 * progress + "%";
              }).then((unityInstance) => {
                loadingBarMobile.style.display = "none";
                fullscreenButtonMobile.onclick = () => {
                  unityInstance.SetFullscreen(1);
                };
              }).catch((message) => {
                alert(message);
              });
      };
      
      document.body.appendChild(script);

}

window.addEventListener("orientationchange", function() {
    switch(window.orientation) {
        case 0:
            document.querySelector("#mobileHorizontalAlert").style.display = "block";
            break;
        case 90:
            document.querySelector("#mobileHorizontalAlert").style.display = "none";
            break;
        case -90:
            document.querySelector("#mobileHorizontalAlert").style.display = "none";
            break;
        case 180:
            document.querySelector("#mobileHorizontalAlert").style.display = "block";
            break;
    }
});
</script>								</div>
				</div>
					</div>
		</div>
					</div>
		</section>
				</div>
		]]></content:encoded>
					
		
		
			</item>
	</channel>
</rss>
