gfmichels's Forum Posts

  • construct.net/en/forum/construct-3/how-do-i-8/move-enemies-vampire-survivors-171628

    It may help

    Thanks, I solved the problem using Physics and I even posted the game if you want to see it: gingercatstudio.itch.io/rogue-survivor-generic

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I've done this before using multiple bullet behaviors on the same object.

    One behavior heads towards the player.

    The second bullet behavior, using the enemy object in a family, can be set to -

    On family overlap with enemy (or within x distance) - set family bullet behavior angle away from enemy, and set enemy bullet behavior angle from family. Use a high speed, and a high deceleration. You can even set the speed inverse to their distance to each other if you want, so that they repulse each other harder the closer they are to each other. This doesn't necessarily prevent overlap, but neither do monsters in vampire survivors.

    This is more akin to steering or boids style maneuvering.

    I would also recommend updating steering forces only every x seconds instead of every tick, for performance reasons. You can also see this in action in vampire survivors after you die.

    Regarding performance for massive amounts of enemies, you might notice there actually aren't thousands on screen at a time in vampire survivors. Try counting them. The enemies (and xp drops for that matter) are culled when offscreen and xp is combined.

    Thank you very much, I will see what I can do

  • In this case he is not using the Step effect, need to create the event "in step"

  • I was creating a game similar to Vampire Survivors, where countless enemies are generated across the screen...

    The problem is that if I don't define any type of collision between them, they end up overlapping too much.

    The obvious solution is to create a collision event between enemies, the problem is that if I use behaviors, the FPS goes from 144 to 0 when pass 500 enemies created.

    Could someone who has created a game with a massive number of objects colliding with each other tell me what the solution to this problem is?

    I found many ways to create collision in construct3 but none of them were tested in cases where there are many objects, I really don't know what to do 😞

  • > > Use on collision instead.

    >

    > This option does not appear when using Step

    What option? It's a trigger condition. Is your event already inside a trigger?

    In this case, when activating Step, it does not allow using any "in case of collision", only in case of overlapping

  • Where do you save your project? Do your events and layouts also get discarded? What OS do you use (Windows, Mac, Linux)?

    Windows 11, saved to secondary HD, I said they are discarded, because I can't save anything

  • I have started using Arrays in my project, and I have noticed a very annoying problem quite frequently.

    I simply cannot save or run my game, all the progress I have made is simply discarded as there is no way to save.

    I noticed that this always happens when I'm editing an Array(json) file on construct (visual array file(json), and not the Array Object)

    Has this happened to anyone else? The message that appears says something like this: you do not have permission to save, but there are other ways to save.

    Config: I use Construct "installed" on the desktop from Chrome, as an app, and I use the Brazilian Portuguese language.

  • Use "Stop stepping" action as soon as you detect the collision/overlapping. It will not trigger further steps for this tick.

    unfortunately the problem persists

  • Use on collision instead.

    This option does not appear when using Step

  • I'm trying to create a top-down shooter, and for the collision of bullets with enemies I am using the Step to avoid bullets going too fast through the target.

    The problem is that the collision validation that would reduce the enemy's life by 1, is reducing it by 2, bullets have the property of passing through the target, I don't know if it's because of that..

    The validation event I did is that in case of Step and overlapping the enemy, it reduces his life by 1.

    What would be the correct way to work with bullet step so that the collision event only counts once?

  • Hi. I have an example that I posted a long time ago that gives out random skills when leveling up. It's not perfect, maybe it will be useful. And not the forum already had similar discussions.

    https://kibaga.org/c3-example/file_uploads/index.php?file_name=../Random-Skill-Spawn-Choice.c3p

    Thank you very much, this is a good basis for me to study.

  • Based on the Vampire Survivors upgrade system, when the player levels up, he would like 3 items to appear to choose from a larger number of items, and as the same item is chosen several times, it reaches the maximum level and stops appearing.

    What is the ideal way to do this, and is there an example to follow?

  • I looked in the Construct manual and the post I found was from... 11 years... ago and didn't help me much.

    So I wanted to know what the expression "newline" should do, my first game I used another way to break the line, but looking at the game examples I noticed this expression, and as ironic as it may seem, even in the example it doesn't work.

    Is this something "legacy"? or is there a correct way to use newline.

    Example taken from construct tutorial ""wizard and goblins game"":

    This post is not exactly a "help-me", but I would like to know more about this expression, if anyone has any idea why it doesn't work or how to use it, I would like to know.

    Have a good day!

  • Hello,

    I would like my game to be saved in the Steam cloud, but for that I need to know where it is being saved.

    I'm not using array or localstorage, but rather the system for saving the game's current state. In which folder or files is it saved?

    thanks.

    Tagged:

  • Hello everyone, I would like to share my game created in Construct 3

    Brief Description: The King Cat Clicker is an IDLE game where you click to earn coins and use the accumulated money to purchase upgrades that will help you earn more coins easily.

    You can download and play the Demo right now on Steam: https://store.steampowered.com/app/3121620/The_King_Cat_Clicker/

    I'd love to hear your opinion :)