Game Development Reference
In-Depth Information
Have a go hero
Add logic to the
resetStar
method so that the new position picked is not too close to
the
_rocket
sprite. So, make the function a recurrent one until a proper position is
picked.
And take the
warp
particle system, which right now does not do a whole lot, and use it as
a random teleport field so that the rocket may get sucked in by a randomly placed warp and
moved farther away from the target star.