imhotep22's Forum Posts

  • Use the path finding behavior.

    Here is an explanation how it works https://www.scirra.com/manual/154/pathfinding.

  • You are welcome, good luck with the game

  • Here it should work now, I added extra targets and it worked fine.

    https://www.dropbox.com/s/iclsxhg66m6af ... th.7z?dl=0

    The problem was, the has no target function was going in endless loop, so I added trigger once when true condition and it worked fine.

    Edit: I changed the capj file only, so start it from there.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Don't call the inverted function as a sub event. If you call it like that its never true, because the base event says turret has target and it will only trigger when it has target making the not target one always false.

    Call the inverted has target on its own event and in it as sub event add the move along path and it will work.

  • Select the event right click it, and click invert.

    I cant see your image btw.

  • Else statements don't work really well. Make the event on its own, or call it with a function I do not know how you structured your events.

  • If you are using the turret behavior you can check if soldier has target, if not call movement action.

  • It does not, only the number of different images, sounds and music effect the size. But take note the larger the layout, behaviors like line of sight, path finding and collision detection take more processing power to do their calculations. I suggest making your level's in lots of layouts to improve this.

  • The example I showed you was in construct 2, I guess in construct 3 is different. You posted the topic in the construct 2 side of the forum so I thought we ware talking about construct 2 sorry.

  • I don't suggest using UID's to pick unique instances, because if you destroy objects the UID changes. You can add an instance variable to your family and every time you create object from it increment it by 1, then pick the instances with that ID.

  • You can copy paste the canvas tag from the generated index.html to your index.html ( also you need to put all the java script files into your website server). But you need to have some programing knowledge with how html 5,css 3 and javascript works.

    Also this forum side is for construct 2, not construct 3.

  • If you are making it for the mobile I suggest you just totally skip the effect, of your device will die out of lag. I don't knot if saw Ashley bunny test, but the mobiles ware unable to handle more then 250 objects on screen because they started to lag. Particles are bit more efficient then sprites but still it will cause ton of lag.

  • You can use set angle in the 8-direction behavior settings to set the rotaion speed, if its set to 360 it will rotate instantly.

  • I do a little bit of planning on the start. Usually during the development or during testing I get new ideas, then I go back to the events and layouts of the game so I implement the new features or I remove some which look useless.

  • Only the initial size matters, tiled background will just copy paste the object as you stretch it. But if you are using sprite and stretching it that can make some problem's.

    Making the initial size of the object smaller will always improve performance, also making the tiled background size on power of 2( 4,8,16,32,64,128,256 etc) size will make it even more efficient, so if you have some lag ussies try setting the size to 256 then 128 and compare the difference.