igortyhon's Forum Posts

  • ....

    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?

  • Try Construct 3

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

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

  • It's okay to have a large size layout and only display part of it, I use it all the time.

  • I figured it out. I just had to wait for the donut to cook.

  • I'm currently working on an RPG project that includes a warping mechanism to move the player between different layouts. I'm experiencing an issue where the player gets teleported to the "door" in the new layout correctly, but then glides back to the default spawn point set in the editor. I think it might have something to do with the tile movement overriding the set position command and forcing it to glide back to the expected position? The logic is in "base_warp" event sheet.

    Here is the project if you would like to have a look: drive.google.com/file/d/1eY28lHmazoxU1uEY4jMqV-Th3isY5VrN/view

    The only warp point I have currently set up is the one that goes from "calmtown" to "mysteryforest" (east from calmtown, west from mysteryforest).

    I am not sure if I am missing something. I am relatively new to Construct 3. Thank you if you are able to help!

    -I fixed your character's teleportation. The main problem was that the hero instance was already on the layout and when you moved it after teleportation it still received some time command from moving. The best practice would be to create a hero after entering the layout at the desired point.

    -Slightly optimized too frequent actions and behaviors.

    -Best practice would be to give a name to the layers and when creating refer to the name it will help in the future without problems to add new layers.

    File

  • > Put this into the runOnStartup function in main.js

    >

    >

    > > document.addEventListener('keydown', function(event) {
    > 		if (event.key === 'F5') {
    > 		event.preventDefault();
    > 		}
    > 	});

    >

    >

    >

    >

    I tried to open the main.js file with notepad++ and it's a wall of text, how can i show the code as in your screenshot?

    You don't need to get into the engine files.

    You need to add a file to the project and insert the necessary code there.

  • Okay, I wanted to take my time in responding as I answered some of my own questions. Also, my app has made it to the the app store (here) so no big issues.

    Hi.

    - I just keep giving a new name to the archive package and opening it as a new folder.

    There's not much to change. Specify the icon one size, select the developer and put the update flag for cocoa pods.

    - I like the design of your site.

    -I downloaded and played your game. No offense, but it's bad out there. The design is nice but everything is very small and it's not clear how to play. I tried to click on the cash register and on the bag of money but was constantly killed by visitors.