Page 1 of 1

Makslane - please help. abnormal programm

PostPosted: Sat May 27, 2006 9:40 pm
by Diana Kennedy
Oh no, what is this mow? It all worked so fine. But more and more., when I am in Game mode, the programm is terminated and this one is shown:

Image

I exported the game as exe.file to see it. And there it terminates the programm every tome the rider collides with the rock. I don't understand this. It worked so well before. What can I do?

:cry: :cry:

PostPosted: Sun May 28, 2006 3:11 am
by Diana Kennedy
I could resolve the problem by making the collision affecting "any side". This is really a bug. The game will not accept collision on specific sides!

PostPosted: Sun May 28, 2006 2:09 pm
by makslane
Please, send me this project to my email (use this thread subject)

PostPosted: Mon May 29, 2006 2:09 pm
by Diana Kennedy
I did. I hope it does not stick in your e-mail programm. The thing is 12 Megs.

PostPosted: Tue Jun 06, 2006 8:08 am
by Diana Kennedy
I had a new abnormal programm termination:

Image

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?

PostPosted: Tue Jun 06, 2006 10:14 am
by Fuzzy
if that is pasted right from your code, the line:
Code: Select all
angle = direction(x, y, reiter2 .x, reiter2 .y);


...contains spaces between reiter2 and .x and reiter2 and .y. Do you see what I mean?

PostPosted: Tue Jun 06, 2006 10:25 am
by Diana Kennedy
ThreeFingerPete wrote:if that is pasted right from your code, the line:
Code: Select all
angle = direction(x, y, reiter2 .x, reiter2 .y);


...contains spaces between reiter2 and .x and reiter2 and .y. Do you see what I mean?


:oops: no...dost mean those spaces are not good? (I took this code as it was provided in the Forum)

PostPosted: Tue Jun 06, 2006 10:37 am
by Fuzzy
I would suspect that of causing an error of some sort, sooner or later.

The GE compiler might get confused as to which actors X and Y that is.

PostPosted: Tue Jun 06, 2006 11:55 am
by Diana Kennedy
Ok. I corrected this. Let's see if it works better now. Thanks a lot!!

PostPosted: Tue Jun 06, 2006 1:27 pm
by Diana Kennedy
Hm. The corrections didn't make an apparent difference. And still, the little ghost gets stuck on the middle of the rider, when coming from the botom of the screen. :?