Prominent's Recent Forum Activity

  • I reported this in the past:

    But they don't want to change it.

  • Keep in mind, you can't have global objects on global layers, otherwise they'll get duplicated everytime you change layout.

  • byondisoft , thanks! that works that is interesting that you have to re-position the canvas.

  • If you use windows Vista or XP, you'll have to use v0.13.2 or older. Anything newer than chromium 49 will not work on vista or xp because support for those platforms have been dropped.

    Also, Mac OS X releases 10.6, 10.7, and 10.8 have been dropped

  • Can you clarify on what you mean when you say combining the layouts?

    You can't merge them into one layout in the editor if that's what you mean.

  • Thanks.. that must be the issue.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I was under the impression that devices such as drawing tablets would work with the touch events, but I can't seem to receive pressure of a touch using one.

    Has anyone else managed to get this to work?

    I've tried firefox with

    dom.w3c_touch_events.enabled

    and chrome with

    --enable-experimental-web-platform-features

    In both cases, pressure just returns a value of 0.

  • newt, I want to scale a single axis, such as it's width or height values.

    This is possible with sprites, by adjusting their width/height. If layouts/layers can be scaled- it would make sense to maintain some consistency and allow adjusting the x,y axis separately for those as well.

  • Ashley, thanks. I just tried it in r232. Why can't users specify different values for x,y axis when scaling a layout or layer?

    I'd like to be able to flip or mirror the layout/layers, and setting the scale to -1 just ends up with it rotated 180 basically since both axis get flipped instead of one.

  • Problem Description

    Game freezes for a second when Play At Object action is made for the first time AND when running game for the first time (doesn't happen after refreshing page).

    Attach a Capx

    https://1drv.ms/u/s!AhHSZHEulqh_gWoZ4BKI4w1QmnIk

    Description of Capx

    plays audio 3 seconds after the start of the layout.

    Steps to Reproduce Bug

    • run layout
    • watch sprite moving and how it will freeze when audio plays

    Observed Result

    game freezes when audio plays

    Expected Result

    not freeze

    Affected Browsers

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

    Operating System and Service Pack

    vista sp2

    Construct 2 Version ID

    r227 (also checked with r232)

  • oh, I guess that would essentialy change the position of the origin.. so it might not be what you want.

    You could maybe use a separate sprite object that doesn't rotate and is invisible, and then use your visible sprite to be allowed to rotate.

  • First thought that comes to my mind is use an imagepoint located at wherever you want the center.

    Then, to rotate sprite:

    -find position of imagepoint relative to layout via imagepointX(), imagepointY()

    -now calculate the angle and distance from imagepoint to the origin of the sprite.

    -set position of sprite to imagepointX+cos(calculatedAngle+rotationAmount)*calculatedDistance

    -do the same for Y, but use Sin() instead of Cos()

    -Now rotate the sprite by the same rotationAmount.

Prominent's avatar

Prominent

Member since 28 Apr, 2012

Twitter
Prominent has 9 followers

Trophy Case

  • 12-Year Club
  • Popular Game One of your games has over 1,000 players
  • Famous Game One of your games has over 10,000 players
  • Email Verified

Progress

15/44
How to earn trophies