Giter Site home page Giter Site logo

Comments (8)

Anuken avatar Anuken commented on May 5, 2024 1

I'm honestly not sure how you managed to get them stuck in the blocks like that. Did there happen to be a moment of extremely low FPS, or something else abnormal? I've tried spawning 5000+ enemies before, reducing the FPS to 10 and that's never happened to me.
As for them moving backwards, that's an old bug where the enemies improperly select a path waypoint to follow after a save load. That should be fixed now, though there might be an edge case where they still bug out.

from mindustry.

skybldev avatar skybldev commented on May 5, 2024

I simply loaded the save file and found that out. No big fps drops or anything, i just noticed that there were still 6 enemies not showing up and found out that they were the ones. I have a gif that i would like to upload to giphy but that might take a while as it is 80 something MB...

from mindustry.

Anuken avatar Anuken commented on May 5, 2024

Small update: I still haven't found why it happens, but enemies now self-destruct after being still for 15 seconds. This should prevent some frustration when enemies are stuck somewhere on the far side of the map.

from mindustry.

skybldev avatar skybldev commented on May 5, 2024

Awesome.

although I loved how the enemies getting stuck would make the wave last indefinitely and essentially amke the wave sandbox lmao

Oh, and another thing is that sometimes, when i load a save, some enemies so the opposite direction of where they were going before i saved the game.

from mindustry.

Anuken avatar Anuken commented on May 5, 2024

Does that still happen with the new beta/current version? I thought I fixed that!

from mindustry.

skybldev avatar skybldev commented on May 5, 2024

Happens less now, I see. Only 1 out of like 10 or 20 enemies go backwards in some waves. Testing again soon, and attaching gifs too.

from mindustry.

Raotor123 avatar Raotor123 commented on May 5, 2024

Can confirm, this enemy is "stuck" now for a couple of minutes.
image
(I am on commit c7c7021)
Edit: seems to be moving backwards (to the right, to get unstuck?). When i approach it turns around to shoot at me.
Edit2: A couple minutes later.
image

from mindustry.

Anuken avatar Anuken commented on May 5, 2024

Enemies will now always explode quickly and consistently when they're stuck. I don't think there's a way to fix this issue properly without making each enemy pathfind on an individual basis, so I'm closing this issue. Will open another (more specific) issue concerning enemy AI later.

from mindustry.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.