lionz's Forum Posts

  • I made a tutorial doing pretty much explaining what Lionz has suggested - though it's much more long-winded! It might not 100% be what you're after, but could be a good starting point.

    Drag and Drop 'Crafting' System

    Nice I like it and it's almost a tutorial in how to use JSON as well :)

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

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