Performance: Check for Enemy in range is checking all! from the currently loaded world
Los mantenedores suelen responder en 1 día
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 4/5
- Tiempo estimado
- 1-2 días
- Aptitud para principiantes
- 35/100
- Tipo de issue
- Nueva funcionalidad
- Claridad
- Bastante claro
- Estado de actividad
- Estancado
- Área
- game-dev, performance
Línea de trabajo
Start at GUZ.Core.Services.Npc.NpcAiService.UpdateEnemyNpc and read how it looks up enemies in the currently loaded world. Trace how spawned and visible NPCs are represented, then compare those options with the proposed visibility or range checks. Done means the lookup checks only the intended NPCs and avoids the repeated checks described in the issue.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Description
GUZ.Core.Services.Npc.NpcAiService.UpdateEnemyNpc
// FIXME - Performance - Can we clean this up to support only spawned and visible NPCs/Monsters?
// Otherwise we might need to loop through it for each visible monster and 1000x per visible NPC/Monster
// -> about 10k checks per frame!
TODOs
- Optimize lookup to check only
- Visible NPCs
- and/or NPCs within certain range
- Lenguaje dominante
- C#
- Estrellas
- 33
- Forks
- 1
- Merge medio
- 1 d 17 h
- PR fusionados (30 d)
- 51
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Tiene una plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de Gothic-Unity-Project/Gothic-Unity
-
bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 69/100
Gothic-Unity-Project/Gothic-Unity#487 ·
Los mantenedores suelen responder en 1 día
-
bug
Dificultad 4/5 3-5 días Aptitud para principiantes 49/100
Gothic-Unity-Project/Gothic-Unity#489 ·
Los mantenedores suelen responder en 1 día
-
bug
Dificultad 4/5 3-5 días Aptitud para principiantes 42/100
Gothic-Unity-Project/Gothic-Unity#488 ·
Los mantenedores suelen responder en 1 día
-
bug
Dificultad 4/5 3-5 días Aptitud para principiantes 55/100
Gothic-Unity-Project/Gothic-Unity#486 ·
Los mantenedores suelen responder en 1 día
-
bug
Dificultad 4/5 3-5 días Aptitud para principiantes 48/100
Gothic-Unity-Project/Gothic-Unity#485 ·
Los mantenedores suelen responder en 1 día
Todos los issues de Gothic-Unity-Project/Gothic-Unity
Issues similares
-
bug untriaged
Dificultad 2/5 1-3 horas Aptitud para principiantes 67/100
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 65/100
CarlosAdrianM/Nesto#610 ·
-
area/resource-registry status/triage
Dificultad 1/5 1-3 horas Aptitud para principiantes 76/100
Altinn/altinn-auth#4821 ·
Los mantenedores suelen responder en 1 día
-
a11y community:contribution
Dificultad 2/5 1-3 horas Aptitud para principiantes 74/100
microsoft/fluentui-blazor#5590 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
bug mcp small
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
Los mantenedores suelen responder en 1 día