lionz's Forum Posts

  • Well if that's possible then you need more logic like counting how many players are pressing the same button

  • You can press 2 at the same time, that's what I fixed

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I had some free time so took a proper look, it's harder than you think to get this working but I put in a fix which should give more control : dropbox.com/s/vbfbag7lud4f6re/labescape1.c3p

  • The tutorial posted there looks similar to my approach, give the doors an ID and then look for that ID, so use that. It uses global variables though because it goes between layouts.

  • Hiya, you can use instance variable on the door to give it an ID, and also another variable to tell it where to move to, this is 2 numbers. So if you overlap a door with ID 2 and move to 3, when you press up it will set position to the door with variable 3. And if you had the door you teleported to with ID 3 and move to 2, then pressing up would move it back to the first door with ID 2 etc

    You move by using conditions to pick the correct door, on overlapping door and up pressed, pick door where door.ID = self.moveto.

  • Right I see so you fixed the earlier problem. The issue here is that you need to say 'for each buttons' but I don't understand the use of the Else and the picking in the bottom half. Using 'for each buttons' should check each one that is enabled though. I see the second half is under an Else and not indented under pick doors by colour so not sure what the use of that is but you know how your game works so try and get it to work with a for each.

  • The picking is kind of off in places and it's hard to determine. The event starts with if door colour = button colour, which button? which door? For gameplay like this I would give the button some variable to enable when pressed, when pressed you pick all doors that match the colour variable of the button. In this way you can have 2 buttons pressed at once. When a player releases then you set it to disabled, all matching doors will close.

  • Yes export it as an APK and test it on a mobile device

  • If the problem is repeating set text actions then move it into a function and pass the text through as a parameter

  • When you say nothing works, are you trying it on a mobile device?

  • I would use family instance variables and compare them. If a switch has variable 2 then it opens door 2 etc

  • Not sure what you are trying to shortcut here, either you would use set text or typewriter text, both set text but one does a typewriter style.

  • You do not have permission to view this post

  • You do not have permission to view this post

  • If you're shooting them from the player then the usual is to use 'bullet on created : set angle' that way it has an angle set as you shoot it and doesn't change.