igortyhon's Recent Forum Activity

  • This will be problematic with the ready-made turret behavior. After all, this object is already in the turret's target database and until it is destroyed it will be active as a target.

    For this to work well we need to control the aiming and firing of the turret ourselves. And there already check the life of the enemy before the shot.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • ....

    Is it a bug with the function, or am I doing something wrong? Or is the issue occurring because there is a repeat thing going on inside the function?

    - No, it's not a glitch, it's just that my function is executed instantly, it just sets the spawning parameters, and then the code inside the group runs continuously until it is executed and disables the group itself.

    - And you just use the glitch when you add lupindex to the wait. And your function is executed for several seconds.

    Unfortunately, I didn't see your post with an example and didn't understand that you want to throw cubes from above.

    I redid the example, now it throws cubes. There is a function that sets the parameters of who spawns and how many and there is a block that is responsible for spawning.File

    - Remember in Construct3 all functions are executed instantly.

  • I hope I understand your purpose.

    I think this is the final result so the towers should grow parallel and at the same time.

    The number and speed should be adjusted and the height should be adjusted.

    I will take the liberty of suggesting a smooth tower growth, I like it.

    We can choose the height, speed of growth and position.

    To optimize the heaviest events I hid in a group that disconnects after the completion of growth.

    File

  • I think I understand what you want, I'll think about how to make it pretty and reply in that thread.

  • Here is a variant using a timer, it can be used many times and put into a spawn function with customizable parameters.

    We spawn the object that is responsible for spawning, and after completion we remove it

  • You can't do that.

    You will check the lupindex and it will always be zero.

    Use the first method from the screenshot and customize it for yourself.

  • It is interesting to repeat some mechanics using video as an example.

    A text assignment can always be understood in different ways.

    The toolkit should be complete, what you write without using behaviors turns the challenge into a programming competition. Competitive olympiad solutions are very rarely used in practice.

    I read your example assignment and realized that I am not interested in this kind of work at all.

  • I find the first option to be more correct and flexible.

    The second option according to your conditions, but it is a crutch.

  • Any easy way to use wait in Repeat? My req is create object though function after a certain delay intervel.

    (I found a 10 years old post but could't make it work so hence posted)

    Repetition cycles are instantaneous, it's a feature of the engine. There is a trick to slow it down you add a loopindex to the wait. This makes the engine stop the repetition and come back to it after time.

    But it is better to learn how to use timers as my colleague wrote above. It is a more correct way.

  • I'm currently working on a video series comparing gamemaker/construct 3/unity across a variety of challenges - from speed of workflow, to engine specific challenges.

    ....

    If you are strong in programming, you can use JavaScript and all its power.

    Maybe you just don't know how to use this tool.

    Do you have successful games or do you just like to compare and test?

  • File

igortyhon's avatar

igortyhon

Member since 22 Jul, 2020

Twitter
igortyhon has 14 followers

Connect with igortyhon