Ashley's Recent Forum Activity

  • This is a known and documented quirk of WebGL, it happens for technical reasons (WebGL cannot draw text so text is drawn in an overlay on top of everything). Closing as not a bug.

  • Ha, well glad it's not a C2 bug :)

  • UncleJey, it would be helpful if you gave us the actual text in the error message. If it's Construct 2's error message and not a Java error message, if you read it carefully it should tell you what to do: visit java.com, find the 64-bit version of Java (by default it gives you the 32-bit one) and install that. It's not a bug, it's just the 64-bit Construct 2 will use 64-bit Java, and by default you only get 32-bit Java installed which is the wrong one.

  • Open the Windows 'Run' dialog, and type in 'chrome'. Does Chrome open? That's basically the command Construct 2 runs when you specifically choose Chrome in the preview browser. Also, what browser opens if you double-click a HTML file? That's also what Construct 2 simulates doing when choosing (default). So it sounds like your system is set up funny somehow.

  • If you want the raw math used to work it out, it's based off canvasToLayer at the bottom of preview.js in the install directory. Not very helpful I know if you're not familiar with coding but this is the actual implementation of how the scaling and translation is worked out.

    layerProto.canvasToLayer = function (ptx, pty, getx)
         {
              // Apply parallax
              var ox = (this.runtime.width / 2);
              var oy = (this.runtime.height / 2);
              var x = ((this.layout.scrollX - ox) * this.parallaxX) + ox;
              var y = ((this.layout.scrollY - oy) * this.parallaxY) + oy;
              
              // Move to top-left of visible area
              var invScale = 1 / this.getScale();
              x -= (this.runtime.width * invScale) / 2;
              y -= (this.runtime.height * invScale) / 2;
              
              x += ptx * invScale;
              y += pty * invScale;
              
              // Rotate about scroll center
              var a = this.getAngle();
              if (a !== 0)
              {
                   x -= this.layout.scrollX;
                   y -= this.layout.scrollY;
                   var cosa = Math.cos(a);
                   var sina = Math.sin(a);
                   var x_temp = (x * cosa) - (y * sina);
                   y = (y * cosa) + (x * sina);
                   x = x_temp;
                   x += this.layout.scrollX;
                   y += this.layout.scrollY;
              }
              
              // Return point in layer coords
              return getx ? x : y;
         };
  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • If you do 'always - set web font...' the Text object will ignore the action with no performance impact if it is already using that web font. So you should be fine doing that.

  • Image points rotate with the object. So that does not sound like normal behavior. Did you add the image point to *all* animations and animation frames? Adding it to 1 frame only adds it to that 1 frame unless you right click and apply to whole animation, then also set it for other animations.

    Otherwise, sharing your .capx is always good to help us solve your problem.

  • No, that should not affect it. I mentioned in another thread Construct 2 uses Internet Explorer to display the start page which is the only browser technology it uses in the editor; this is purely because it's the only HTML engine installed on all computers. You can use the registry switch to try disabling it and see if that fixes it.

  • Ah, thanks to a tip off from septeven, this should be fixed in the next build now!

  • I think there's some confusion in this thread: the rgb expression is *not* the 'color filter' feature from Construct Classic, it's just used to enter color parameters, e.g. for setting the text object's text color. Sprite still does not support color filters and probably won't until we add the full effects system we have planned for WebGL.

  • deebee no - this was a one-off from a build a few months ago and if you installed every release consecutively the next build's installer did this for you. The problem comes from people who aren't staying up to date and jump from say r60 to r77 in one go. The reg key thing only needs to be done once though (I can't remember, I think it was r63 or something that needed it) and shouldn't need doing again.

  • ranma I tried some workarounds like not blocking the touch events if you touch a form control but I couldn't get any of them working, and it's hard to debug things when they're not running on the desktop dev machine. I'll try and figure something out soon anyway.

Ashley's avatar

Ashley

Early Adopter

Member since 21 May, 2007

Twitter
Ashley has 1,773,265 followers

Connect with Ashley

Trophy Case

  • Jupiter Mission Supports Gordon's mission to Jupiter
  • Forum Contributor Made 100 posts in the forums
  • Forum Patron Made 500 posts in the forums
  • Forum Hero Made 1,000 posts in the forums
  • Forum Wizard Made 5,000 posts in the forums
  • Forum Unicorn Made 10,000 posts in the forums
  • Forum Mega Brain Made 20,000 posts in the forums
  • x126
    Coach One of your tutorials has over 1,000 readers
  • x74
    Educator One of your tutorials has over 10,000 readers
  • x5
    Teacher One of your tutorials has over 100,000 readers
  • Sensei One of your tutorials has over 1,000,000 readers
  • Regular Visitor Visited Construct.net 7 days in a row
  • Steady Visitor Visited Construct.net 30 days in a row
  • RTFM Read the fabulous manual
  • x42
    Great Comment One of your comments gets 3 upvotes
  • Email Verified

Progress

32/44
How to earn trophies

Blogs