.nhb

BossSprite = "/Textures/helloKitty.png"
Where the boss image is, .png to perserve transparency background

The hitbox is automatically generated at runtime

BossAnchor = (0.5,0)
The anchor is primarily for change where the boss image rotates or scales at

2 numbers representing x, y

for x : 0.5 is at the image centre, 0 is left, 1 is right

for y : 0.5 is at the image centre, 0 is bottom, 1 is top

BossSize = (1,1)
How big is boss in game unit

the whole screen is around 4 units width, 6 units length

For example, a (3,3) boss could cover 70% of the screen

BossCorners = [Top,BottomLeft]
Which edge of the screen can the boss spawn from?

Position = [{1:(0,8,0)},{3:(0,-5,0)}]
Animating the position of the boss

the list of coordinates and timestamp where the boss is {time:(x,y,z)}

For example, the script below make the boss spawn 1 second delay at top of the screen position (0,8) (near top left corner)

at 3 seconds, it moves to (0,-5) position of the screen - the lower left corner

the screen width is around x between -4 ~ 4

the screen height is around y between -6 ~ 6

different devices have different aspect ratio - ie, iPAD can have -5 ~ 5 screen width

Rotation = [{0:(0,0,0)},{3:(0,0,180)}]
the list of rotation and timestamp what the boss's angle is {time:(x,y,z)}

in 2d world, we can only use z - ie {time: (0,0,z)}, if you want to do some fancy animation, you could try x,y

For example, the script below makes the boss rotate from 0 degrees to 180 degrees, in 3 seconds

Scale = [{0:(1,1,1)},{3:(5,5,5)}]
the list of scale and timestamp what the boss's size is {time:(x,y,z)}

in 2d world, we can only use x,y - ie {time: (x,y,1)}, z has to be bigger than 0, can always leave at 1

For example, the script below makes the boss grow bigger from 1 - 5 sizes in 3 seconds