lionz's Forum Posts

  • Not sure why that is happening as obstacle should act as kind of a high wall and not block all other LOS but maybe with the file it could be worked out. Maybe it's something to do with the picking of multiple enemies which is usually a problem.

    You could make use of the cone of view so if you set it to 45 degrees it is kind of a small cone and in front of them. Another way is to say that if the player Y is greater than enemy Y then they never get LOS. You only need to add the obstacle once to set it, not every tick. Obstacle set as invisible doesn't make a difference, it will still work.

  • Usually an artist would do this for me, but you ensure the sprites are the size you want in the game so maybe 16x16 and ensure they are lined up correctly. You then use the tilemap editor in construct to paint the tiles in game.

  • Not sure why you used family to begin with? Player is the only object in the family, you can use player collides with player.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Every time you score or make a shot you run logic and set a variable to choose(1,0) where if 1 is chosen then it spawns a coin and if 0 is chosen then it doesn't. So this is like a 50/50 chance. If you want to make it rare you can use choose (1,0,0,0) where it has 25% chance to spawn a coin etc.

  • You could give each icon an instance variable to identify, so numbered 1,2,3,4,5

    Have each player as a global variable, and assign them this number on selected.

    So if player 1 picks 3 then P1=3, if player 2 picks 2 then P2=2

    Then you can compare what P1 and P2 are and make them invisible. When you reset you set P1 and P2 to 0 and therefore icons reset.

  • In the manual for mobile advert it tells you how to add them with tutorial. You can view them on debug apk but not in preview.

  • Should just be the one that is clicked, lets see a screenshot of your events and structure.

  • Add 'for each enemy' condition, but you may need more advanced logic depending on what is happening.

  • Why not add adverts using Construct 3?

  • If touch.y is less than a value, so whatever the middle of the screen is, then have the player move towards touch but override the Y by setting player Y to a specific value.

  • I just meant that you check if enemy is not overlapping anything and do the move, and the following check about enemy is overlapping and choose a direction happens all within the same move and it's too fast. So it moves the enemy down one space, then checks if overlapping and alters the direction, this always results in choosing the last condition where it chooses left or right because it's not detecting overlaps correctly.

    So what I did was allow the enemy to move on the is not overlapping check, then add a small wait, then call a function. The wait is because you are setting a position and there is no condition like 'has moved'. The separate function called has all of the 'is overlapping' checks to then determine if the enemy is now overlapping anything once landed.

    FYI if you edit a post I don't get notified of anything.

  • If one object is pinned you don't need to simulate the movement of both. For the animations you can set some kind of state for the player when you press attack key, then you use this to block out the movement animations. So when moving and 'not attacking' > play move animation. When 'attacking' play attack animation.

  • Looks like you are checking overlaps too quickly within the tick like maybe before the unit has properly moved. If I move the overlap checks into a separate function, wait and then run it then it works perfectly.

  • It sounds like you bookmarked or installed a specific version of Construct. Note editor.construct.net represents the latest stable release, so if you bookmark or install that, you always get the latest stable release. If you want the latest beta instead, bookmark or install editor.construct.net/beta.

    Yeah what that guy said lol

  • When you go via Launch Construct 3 it navigates to a general link which is the stable release. You can copy the link with the current beta so the latest one is editor.construct.net/r193 and go straight to it, this stops the prompts.