SpuneDagr's Forum Posts

  • 6 posts
  • That worked. Thank you! In case anyone is interested, this is what it looks like:

    https://imgur.com/ZT53Zwn

  • I'm trying to add a display on my game that shows the number of shopping days until Christmas. How can I get the current date in a format that can be compared to another date?

    I found this plugin

    https://rexrainbow.github.io/C3RexDoc/plugins.md/site/rex_date/index.html

    but I don't understand how to use it. If somebody could give me an ELI5-level walkthrough on how it works I'd be your best friend.

  • How do I get the exported game to show up as a percentage of the window width instead of defaulting to "full?"

    I want my canvas to be 53% of the width of the window, and to resize vertically, keeping the correct aspect ratio.

    I tried changing the code in the html file, but it doesn't want to listen - it just keeps resetting to full size.

    		jQuery(window).resize(function() {
    			var theCanvas = document.getElementById("c2canvas");
    			var theWidth = window.innerWidth * .53;
    			var theHeight = theWidth * 224/256;
    			
    			
    			cr_sizeCanvas(theWidth, theHeight);
    			theCanvas.setAttribute('width', theWidth);
    			theCanvas.setAttribute('height', theHeight);
    			document.write(window.innerWidth);
    			
    		});[/code:16x99oy0]
  • Only when embedded.

    I'm thinking it has to do with how I centered it in the window. It worked okay before I did that... I'll try centering it another way.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • It needs to work on as many platforms as possible. I can't just ignore IE 'cause I don't like it.

    The game isn't finished yet.

  • I'm making an online game that will open in a new window with an arcade cabinet-looking frame.

    I have it set to be vertically and horizontally centered, and it scales to the size of the window.

    It looks great, most of the time. BUT, certain versions of Internet Explorer (9, i think) show the game canvas as vertically squashed. I cannot for the life of me figure out why it would do this. Has anybody seen anything like this before?

    http://mcdanielsmarketing.com/preview/p ... isis11-11/

  • 6 posts