LuckyRawat's Recent Forum Activity

  • Currently I'm using SmartRandom plugin for random number but Now I want to replace it with build in Advance Random plugin.

    in the screenshot there are 2 variable initialRow and initialCol. row.Next and col.Next is SmartRandom plugin which gives me random numbers. I can't duplicate Advance Random plugin and by expression AdvancedRandom.Permutation(loopindex) I'll get same value in both initialRow and initialCol. is there any way?

    Tagged:

  • retry download,

  • lucid I just did send you email with a minimal c3p file and a video showing the issue.

  • lucid (legacy) is added on all my spriter conditions, actions

    Do I have to reimplement all again? I have lots of project I need to update and this is going to be huge problem for me. I have submitted few projects to client without noticing it and they all are not working.

    is there a way to replace all legacy Actions, Conditions to new automatically?

  • this is my approach and it working nicely

    On function 'placeRandom' (copy picked)
    ----+ System: While
    ----+ bubble: Is on-screen
    -----> bubble: Set Y to Self.Y+1

    EDIT:

    to adjust x to fill screen

    On function 'placeRandom' (copy picked)
     | Local number xLeft‎ = 0
     | Local number xRight‎ = 0
    ----+ System: While
    ----+ bubble: Is on-screen
    -----> bubble: Set X to Self.X-1
    
    ----+ (no conditions)
    -----> bubble: Set X to Self.X+(Self.Width×1.5)
    -----> System: Set xLeft to bubble.X
    
    ----+ System: While
    ----+ bubble: Is on-screen
    -----> bubble: Set X to Self.X+1
    
    ----+ (no conditions)
    -----> bubble: Set X to Self.X - (Self.Width×2)
    -----> System: Set xRight to bubble.X
    -----> bubble: Set X to int(random(xLeft,xRight))
    
    ----+ System: While
    ----+ bubble: Is on-screen
    -----> bubble: Set Y to Self.Y+1
  • Thanks I'll try this.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I'm create object offscreen at bottom and then moving them to upward. either I have to create them far below but then it will take time to appear if objects are less deep Zelevation. I want to know if can create it below visible area even in zelevation.

  • I'm creating object outside layout bottom of layout ViewportBottom(0) + 200 So we cannot se it being created. then I set its z elevation to int(random(-150,0))

    but in runtime we can clearly see objects are being created. How can I fix it?

  • lucid please update plugin as its no longer supported in construct 3

  • Ah yes, no duplicate filenames does make this a bit tricky. The good news is we're planning to lift that restriction soon when the 'Flat' folder structure mode is removed. Until then I think you might have to do something a bit more hacky - perhaps you could export to Android Studio/Xcode, then add the extra files to the app. The idea is to add the extra files outside of Construct, but in a way that still bundles them with the app.

    I hope he don't forget and we'll get this update soon.

  • How are you currently snapping the angle to 45 degrees? Are you using angleSnap = round(angle / 45) * 45 or something else?

    yes I'm snapping the angle at 45 degree with tolerance.

    For diagonal lines, are you checking if both X and Y positions are changing equally to maintain a perfect diagonal?

    for diagonal you need to check if grids(x) and grid(y) are equall (1,1).

    are you using a single line object stretched and rotated between start and end points, or a tile-based approach for each grid cell?

    I'm using 9patch, so that I can use corners round. you can use tiledBackground too.

  • I made lines little complex. if you play web preview which gemini created first. try drag and hold and try drag at different direction. then you'll notice why code is lengthy. I think almost 70% code is Horizontal, Verticle, and Diagonal lines.

LuckyRawat's avatar

LuckyRawat

Member since 27 Aug, 2015

Twitter
LuckyRawat has 11 followers

Connect with LuckyRawat

Trophy Case

  • 10-Year Club
  • Entrepreneur Sold something in the asset store
  • 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
  • x2
    Popular Game One of your games has over 1,000 players
  • x43
    Coach One of your tutorials has over 1,000 readers
  • Educator One of your tutorials has over 10,000 readers
  • 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
  • RTFM Read the fabulous manual
  • Great Comment One of your comments gets 3 upvotes
  • Email Verified

Progress

25/44
How to earn trophies