dop2000's Recent Forum Activity

  • I've never seen this, can you post a screenshot?

    Are you using any editor theme addon?

  • Don't check for overlapping. Pick all sprites with Sprite.X>Line.X, and then among them pick a sprite with the lowest X.

    There are several ways to pick by lowest X, you can use a loop:

    Sprite compare X > Line.X
    For Each Sprite Ordered by Sprite.X 
    ... Line set X to Sprite.X
    ... Stop Loop
    
    
  • The easiest solution would be using a TextInput or HTML Element object.

    For Text object there was an old C2 addon that allowed scrolling, but as far as I know it was never ported to C3.

    You can also break the text into lines using tokenat() and make your own scrolling system by displaying only several lines at a time.

  • When something is not working correctly with Physics objects (for example a joint breaks, or objects not colliding properly), you can try fixing it by changing these stepping parameters. Sometimes it helps, but most of the times not.

    Here is a little more info:

  • You can generate a permutation table and copy all values from it into an array. Then use the array to get random values.

    You can use one 2D array to store both permutation tables - one on Y=0 and another on Y=1

  • I made quite a few changes, but the code is much simpler now:

    dropbox.com/scl/fi/tldvfge6qlep0ien4ryd4/blockslug2.c3p

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Here is an even simpler method with just one event. Change 1.5 value to make it move faster or slower:

  • It's often called a thumbstick control or a a virtual joystick.

    Here are a few examples:

    howtoconstructdemos.com/category/virtual-joystick

  • You can use MoveTo behavior:

    Keyboard Is "Right" Key Down
    Player is not moving
    ... Player MoveTo (self.x+16, self.y)
    
    (and the same for other directions)
    

    The player will move 16px to the right, with acceleration and deceleration. If the key is still being held, it will start moving to the next cell.

  • I don't know what you are using the tokenat expression for. Is it to split the text into multiple lines? In this case you can continue using it of course.

    And with "Add 1", would I code it to be - on Tapped anywere --> Add 1 to "Row Variable" And it'll make it go down? And so I just make a "Column Variable" and "Sheet Variable"?

    Correct.

    And then use Array.At(columnVariable, rowVariable, sheetVariable) to actually get the value from the array.

  • Glad it works! You should be able to get the result into a global variable like this:

    runtime.globalVars.VarName = paramGotten;
    
  • What do you mean "vaguely"? There is a very detailed video tutorial and the project you can download!

dop2000's avatar

dop2000

Member since 26 May, 2016

Twitter
dop2000 has 257 followers

Connect with dop2000

Trophy Case

  • 8-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
  • Forum Wizard Made 5,000 posts in the forums
  • Forum Unicorn Made 10,000 posts in the forums
  • x5
    Popular Game One of your games has over 1,000 players
  • x2
    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
  • Continuous Visitor Visited Construct.net 365 days in a row
  • RTFM Read the fabulous manual
  • x3
    Quick Draw First 5 people to up-vote a new Construct 3 release
  • x13
    Great Comment One of your comments gets 3 upvotes
  • Delicious Comment One of your comments gets 10 upvotes
  • Email Verified

Progress

28/44
How to earn trophies