gumshoe2029's Recent Forum Activity

  • You have to use a server with file system or a database to maintain persistent state data. Especially if you are paying people for perfect scores. I would just hack your game, give myself a perfect score and submit it for my prize.

  • Maybe try using a sprite mouse cursor?

  • We use a modified version of this: https://www.scirra.com/tutorials/415/dr ... -and-touch

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • Use object families.

  • In future we hope to have a feature that lets you set a layout as a loading screen, so you can have whatever you like while it loads. It's some way off though.

    That would be very nice!

  • You can't do it without a web server. Also, we are already way ahead of you building exactly such a game. (See our website in my signature)

  • maybe add a <div> with a c2canvasdiv id? and the JavaScript to load it?

    Something like:

    <div id="c2canvasdiv">
    <canvas id="c2canvas" width="1024" height="768"></canvas>
    </div>
    <script src="jquery-2.1.1.min.js"></script>
    <script src="c2runtime.js"></script>
    <script>
    		// Size the canvas to fill the browser viewport.
    		jQuery(window).resize(function() {
    			cr_sizeCanvas(jQuery(window).width(), jQuery(window).height());
    		});
    		
    		// Start the Construct 2 project running on window load.
    		jQuery(document).ready(function ()
    		{			
    			// Create new runtime using the c2canvas
    			cr_createRuntime("c2canvas");
    		});
    		
    		// Pause and resume on page becoming visible/invisible
    		function onVisibilityChanged() {
    			if (document.hidden || document.mozHidden || document.webkitHidden || document.msHidden)
    				cr_setSuspended(true);
    			else
    				cr_setSuspended(false);
    		};
    		
    		document.addEventListener("visibilitychange", onVisibilityChanged, false);
    		document.addEventListener("mozvisibilitychange", onVisibilityChanged, false);
    		document.addEventListener("webkitvisibilitychange", onVisibilityChanged, false);
    		document.addEventListener("msvisibilitychange", onVisibilityChanged, false);
    		
        </script>
    [/code:2h8i8r3g]
  • Edit: just looked at an old project where I used ajax to call php files, and I was just specifying the whole url. So I would expect that "http://www.bbb.com/a.php" would work. (The file I was calling was up twp levels, then down another directory.)

    Yea, like AllanR says, just call the base URL exactly where your application is: "http://www.bbb.com/a.php"

  • Ah yea, that does happen on occasion, but rex is very good about keeping his plugins working. I think Scirra develops around some of the more popular plugins to help prevent them from breaking too.

  • Glad you got it fixed. It looks like only iOS8 supports webGL (on the Apple side).

    http://mobilehtml5.org/

  • The plugins are not too bad. You unzip them into the exporter folder for html and they appear as Objects in Construct to add.

  • I am not as familiar with the XML plugin, but Java libraries for XML let me search for specific tags within the XML.

gumshoe2029's avatar

gumshoe2029

Member since 4 Mar, 2014

None one is following gumshoe2029 yet!

Trophy Case

  • 10-Year Club
  • Email Verified

Progress

11/44
How to earn trophies