refactor(shapes): reorganitzar data/shapes en subcarpetes per categoria (enemy/bullet/ship/effect)
This commit is contained in:
@@ -3,7 +3,7 @@ name: bullet
|
||||
# Shape de la bala. El bounding_radius del .shp dóna el hitbox base (~3 px);
|
||||
# scale el modula visualment i pel hitbox.
|
||||
shape:
|
||||
path: bullet.shp
|
||||
path: bullet/basic.shp
|
||||
scale: 1.0
|
||||
collision_factor: 1.0
|
||||
|
||||
|
||||
@@ -4,7 +4,7 @@ name: bullet_long
|
||||
# jugador i amb prou marge per reaccionar. La velocitat NO viu aquí: es passa
|
||||
# a Bullet::fire() i la decideix qui dispara (l'AiTickAction).
|
||||
shape:
|
||||
path: bullet_long.shp
|
||||
path: bullet/long.shp
|
||||
scale: 1.0
|
||||
collision_factor: 0.5
|
||||
|
||||
|
||||
@@ -5,7 +5,7 @@ ai_type: orb # Validat contra el directori; mapeja a EnemyType::O
|
||||
# pensada per llegir-se com a "reactor / orb" amb més detall que els enemics
|
||||
# petits.
|
||||
shape:
|
||||
path: enemy_orb.shp
|
||||
path: enemy/orb.shp
|
||||
scale: 1.0
|
||||
collision_factor: 1.0
|
||||
|
||||
|
||||
@@ -2,7 +2,7 @@ name: pentagon
|
||||
ai_type: pentagon # Validat contra el directori; mapeja a EnemyType::PENTAGON.
|
||||
|
||||
shape:
|
||||
path: enemy_pentagon.shp
|
||||
path: enemy/pentagon.shp
|
||||
scale: 1.0 # multiplicador visual + hitbox sobre la mida nativa del .shp
|
||||
collision_factor: 1.0 # ajust opcional del hitbox (default 1.0)
|
||||
|
||||
|
||||
@@ -2,7 +2,7 @@ name: pinwheel
|
||||
ai_type: pinwheel # Validat contra el directori; mapeja a EnemyType::PINWHEEL.
|
||||
|
||||
shape:
|
||||
path: enemy_pinwheel.shp
|
||||
path: enemy/pinwheel.shp
|
||||
scale: 1.0 # multiplicador visual + hitbox sobre la mida nativa del .shp
|
||||
collision_factor: 1.0 # ajust opcional del hitbox (default 1.0)
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
name: player_ship
|
||||
|
||||
# Shape de la nau. Resolt per ShapeLoader (busca a "shapes/<path>").
|
||||
# Nota: el segon jugador rep un override del shape ("ship2.shp") al ctor.
|
||||
# Nota: el segon jugador rep un override del shape ("ship/wedge.shp") al ctor.
|
||||
# Quan s'introdueixin variants reals de nau, es crearà un YAML separat
|
||||
# per cada model.
|
||||
#
|
||||
@@ -10,7 +10,7 @@ name: player_ship
|
||||
# automàtic de la shape; tocar només si el feel del hitbox
|
||||
# no quadra amb la silueta visual (default 1.0).
|
||||
shape:
|
||||
path: ship.shp
|
||||
path: ship/arrow.shp
|
||||
scale: 1.0
|
||||
collision_factor: 1.0
|
||||
|
||||
|
||||
@@ -2,7 +2,7 @@ name: square
|
||||
ai_type: square # Validat contra el directori; mapeja a EnemyType::SQUARE.
|
||||
|
||||
shape:
|
||||
path: enemy_square.shp
|
||||
path: enemy/square.shp
|
||||
scale: 1.0 # multiplicador visual + hitbox sobre la mida nativa del .shp
|
||||
collision_factor: 1.0 # ajust opcional del hitbox (default 1.0)
|
||||
|
||||
|
||||
@@ -2,7 +2,7 @@ name: star
|
||||
ai_type: star # Validat contra el directori; mapeja a EnemyType::STAR.
|
||||
|
||||
shape:
|
||||
path: star_5.shp
|
||||
path: enemy/star.shp
|
||||
scale: 0.7 # Lleugerament més petit que els altres enemics per diferenciar visualment.
|
||||
collision_factor: 1.0
|
||||
|
||||
|
||||
Reference in New Issue
Block a user