rafamem's Forum Posts

  • I tried using a Construct 2 game in a Laravel iframe but mde returns the following errors and only shows a black screen...

    c2runtime.js:4708 GET 127.0.0.1/data.js 500 (Internal Server Error)

    Runtime.requestProjectData c2runtime.js:4708

    Runtime c2runtime.js:4637

    cr.createRuntime c2runtime.js:8781

    (anonymous) positions:102

    e jquery-3.4.1.min.js:2

    t jquery-3.4.1.min.js:2

    setTimeout (async)

    (anonymous) jquery-3.4.1.min.js:2

    c jquery-3.4.1.min.js:2

    fireWith jquery-3.4.1.min.js:2

    fire jquery-3.4.1.min.js:2

    c jquery-3.4.1.min.js:2

    fireWith jquery-3.4.1.min.js:2

    ready jquery-3.4.1.min.js:2

    B jquery-3.4.1.min.js:2

    c2runtime.js:21 Project model unavailable

    cr.logerror c2runtime.js:21

    Runtime.loadProject c2runtime.js:5256

    xhr.onload c2runtime.js:4692

    load (async)

    Runtime.requestProjectData c2runtime.js:4690

    Runtime c2runtime.js:4637

    cr.createRuntime c2runtime.js:8781

    (anonymous) positions:102

    e jquery-3.4.1.min.js:2

    t jquery-3.4.1.min.js:2

    setTimeout (async)

    (anonymous) jquery-3.4.1.min.js:2

    c jquery-3.4.1.min.js:2

    fireWith jquery-3.4.1.min.js:2

    fire jquery-3.4.1.min.js:2

    c jquery-3.4.1.min.js:2

    fireWith jquery-3.4.1.min.js:2

    ready jquery-3.4.1.min.js:2

    B jquery-3.4.1.min.js:2

    c2runtime.js:5257 Uncaught TypeError: Cannot read property 'project' of null

    at Runtime.loadProject (c2runtime.js:5257)

    at XMLHttpRequest.xhr.onload (c2runtime.js:4692)

    Runtime.loadProject c2runtime.js:5257

    xhr.onload c2runtime.js:4692

    load (async)

    Runtime.requestProjectData c2runtime.js:4690

    Runtime c2runtime.js:4637

    cr.createRuntime c2runtime.js:8781

    (anonymous) positions:102

    e jquery-3.4.1.min.js:2

    t jquery-3.4.1.min.js:2

    setTimeout (async)

    (anonymous) jquery-3.4.1.min.js:2

    c jquery-3.4.1.min.js:2

    fireWith jquery-3.4.1.min.js:2

    fire jquery-3.4.1.min.js:2

    c jquery-3.4.1.min.js:2

    fireWith jquery-3.4.1.min.js:2

    ready jquery-3.4.1.min.js:2

    B jquery-3.4.1.min.js:2

    appmanifest.json:1 GET 127.0.0.1/appmanifest.json 500 (Internal Server Error)

    appmanifest.json:1 Manifest: Line: 1, column: 1, Syntax error.

    icon-256.png:1 GET 127.0.0.1/icon-256.png 500 (Internal Server Error)

    c2runtime.js:18 [Construct 2] Suspending

    c2runtime.js:18 [Construct 2] Resuming

    c2runtime.js:18 [Construct 2] Suspending

    Tagged:

  • ------------------

    System Information

    ------------------

    Operating System: Windows 7 Ultimate 32-bit (6.1, Build 7601) Service Pack 1 (7601.win7sp1_rtm.101119-1850)

    Language: Spanish (Regional Setting: Spanish)

    System Manufacturer: System manufacturer

    System Model: System Product Name

    BIOS: BIOS Date: 08/20/10 21:17:57 Ver: 08.00.12

    Processor: Pentium(R) Dual-Core CPU E5400 2.70GHz (2 CPUs), ~2.7GHz

    Memory: 4096MB RAM

    Available OS Memory: 3574MB RAM

    Page File: 1626MB used, 5520MB available

    DirectX Version: DirectX 11

    DX Setup Parameters: Not found

    User DPI Setting: Using System DPI

    System DPI Setting: 96 DPI (100 percent)

    DWM DPI Scaling: Disabled

    ---------------

    Display Devices

    ---------------

    Card name: Intel(R) G33/G31 Express Chipset Family

    Manufacturer: Intel Corporation

    Chip type: Intel(R) GMA 3100

    DAC type: Internal

    Display Memory: 256 MB

    Dedicated Memory: 0 MB

    Shared Memory: 256 MB

    Current Mode: 1366 x 768 (32 bit) (60Hz)

    Monitor Name: Monitor PnP genérico

    Monitor Model: BenQ G922HDAL

    Native Mode: 1366 x 768(p) (59.790Hz)

    Output Type: HD15

    Driver File Version: 8.15.0010.1823 (English)

    Driver Version: 8.15.10.1823

    DDI Version: 9Ex

    Driver Model: WDDM 1.0

    Driver Attributes: Final Retail

    Driver Date/Size: 6/16/2009 16:58:34, 536576 bytes

    Driver Strong Name: oem4.inf:Intel.Mfg:iBLB0:8.15.10.1823:pci\ven_8086&dev_29c2

    Rank Of Driver: 00F42001

    -------------

    Sound Devices

    -------------

    Description: Altavoces (Realtek High Definition Audio)

    Default Sound Playback: Yes

    Default Voice Playback: Yes

    Manufacturer ID: 1

    Type: WDM

    Driver Name: RTKVHDA.sys

    Driver Version: 6.00.0001.5859 (English)

    Driver Attributes: Final Retail

    Date and Size: 5/22/2009 23:03:40, 2361952 bytes

    Other Files:

    Driver Provider: Realtek Semiconductor Corp.

  • I did not update Windows, but I'll reinstall the C2 and execute the antivirus. It can be an operating system problem. My GPU is not so good, can that be?

  • Problem Description

    The Construct 2 is closed and can not open it again.

    This is the menssage of Windows 7:

    Problem Event Name: APPCRASH

    Application Name: Construct2.exe

    Application Version: 2.0.0.0

    Timestamp App: 53064022

    Faulting module name: Construct2.exe

    Fault Module Version: 2.0.0.0

    Timestamp Fault Module: 53064022

    Exception Code: 40000015

    Exception Offset: 00373c2d

    OS Version: 6.1.7601.2.1.0.256.1

    Locale ID: 15370

    Other information 1: ca63

    Other information 2: ca635b6b1a753f5529c68f9a6eba9d3b

    Other information 3: 9cba

    Other information 4: 9cba4f8eca293e086ecf83ee991bf736

    Expected Result

    That the software doesn't crash anymore

    Operating System and Service Pack

    Windows 7 Ultimate Service Pack 1

    Construct 2 Version ID

    Construct 2 163

  • I made some improvements to the graphics, but in Firefox run very slow.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Problem Description

    Game run perfect in Chrome, but very slow in Firefox 27.0.1

    Attach a Capx

    Check the game in this url: http://www.paraguapp.com/spacecavern.html

    Affected Browsers

    • Chrome: (NO)
    • FireFox: (YES)
    • Internet Explorer 8: (YES)

    Operating System and Service Pack

    Windows 7

    Construct 2 Version ID

    Construct 2 163 (32 bit)

  • I just tried that, but it did not work.

  • Thank you jayderyu!

    Something strikes me: I optimize photographic images in jpg, but when you export the Construct 2 saved in png format. In addition, it also exports the images that are not used in the project.

    Note: The game I tried it with a Samsung Galaxy Mini 2, a low-end smartphone.

  • Gracias Katzin!

    Thanks mrnannings! This game will come out in mobile version sooner or later, initially with 6 levels and in 3 languages. I have yet to work on the graphics and optimization.

  • How to preload a sound of 90 seconds to run on the first layout before load this first layout? Ie, that preloads while showing the loading-icon.

  • Thank you, guys! I'm gonna follow your recommendations.

    I'm glad you like the game, Dutoit. My idea is to enhance the graphics and publishing to Android

    Thanks for the detailed suggestions, Aphrodite!

  • In the pc with chrome the movements of my game go well, but play it from my smartphone not goes well.

    Please test this game: http://www.paraguapp.com/spacecavern.html

  • Thank you Stiivais! It is not a full game, just a test.

    That shake only appears in Firefox, Chrome runs fine. Why is that?

  • I exported a game of Construct 2 for Android, then I generate the apk with Intel XDX, but when I try to install on Android does not work. Also, the icon of the app in Android does not appear.

    This is the index.html

    <!DOCTYPE html>
    <html manifest="offline.appcache">
    <head>
        <meta charset="UTF-8" />
    	<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
    	<title>Dead Dance SoundBoard</title>
    	
    	<!-- Allow fullscreen mode on iOS devices. (These are Apple specific meta tags.) -->
    	<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0, user-scalable=no, minimal-ui" />
    	<meta name="apple-mobile-web-app-capable" content="yes" />
    	<meta name="apple-mobile-web-app-status-bar-style" content="black" />
    	<link rel="apple-touch-icon" sizes="256x256" href="icon-256.png" />
    	<meta name="HandheldFriendly" content="true" />
    	
    	<!-- Chrome for Android web app tags -->
    	<meta name="mobile-web-app-capable" content="yes" />
    	<link rel="shortcut icon" sizes="256x256" href="icon-256.png" />
    
        <!-- All margins and padding must be zero for the canvas to fill the screen. -->
    	<style type="text/css">
    		* {
    			padding: 0;
    			margin: 0;
    		}
    		body {
    			background: #000;
    			color: #fff;
    			overflow: hidden;
    			-ms-touch-action: none;
    		}
    		canvas {
    			touch-action-delay: none;
    			touch-action: none;
    			-ms-touch-action: none;
    		}
        </style>
    	
    
    </head> 
     
    <body> 
    	<div id="fb-root"></div>
    	
    	<!-- The canvas must be inside a div called c2canvasdiv -->
    	<div id="c2canvasdiv">
    	
    		<!-- The canvas the project will render to.  If you change its ID, don't forget to change the
    		ID the runtime looks for in the jQuery events above (ready() and cr_sizeCanvas()). -->
    		<canvas id="c2canvas" width="480" height="640">
    			<!-- This text is displayed if the visitor's browser does not support HTML5.
    			You can change it, but it is a good idea to link to a description of a browser
    			and provide some links to download some popular HTML5-compatible browsers. -->
    			<h1>Your browser does not appear to support HTML5.  Try upgrading your browser to the latest version.  <a href="http://www.whatbrowser.org">What is a browser?</a>
    			<br/><br/><a href="http://www.microsoft.com/windows/internet-explorer/default.aspx">Microsoft Internet Explorer</a><br/>
    			<a href="http://www.mozilla.com/firefox/">Mozilla Firefox</a><br/>
    			<a href="http://www.google.com/chrome/">Google Chrome</a><br/>
    			<a href="http://www.apple.com/safari/download/">Apple Safari</a><br/>
    			<a href="http://www.google.com/chromeframe">Google Chrome Frame for Internet Explorer</a><br/></h1>
    		</canvas>
    		
    	</div>
    	
    	<!-- Pages load faster with scripts at the bottom -->
    	
    	<!-- Construct 2 exported games require jQuery. -->
    	<script src="jquery-2.0.0.min.js"></script>
    	
    	<script>
    		window["c2isCrosswalk"] = true;
    	</script>
    
    	<script src="cordova.js"></script>
    	
        <!-- The runtime script.  You can rename it, but don't forget to rename the reference here as well.
        This file will have been minified and obfuscated if you enabled "Minify script" during export. -->
    	<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.
    		document.addEventListener("deviceready", function ()
    		{			
    			// Create new runtime using the c2canvas
    			cr_createRuntime("c2canvas");
    			
    			document.addEventListener("pause", function() {
    				cr_setSuspended(true);
    			}, false);
    			
    			document.addEventListener("resume", function() {
    				cr_setSuspended(false);
    			}, false);
    			
    		}, false);
    		
        </script>
    </body> 
    </html> [/code:i6i6x7tl]
  • Need a tool like this of Corel Draw:

    <img src="http://www.paraguapp.com/clone.gif" border="0" />