lukedirago's Forum Posts

  • Update: I have found a solution, I don't know if it will bring future problems, but as for now is actually better since I'm not spawning new objects and have to hide them. It has less events I think.

    <img src="http://i.imgur.com/MIDms7Y.jpg" border="0">

    I'm sure it simple, but yet I can't find a way to call the funcion OnScreenReset when I touch the background. If I add an event that triggers when it touches the BG, then nothing works.

    Any ideas?

    Here's the updated capx

    Deploy and Display 2

    Edit: I've found the way to do it, just a simple fix. Here it is:

    <img src="http://i.imgur.com/NLxqZIG.jpg" border="0">

    That leaves everything (as for today <img src="smileys/smiley2.gif" border="0" align="middle"> ) fixed.

    Maybe this will help someone.

  • Hello everyone!

    I'll cut to the chase: I've read for a while and searched but I couldn't find a real solution to an issue I'm encountering here.

    I'm making a TD, and I'm starting with the deployment system. I'm making it with an isometric view, already sorted out many things. But I'm having a problem with the display of the units. I want to select a unit, and it should display the range, and upgrade button and a sell button. I made a container, and a local variable to set if it's selected or not, and depending on that if it displays it. But the thing is that I want only one to be selected, if I select another one it should turn the others off. Here's a graphic example, the events and the capx.

    Thanks!

    <img src="http://i.imgur.com/j1trEVR.jpg" border="0">

    <img src="http://i.imgur.com/jid1OVt.jpg" border="0">

    Deploy and Display Info

  • Hi Geometrix!

    Thanks for the tutorial, for some reason I missed it yesterday when you replied.

    It looks great, I'm gonna have a look right now ;)

    Thanks!

    Luke

  • Hi! Thanks for the quick reply!

    I've come to a solution in the meantime, but again, I don't know if it's the most efective one. Here it is.

    <img src="http://img198.imageshack.us/img198/3910/soldierdeploy.png" border="0" />

    Thanks again! I'm sure I'm gonna bother you again with something really soon hahahaha ;)

    Luke

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Hello! This is my very very first question here, so sorry if it's too n00b ;)

    I've beginning using C2 a week ago, mainly to make a prototype of a game, but now I'm finding it robust enough to make it entirely here.

    It's a basic Tower Defense game.

    So, I've progressed a lot using the turret example and behaviors, but I'm starting to need more. Like deployment of the turrets for example.

    jayderyu Your method of using drag & drop worked like a charm, but I'm trying to limit the area available of deploy. So I'm trying to make a condition, to only place the turret if is overlapping a sprite. It works, with the exception that if it's not overlapping, just leaves the DD icon everywhere else, you know what I mean? Maybe there's a more logical solution to this. I hope you can share if that's the case :D

    Thanks!

    Luke