oosyrag's Recent Forum Activity

  • construct.net/en/forum/construct-2/how-do-i-18/pick-object-order-116837

    If they are different objects overlapping, you can use a family instead.

  • Overwrite?

    If you don't want the diameter line, use the drawing canvas's line action instead of add poly point to draw a polygon. The only difference is that you'll have to specify the next point along with the current point, and that the number of iterations goes down by one since the last point doesn't need a line drawn anywhere.

    + System: For "steps" from 0 to resolution-1
    
    -> DrawingCanvas: Draw line from
    (x+cos((a-90)+(180÷resolution×LoopIndex))×r,
    y+sin((a-90)+(180÷resolution×LoopIndex))×r) 
    to
    (x+cos((a-90)+(180÷resolution×(LoopIndex+1)))×r,
    y+sin((a-90)+(180÷resolution×(LoopIndex+1)))×r)
    with rgba(0, 0, 0, 100), thickness 1, cap ****
    

    The example has also been updated.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I don't think it's a huge deal, but I do personally prefer having the debug button available as well considering how much it is used.

  • The line of sight behavior has a hit distance expression.

    The angle of the mouse click to the target would depend on your camera and field of view. You'd probably have to account for the height of the camera as well. With the angle and distance, you can use tan(angle)*distance to get the height of where your click was at the point it intersects the base of the object.

    Getting the angle might be finicky, I haven't actually tried to see if it can accurately be done myself. There is no support for 3d collisions right now afaik, the underlying engine is still 2d after all.

  • Round(object.platform.speed)

  • Use the line of sight behavior to cast a ray. On intersect, check the angle of the click with the hit distance and compare with the object height and z elevation.

  • | Global number mouse0‎ = 0

    [Mouse (Pan)]

    ----+ Mouse: Left button is down

    -----> Land: Set X to Self.X-(mouse0-Mouse.X)

    ----+ System: Every tick

    -----> System: Set mouse0 to Mouse.X

  • You do not have permission to view this post

  • You would not. A dlc is part of the same project, as dlcs normally do not work on their own. The base game is required. You would probably just export two versions of the same project, one with the dlc content and one without.

  • Generally speaking, for absurdly large numbers such as in idle games you'll want to store the number as separate pieces. There are several ways to do this. For starters, rather than using a series of if/then statements, you should be able to cover n number of digits with a single function, by getting the length of your number with len(number) or just getting the relevant portion of the number with left(number, relevantdigits). There should be a lot of posts about how this is applied to break up numbers. You'll always have to define labels/suffixes individually though. For a cleaner but more complicated system, you could store your suffixes in an array.

    To handle mega large numbers, one way is to push values into array cells. The most straightforward way would be for each digit to have it's own cell. The width of the array would correlate to the number of digits in the number, and each digit could be represented by multiplying itself with 10^xindex.

  • If you really want to set up your own - gabrieltanner.org/blog/turn-server

    These are pretty much outside the scope of Construct or these forums though.

    For services - These will be simpler to utilize.

    twilio.com

    xirsys.com

oosyrag's avatar

oosyrag

Member since 20 Feb, 2013

Twitter
oosyrag has 39 followers

Trophy Case

  • 11-Year Club
  • 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
  • Regular Visitor Visited Construct.net 7 days in a row
  • Steady Visitor Visited Construct.net 30 days in a row
  • Enduring Visitor Visited Construct.net 90 days in a row
  • Unrelenting Visitor Visited Construct.net 180 days in a row
  • Continuous Visitor Visited Construct.net 365 days in a row
  • RTFM Read the fabulous manual
  • Email Verified

Progress

21/44
How to earn trophies