lionz's Forum Posts

  • Assuming levels are only ever unlocked in order and you can't skip them you can use logic with one global variable which is set to highest level unlocked then when you enter the layout it unlocks all objects that instance variable value is less or equal to GV (assuming you set these up in the editor already). This way you are not changing instance variables but just comparing.

  • I made this with an array where each row is a new recipe that contains the 2 items required and the result. Then you can select your items by whatever method and you set their names to 2 global variables.

    Then when you confirm the crafting you run through the recipe array at Y=1 checking if GV 1 matches anything in Y=1, if it does then grab that X and compare the same item in Y=2 at that X if it matches GV 2, if so then you craft the named item in Y=3

    Of course sometimes the first craft item is in Y=2 and not Y=1, so if it's not in 1 then check 2.

  • So you found a crash is what you're saying. Nothing you can do I think they don't look at Construct 2 now.

  • You'll have to share the project file and tell us which are the problematic events.

  • You will need the bool or a variable so you can make the condition false. If you have too many objects consider using a Family with a Family instance variable then you can use one event that applies to everything.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • You are using the same event sheet but have you assigned the same event sheet? Check the layout properties for layout 2 and see which layout is assigned.

  • You do not have permission to view this post

  • The blue square is an obstacle. It's trying to find a path around the obstacle.

  • You do not have permission to view this post

  • You do not have permission to view this post

  • I can't see the attachments but you probably have the common issue of trying to play more than one animation at the same time. Make sure your events can't be true at the same time. My guess is here you have walk and run trying to play at the same time so normally on the walk animation event you would add a condition 'is not running' or 'shift is not down', something to make sure that you cannot play walk and run at the same time.

  • Here is a tutorial I found for Construct 2 but not sure how much of this is working. construct.net/en/tutorials/admob-official-plugin-working-1041

  • Instance variables should be set inside the function where the correct instance is picked

  • Construct 2 isn't really supported anymore. Back in the day there was an admob plugin if you can find it. But even then this may work with outdated third party software.

  • Ok, to be more simplest. Let's forget (just example to explain you) the second value after comma. So let's imagine we have 3 arrays.

    Array1 = Question

    Array2 = Answer

    Array3 = Result

    So, Array1 values start from 0 - Array1.width

    This means, we start to detect from Array2:

    Array2(0) -> Start detect each value to all position of Array1.

    So from my latest example, Array1 have "E" to 1 position.

    And our answer (Array2) "Ε" was in 0 position of Array2.

    What means?

    Array3 (or Array 1 after comma, whatever) will give us result: 2

    I hope make sense now! If you check all my previous examples is exactly the same thing i try to explain all the time. Sorry for the misunderstanding.

    And some fast examples:

    Array1 => YES

    Array2 => YES

    Array3 => 111

    Array1 => YES

    Array2 => YSE

    Array3 => 122

    Array1 => YES

    Array2 => NES

    Array3 => 311

    Array1 => YES

    Array2 => ABC

    Array3 => 333

    This makes sense and I understood it as this and it was the results that my example gave but you said they were wrong and H should be 2 and E should be 3. Now you are saying E should be 2. There is confusion.