So, I am making a scripted boss and saw that I couldn't make a enemy larger than 4x4. I was told that it's possible to make it larger somehow. I was wondering if anyone would be able to explain to me how this would be done.
Thanks.
Posted 04 April 2017 - 07:21 PM
So, I am making a scripted boss and saw that I couldn't make a enemy larger than 4x4. I was told that it's possible to make it larger somehow. I was wondering if anyone would be able to explain to me how this would be done.
Thanks.
Posted 04 April 2017 - 07:35 PM
Basically you'd have to do all the drawing yourself. You can set the enemy's hitbox size with HitWidth and HitHeight, but you'd have to handle its drawing in a custom waitframe function. Basically you make the function set its DrawYOffset to a really high negative number every frame so the enemy doesn't draw to the screen and then draw a combo of the desired size over it. You can use this->CSet for the cset of the draw so it flashes properly like other ghosted enemies.
Posted 04 April 2017 - 07:39 PM
Oh, okay thanks !
0 members, 1 guests, 0 anonymous users