lionz's Forum Posts

  • It's a bit confusing to me because you're loading into the array from local storage at different rows of X over one Y but when you add the new data you are adding to one row of X over several Y yet somehow it still works for the score and answers I dunno, better if the file shared.

  • Best way might be to email the construct dudes with the file or share it here.

  • Not sure what you mean on the first bit, but on the big number do you mean it's decimal places? You can use round(random(x,y)) to make it a whole number.

  • Looks like the global variable is only saving scores? Where was your attempt to save the names added because I can't work it out.

  • Hiya, there's a 'drag and drop' behaviour you can add to the player object. Then you can drag him around with the mouse.

  • ok! glad it's working :)

  • Oh I thought you meant an error in the editor. An assert I dunno, are the values in the array definitely numbers? Try int() around the calculation to convert it if it produces a number as a string.

  • You can set a local variable to round(random(1,100)) and then have conditions, if variable = 1, spawn object A, else spawn object B. Or if it was 10%, if variable is between 1 and 10 then spawn object A etc

  • Aren't they the same number? Anyway, what's the error?

  • Browser log is the most useful

  • 'more proper way of doing it' meaning what? 'the real thing' meaning what?

  • You should add the data to an array at the start of the game and choose it that way.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Nope that hasn't happened for me. Check your configuration details are definitely correct, and the export was in a supported OS.

  • In an overlap check, you can use system pick nth instance, where instance 0 and instance 1 are the two objects involved in the overlap check.

    So logic is on overlap, pick Family nth instance 0 and set a variable to family.UID. Alsp pick Family nth instance 1 and set a variable to family.UID. Then you have the UIDs of the 2 objects involved in the collision, you can send them through a function as parameters to check if they are the correct objects.

  • It will work if the animation name is ID_100 I guess. You don't need to do trial and error with the array data, you can see it in debug view.