I had a new abnormal programm termination:
It occured while I was running the play game mode.
It has probably to do with a bug That happens when after using this script:
- Code: Select all
angle = direction(x, y, reiter2 .x, reiter2 .y);
directional_velocity = 10;
in the "draw actor" event of the little ghost. When the ghost is not stopped by a weapon action and gets stuck at hs target. Normally, it should get destroyed by a timer that is created at the collision with reiter2. It works most of trhe times, but especially when the little ghost comes from the bottom of the screen, it just gets stuck on the center of its target.
I could use the directional script on the create actor event, but there I put
- Code: Select all
xscreen = rand(view.width);
yscreen = rand(view.height);
In order to make it coming out from a random screen position.
Any idea how to fix this problem?