02-21-2024, 01:44 AM
(02-17-2024, 10:56 PM)Marcus Wrote: ...
Code:...
' Move.
i = 1.5*dt
this.dx = this.dx*(1 - i) + this.wdx*i
this.dy = this.dy*(1 - i) + this.wdy*i
this.x = this.x + this.dx*dt
if this.x < 0 this.wdx = |this.wdx|
elseif this.x + this.w > width(primary) this.wdx = -|this.wdx|
this.y = this.y + this.dy*dt
if this.y < 0 this.wdy = |this.wdy|
elseif this.y + this.h > height(primary) this.wdy = -|this.wdy|
this.turnTimer = this.turnTimer - dt
if this.turnTimer <= 0 this.SetRandomDirection()
...
...
Imagine that someday, someone will use your "dancing" BigEnemy to recreate the final chapter where THE BOSS of Space Invaders is shooting furiously and without mercy ...
THE FINAL CHAPTER OF THE INVADERS
Perhaps ...
It's the final chapter of the Invaders
You've wiped out all of the alien soldiers
You'll meet soon the Boss
All your strength and courage
To the glory of the planet Earth
...
DISCLAIMER
This is a work of fiction
Any similarities to persons living or dead
places or actual events is purely coincidental
They are either the products of
the author's imagination
or used in a fictitious manner
Press ENTER to continue