ThomasP's Recent Forum Activity

  • So no way to use variables to limit which objects in a family are being targeted by a turret?

  • If you want it to perform the spawn action multiple times every time it initiates, you can use the System event called Repeat and you can tell it how many times to repeat.

  • It needs to create waypoints in between the red and green squares. The link below is to a tutorial to create a board game, which I used as a basis for grid based movement in a game of mine.

    https://www.scirra.com/tutorials/630/bu ... oving-them

    Please note it does require the Move To plugin. It gives the link to that in the tutorial.

  • In my game there are two teams using the same base units, so I created one of each unit type and put them all in a single family. To differentiate between teams, I simply have an instance variable called "Team". I am now setting up the turrets and added the family as a target. This results in the turret attacking all family members. Is there a way to limit this to just family members who have a value in the instance variable "Team" that differs from the turret's?

  • Create a new layer (I call mine UI) and just set the parallax to 0,0. It defaults to 100,100. That way the layer doesn't scroll as the rest of the layout does. You can manually move the sprites on that layer to wherever you want and they will stay at that point on the screen.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I'm not sure if this is anywhere close to the best solution, but could you set it up as "left" is a function, and then just have what pressing left does inside the function, and each control button that moves left calls the left function?

    Does that even make sense?

  • Thank you!

  • It can be set up something like this:

    Thank you very much!

    EDIT: Completely unrelated, but how do I link my Construct 2 license to my forum login? I've had Construct 2 for about 9 months now on Steam, but I just signed up for the forums a few days ago.

  • Bump.

    So shirokuma's solution is having a layer of tiny sprites that were manually placed and become transparent when in the player's line of sight.

    How do I set it up so that the game places all the sprites automatically at the start of the layout?

  • Well, I'm not very happy with this one, and it certainly isn't efficient. But maybe it will give you some ideas.

    Thank you. I was hoping to not have to do all the individual sprites for the fog of war, but I think I might have to go that route. I was expecting a few more events, so thank you for the capx!

  • Please understand though, no doughnuts were actually harmed during the creation of this game.

    I hope you did lots of research to get the doughnuts accurately represented in game.

  • I'm at work so I can't look at the capx, but could you implement a scroll to the mouse coordinates as it zooms? So for each zoom increment it also scrolls towards the mouse coordinates?

ThomasP's avatar

ThomasP

Member since 26 Mar, 2014

None one is following ThomasP yet!

Trophy Case

  • 10-Year Club
  • Email Verified

Progress

11/44
How to earn trophies