Ginger Cat Studios's Recent Forum Activity

  • I'm creating this post to provide a solution to a problem I had, but the posts I found were too old to even comment on.

    The problem:

    I'm using a blocky background to create a parralax effect, but a 1-pixel black line appears on top, and it's not something from the image I used.

    The solution:

    Using the crop button and adjusting the image size perfectly makes the line continue to appear in the layout, but when executed it no longer appears.

    I also noticed that changing the sampling type can solve the problem.

    I hope this solution I found can be useful to someone.

  • Weirdly, Phyiscs behavior works really well with a large number of moving objects. Here is someone else's demo, with 500+ zombies I'm getting 144 fps and only 15% cpu utilization on my PC.

    https://www.dropbox.com/scl/fi/b8w45zomhay2o9lfmrqxb/ZombieAiNoOverlapingV3.c3p?rlkey=mcca4hu4xyjyuuzjva6blg848&st=d5x9kid1&dl=0

    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
  • 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

  • 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?

Ginger Cat Studios's avatar

Ginger Cat Studios

Member since 1 Jul, 2024

None one is following Ginger Cat Studios yet!

Connect with Ginger Cat Studios

Trophy Case

  • Regular Visitor Visited Construct.net 7 days in a row
  • RTFM Read the fabulous manual
  • Email Verified

Progress

3/44
How to earn trophies