Entity Loading
@mcgivrer ya está trabajando en esto.
Desde el 21/12/2021.
Evaluación
Este issue todavía no se ha evaluado.
Descripción
Load Entities from the level map file to create corresponding GameObject's and mapping.
A sample Entity class to understand what the challenge is:
class Entity {
String id,
Image image,
Map<String, Object> attributes;
}
In the level file test-level-entity.lvl:
{
'name':'test-level-tileset',
'entities': { 'pixelsImage':'images/tiles/tiles01.png',
'items':[
{ 'id':'P',
'pos':(0,32),'size':(16,16),
'attributes':{ 'entity':'player', 'life':5, 'energy':100, 'mana':100}
}
]
}]
}
The Use Case is:
Feature: Loading a Level
The `LevelLoader` service is dedicated to load objects from a level file and initialize all corresponding entities.
Scenario: 02- loading a Entities
Given the LevelLoader is instanciated
And the level file "test-level-entity.lvl" is loaded
Then a level named 'test-level-entity' is defined
And Level contains 1 Entities
And the Entity with id 'P' has a 'entity' attribute with value 'player'
And the Entity with id 'P' has a 'life' attribute with value 5
And the Entity with id 'P' has a 'energy' attribute with value 100
And the Entity with id 'P' has a 'mana' attribute with value 100
- Lenguaje dominante
- Java
- Estrellas
- 1
- Forks
- 1
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Preparar el entorno
Este proyecto no incluye contenedor de desarrollo, Dockerfile ni guía de contribución, así que la configuración corre por tu cuenta: empieza por su README y consulta nuestra guía para la primera contribución para los pasos generales.
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 mcgivrer/fromClassToGame
-
TileLayer loadingQuizá libre de nuevo @mcgivrer la tomó hace 1662 días y no hay ningún pull request abierto. Abiertodocumentation enhancement
mcgivrer/fromClassToGame#152 · 1 asignado ·
-
Animation LoadingQuizá libre de nuevo @mcgivrer la tomó hace 1774 días y no hay ningún pull request abierto. Abierto
mcgivrer/fromClassToGame#133 · 1 asignado ·
-
TileSet loadingQuizá libre de nuevo @mcgivrer la tomó hace 1774 días y no hay ningún pull request abierto. Abiertodocumentation enhancement
mcgivrer/fromClassToGame#131 · 1 asignado ·
-
TilemapQuizá libre de nuevo @mcgivrer la tomó hace 1774 días y no hay ningún pull request abierto. AbiertoEpic
mcgivrer/fromClassToGame#130 · 1 asignado ·
-
Behavior on ChildQuizá libre de nuevo @mcgivrer la tomó hace 1778 días y no hay ningún pull request abierto. Abiertodocumentation enhancement good first issue
mcgivrer/fromClassToGame#126 · 1 asignado ·
Todos los issues de mcgivrer/fromClassToGame
Issues similares
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
-
bug/错误
Dificultad 2/5 1-3 horas Aptitud para principiantes 64/100
FCL-Team/FoldCraftLauncher#1982 · 2 comentarios ·
Los mantenedores suelen responder en 1 día
-
[BUG] micronaut-serde-oracle-jdbc-json brings a second OJDBC driver onto the runtime classpathPosiblemente ocupada @ZARAYACH la tomó hoy. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
micronaut-projects/micronaut-serialization#1494 · 4 comentarios ·
Los mantenedores suelen responder en 2 días
-
Dificultad 1/5 1-3 horas Aptitud para principiantes 75/100
-
bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 73/100
Los mantenedores suelen responder en 2 días