migrat a sistema de shapes
This commit is contained in:
19
data/shapes/bullet.shp
Normal file
19
data/shapes/bullet.shp
Normal file
@@ -0,0 +1,19 @@
|
||||
# bullet.shp - Projectil (petit pentàgon)
|
||||
# © 1999 Visente i Sergi (versió Pascal)
|
||||
# © 2025 Port a C++20 amb SDL3
|
||||
|
||||
name: bullet
|
||||
scale: 1.0
|
||||
center: 0, 0
|
||||
|
||||
# Pentàgon petit radi=5 (1/4 del enemic)
|
||||
# Pentàgon regular amb 72° entre punts
|
||||
#
|
||||
# Conversió polar→cartesià (radi=5, SDL: Y creix cap avall):
|
||||
# angle=-90°: (0.00, -5.00)
|
||||
# angle=-18°: (4.76, -1.55)
|
||||
# angle=54°: (2.94, 4.05)
|
||||
# angle=126°: (-2.94, 4.05)
|
||||
# angle=198°: (-4.76, -1.55)
|
||||
|
||||
polyline: 0,-5 4.76,-1.55 2.94,4.05 -2.94,4.05 -4.76,-1.55 0,-5
|
||||
Reference in New Issue
Block a user