bilgekaan's Recent Forum Activity

    Personally, I use C2 for making little HTML5 games (portfolio: http://td2tl.com) for publishers. I build my business from nothing but I bought a small apartment last year and I'm still going to college ( I should be graduated like 2 years ago lol ) . Without C2 I couldn't do anything. I've tried most of the engines, there is nothing like C2's HTML5 export and Event System. I will definitely subscribe to C3.

    But people are right, because of the export options, there isn't a killer game made with C2. We have good games like Airscape, The Next Penelope, There Is No Game etc. but we don't have games like http://www.yoyogames.com/showcase or https://unity3d.com/showcase/gallery. Most of the serious developers that were using C2 change their engines and C2 remains as a prototype tool. For example, Ori and the Blind Forest and Iconoclasts were Construct games once.

    I don't think people's performance problems would be solved by native exporters but the real problem is the 3rd party dependency. HTML5 exporter is awesome however other exporters are complicated and I don't really trust them <img src="{SMILIES_PATH}/icon_e_biggrin.gif" alt=":D" title="Very Happy">

  • +1

  • gumshoe2029 Thank you, It would work but I didn't want to use iframe.

  • I replaced all 'window.innerHeight' with 'window.innerHeight-75' in c2runtime.js and it worked.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Elliott I think z-index won't fix it because the div is not covered by the canvas. It's below the canvas because canvas tries to cover whole window. I need something like canvas height = window height - div height (75px) but I couldn't figure out this in c2runtime.js.

  • I'm trying to add a div below c2canvasdiv in the index HTML file.

    Like this: https://www.scirra.com/forum/how-do-i-put-a-div-below-canvas-in-html_t189151

    My div height is 75px and I want to decrease c2canvasdiv and c2canvas height so my div can fit on the screen.

    c2canvas and c2canvasdiv sizes are controlled by c2runtime.js. (My project's fullscreen setting is 'Scale Outer'.) For hours, I've tried to modify height in c2runtime.js but it won't work.

    So is there anybody did something like this before? I really appreciate any help. Thank you.

    Edit:

    I replaced all 'window.innerHeight' with 'window.innerHeight-75' in c2runtime.js and it worked. If you find a better solution please let me know.

  • Elliott Thanks for the reply. But still, it won't appear on the screen. The div is in the elements and if I disable overflow: hidden; I can see that it's below the canvas.

    I think I should edit the canvas height from runtime.

  • Elliott The page is regular Construct 2 HTML5 export index page.

    I want to put a div under <div id="c2canvasdiv">.

    <body> 
    	<div id="fb-root"></div>
    	
    	<script>
    	// Issue a warning if trying to preview an exported project on disk.
    	(function(){
    		// Check for running exported on file protocol
    		if (window.location.protocol.substr(0, 4) === "file")
    		{
    			alert("Exported games won't work until you upload them. (When running on the file:/// protocol, browsers block many features from working for security reasons.)");
    		}
    	})();
    	</script>
    	
    	<!-- 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="854" height="480">
    			<!-- 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></h1>
    		</canvas>
    		
    	</div>
    	<div>THE DIV I WANT TO PUT</div>
    
    .
    .
    .
    .
    
    [/code:gk4l4sfq]
  • I want to put a div below canvas and canvas should fit empty are of the screen. When I put the div above the canvas, it works perfectly but when put it below, div won't appear.

    Is there anybody now how can I achieve this?

  • +1

  • Bobgames Hey, there isn't documentation for reskinning. You need a basic knowledge of C2 to reskin it.

  • Bobgames Hey, there isn't documentation for reskinning. You need a basic knowledge of C2 to reskin it.

bilgekaan's avatar

bilgekaan

Early Adopter

Member since 29 Dec, 2012

Twitter
bilgekaan has 46 followers

Connect with bilgekaan

Trophy Case

  • 11-Year Club
  • Entrepreneur Sold something in the asset store
  • Jupiter Mission Supports Gordon's mission to Jupiter
  • Forum Contributor Made 100 posts in the forums
  • Forum Patron Made 500 posts in the forums
  • x2
    Popular Game One of your games has over 1,000 players
  • Famous Game One of your games has over 10,000 players
  • Regular Visitor Visited Construct.net 7 days in a row
  • RTFM Read the fabulous manual
  • x3
    Quick Draw First 5 people to up-vote a new Construct 3 release
  • Email Verified

Progress

21/44
How to earn trophies

Blogs