dop2000's Forum Posts

  • 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.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • 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/s/786liwkysb7mh7i/blockslug2.c3p

  • 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!

  • Objects like Array, Dictionary, JSON are global by default. So they will maintain the data when you switch between layouts. Ideally you only need to load it once - I usually do this in the loaded layout.

  • Most subscription services (especially where you pay annually) send a notification a couple of days before renewing for another year. It's a common courtesy - maybe I don't need this subscription anymore, or I might want to change my payment details.

    Why doesn't Construct give such a warning?

    I just got charged for a friend's subscription which I had no intention to renew..

  • For example:

    JSON.Get("items.0.code")

    Use this tool to get paths for all JSON keys:

    dropbox.com/s/srgf9lme08by9wa/JSON-RecursiveRead.c3p

  • Without families this will be a bit tricky.

    In "Item overlapping Item" event at least two instances of Item are picked. If you use Item.variable in an expression, it will take the value from the first instance only.

    You need to use "For each Item" loop in a sub-event to iterate all instances.

  • Sorry, I'm not sure what a 'hidden' parameter is..

    The easiest way to know for sure is to test.