MessMess's Forum Posts

  • I feel very dumb and I'm not sure what I'm doing wrong now.

    I made the change you suggested and now it is only rotating that one tower called "Turn", but it's back to also calling the code on the left click below it.

    Here is the relevant code bock:

    Here is an image from the game:

    So, what should happen is:

    - If you left click on an "Obstacle" object (which is not in the Families, "Towers") it will add a new "Turn" object. This currently works.

    - If you left click on a "Turn" object (which is in the Families, "Towers") it will rotate the turn. This works now too. But, it's also creating another instance of the "Turn" object.

    I need clicking on the "Turn" Object to only kick off that code, even though the "Obstacle" object is right underneath it.

    Thanks for any guidance.

  • Families seems like the best solution, but I must be doing something wrong.

    I created a family called towers and put all my tower objects into it.

    This is my event:

    But now, when I click on it, every instance of "Turn" is rotating, not just the one I clicked on.

    Any idea, what I am doing wrong?

  • I have an object on Layer 0 (called "obstacle") that responds to a left mouse click.

    I have another object on Layer 1 (called "turn") that also responds to a left mouse click.

    The problem is, if "turn" is on top of "obstacle", when I click on "turn", "obstacle" triggers as well (even though it is hidden underneath).

    How do I stop both objects from triggering at the same time and just use the object that is visible and my mouse is touching?

    Tagged:

  • Hello everybody.

    I made a game a few years ago (with Unity). It's up on Steam and had some success, but I hated working in Unity.

    I got an idea I'm excited about for a new game and I've been lurking here for almost a year, trying to decide if Construct 3 was the best fit for me. The more I played with it - the more I liked it.

    So, this past week, I jumped in with both feet and got to work on the game. It's going great so far and I'm loving Construct 3 (even bought an annual subscription).

    Everyone here has been so helpful and I'm looking forward to the day when I can share my game with all of you.

  • You do not have permission to view this post

  • These are great suggestions!

    I will try these out and see what works best.

    Thank you so much.

  • I am making a tower defense game (and having a lot of fun doing it).

    My layout (level) consists of open squares (the enemy can move through) and solid squares (they cannot move through).

    I would like to be able to right click on a solid square object and have a pop-up menu open, where I can select a tower type and then have it appear on that square.

    I have searched, but have not found a game or tutorial, that seems to have a simple pop-up menu like this.

    Can someone point me in the direction of a game or tutorial, I could look at and learn from?

    Tagged:

  • Thanks so much - that did the trick!

  • I want to be able to hold down the left mouse button to fire (not click), but I only want it to fire once per second.

    I am currently using "Left button is down" to trigger the fire, but that is happening 60 times a second.

    How do I make it fire only once per second?

  • Well, it's very cool. I would love to learn how you did it. Is the code available for it anywhere?

  • Just curious, the "Game of Life" that you made, was that done in Construct 3?

  • This algorithm is very cool - I didn't realize you could make something so complicated so easy to understand. Great stuff!

  • Played the demo and it was great!

    Love the graphics - some of the best I've seen in a C3 game.

    Well done and best of luck with your Steam launch.

  • WackyToaster,

    Thanks so much for the detailed reply.

    I'm glad this idea can work. Like you suggested, this will facilitate level creation by the user and make it easy for us to save completed levels (or even levels in progress).

    I'm excited to give it a try - now I just need to teach myself how to do it. :)

    Should be fun!

  • I'm new to Construct 3 and loving it so far.

    I'm making a Tower Defense style game that will have a lot of different levels.

    I'm simplifying a bit, but basically each level starts as a grid of 16 by 9 squares. Those squares are:

    S = Start (Green): Where the enemies spawn.

    E = End (Red): Where the enemies exit.

    P = Path (White): The trail the enemies follow.

    O = Open (Grey): Spaces where you can place towers.

    B = Blocked (Black): Spaces where you cannot build towers.

    Rather than create sheets for each level, I was wondering if I could create the levels dynamically from a file array (as in, this awesome tutorial from “Game Design by Reilly”).

    Once again, I am simplifying a bit, but the array would basically contain the X and Y coordinates and the value for that square (S, E, P, O, and B.

    Could I then have a single level sheet that would look up the proper grid layout for the current level from the array?

    If the answer is yes, then the follow up question is: how best to actually implement that design and create each level?

    For example, is there a Construct 3 command to draw squares with a solid color and border? Or, do I need to create 5 sprites (Start, End, Path, Open, and Blocked) and then dynamically write them to the layer?

    Thanks in advance for any help.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads