lionz's Forum Posts

  • Take out set animation frame to 1 in the second event. In the first event, on start of layout, set the animation frame to 0 (or set toggle_music to 0)

  • That looks reasonable, what's the problem?

  • It displays the value at 0 because that's the co-ords I gave in the example, nothing specific was asked for. If you want to display a random quote you would probably create a function, before which you set the review parameter to a random number and pass it through as array.at(param(0), 0). You can pass through another param for the name as array.at(param(1),1). You don't have to use a function, you can just set two variables to a random number and assign the co-ordinates to array.at(var1,0) and array.at(var2,1) but I prefer to use functions for things like this.

  • ReviewQuote set text to ""&array.at(0,0) would display "Blah blah blah"

    ReviewName set text to ""&array.at(0,1) would display "Mr Grumpy"

  • It does the for each X in one tick so the wait won't work, you can set it up differently to this with 'repeat'. Also why pass the array value through a global variable? You can just say if stateID = array.curvalue.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • From looking at the tutorial I would say adjusting those variables would probably work, your error might be in the logic with the button that changes the variables, it might not be working correctly. Feel free to share a capx that you made from the tutorial though.

  • Which memory match tutorial?

  • I meant add the player is not jumping as a condition of the jump event, so left click will only jump and play the sound once until the player returns from jump.

    Set some kind of variable up and add it as a condition to the player controls, so if the variable is set to something then player controls don't work. Then set it to the expected value when you're on scoreboard to disable controls, change the value back when you are in the main game.

  • Add the condition 'player is not jumping' to the jump event.

    Give the scoreboard layout its own event sheet that doesn't include the player movement events.

    Replace 'is in touch' with 'on touch start'.

  • If it's a small single screen puzzle game I would just generate each level in a single layout, why not? 100 layouts would look so cluttered and too many things can go wrong.

  • You can just do this with normal events that relate to setting variables or text, I don't think you need to use an array. There is no array editor, you push the data you want into the array during runtime. If you want to use an array I imagine you would 'choose' a number for x and y, then assign them to a curx, cury from the array.

  • No problem, good luck and feel free to post back here if you have any problem with using families.

  • Assuming you have set up instance variables for each individual object called Damage, this is why Families are powerful because you have a 'Family Instance variable'. That is what you're referencing there but you haven't used it. Create a family instance variable called Damage then every enemy will have it (you don't need to add the variable individually to each member of Enemies). You can only reference Enemies.Damage if it's setup for family, otherwise you need to reference individual enemies, EnemyA.Damage, EnemyB.Damage. Better to group in a family, which is what you're trying to do I can see but didn't quite get there yet

  • On Effacer pressed > set HumanName to left(HumanName,len(HumanName)-1)

  • Yes you can do that, did you try it as described?