bWard's Recent Forum Activity

  • This is an empirical way to activate screencanvas. As C2 doesn't offically supports it, this may lead to unexpected results... Anyway if you want to try, follow these steps.

    Export to cocoonjs without minifying your script.

    Open in your zip folder the file C2runtime.js

    Find the following snippet of code:

    > window["createCocoonJSRuntime"] = function ()

    > {

    >           window["c2cocoonjs"] = true;

    >           var Canvas = document.createElement("canvas");

    >           document.body.appendChild(canvas);

    >           canvas.width = window.innerWidth;

    >           canvas.height = window.innerHeight;

    >           var rt = new Runtime(Canvas);

    >           window["c2runtime"] = rt;

    >           window.addEventListener("orientationchange", function () {

    >               ?window["c2runtime"]["setSize"](window.innerWidth, window.innerHeight);

    >           });

    >           return rt;

    >      };

    >

    Delete it and replace with this

    > window["createCocoonJSRuntime"] = function ()

    >      {

    >           window["c2cocoonjs"] = true;

    >           var screenCanvas = document.createElement("screencanvas");

    >           var rt = new Runtime(screenCanvas);

    >           window["c2runtime"] = rt;

    >           window.addEventListener("orientationchange", function () {

    >               ?window["c2runtime"]["setSize"](window.innerWidth, window.innerHeight);

    >           });

    >           return rt;

    >      };

    > /QUOTE]

    Thank you for the concise instructions! You should post this as a tutorial so more users could use this as reference.

  • Minimalism is nice, but only when you're using it in large quantities for high-end performance. But if you want high-end performance, you wouldn't be looking at HTML5 right now.

  • kenhes Thanks, that plugin does get the job done. I can't use it since I don't have Windows 8, but how many programmers program for Windows 8 without having it anyways. I'll keep this in mind when I upgrade.

  • kenhes any method of controlling Windows 8 advertisements inside of Construct2, similar to CocoonJS's ads, would be great.

    But there's no way to completely avoid having to work in Visual Studio, and asking Scirra to make the javascript files (the game code) interact with the main HTML (where the advertisement is injected) may be harder than we think.

  • I'm editing the X and Y positions in some events, when I highlight the text and accidentally press CTRL + S and it turns into "DS3" hexidecimal whathoozit-nonsense. Is this a glitch, or is there some reason and purpose behind this? I'll upload specifics and examples if no one else can replicate it, but it looks like any text field does this.

  • Yeah, those instructions are pretty easy to understand, even for a non-programmer.

    It's a bit harder to get it to display only on a certain layout, or have it timeout after a certain time or action. It all needs done in Visual Studio, not Construct.

  • What are the main routes for Windows 8 apps? It looks like the only way is to configure the html in Visual Studio.

  • bWard Awesome! The screenshots look fabulous. Too bad you just missed the competition though:(

    We didn't miss it. It got published and entered into the sweepstakes on Thursday, and the deadline is today.

  • <center><font color="orange"><font size="6">Nutty Run!</font></font></center>

    <center><img src="http://puu.sh/1DjcV.png" border="0"></center>

    Windows Store page

    Website

    Me and my artist dgsStan made a simple game for our first project; a charming, comical endless runner titled Nutty Run!! Just in time for the Windows Store, coming soon to Android and iOS.

    Let us know what you think, we appreciate your feedback!

  • Here's our game! dgsStan and I just got it approved this morning.

    Nutty Run!

  • It would be nice if the Anchor could be set to only one edge, instead of being set to left/right and top/bottom, especially when I want the HUD to be in the middle.

    And of course, being able to set Anchor properties in the event sheets is also nice.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I've been coding around this glitch for a few weeks now, so here it is: if you test an opacity number, sometimes it turns out false when it shouldn't, for example 7=7 or 15=15. Funny thing, it seems to follow a pattern.

    From my tests, opacity start at 0 going up, the numbers that always come out false are 7, 14, 15, and 28 through 100. When opacity starts at 100 going down, these numbers are 58 - 0. If I start at 0 and skip 2 going up, they're 14, 28, 30, and 56 - 100.

    Here is the download link to a sample .capx I made. One sprite, one text that keeps track of its opacity, and another text that checks the opacity and increases it if true.

    I get the same results every time, on the most recent IE, Firefox, and Chrome browsers. I have a Windows 7 laptop, Mobile Intel(R) 4 Series Express Chipset Family graphics card (chipset) which is up-to-date.

bWard's avatar

bWard

Member since 23 Jun, 2012

None one is following bWard yet!

Trophy Case

  • 12-Year Club
  • Jupiter Mission Supports Gordon's mission to Jupiter
  • RTFM Read the fabulous manual
  • Email Verified

Progress

15/44
How to earn trophies