Again, something strange happens. But this one, definetaly worths checking out!
cbt
Member Posts: 644
This games is just drives me crazy..
----
I have an actor "Ship". When "Ship" collides with "A" or "B", it changes "level_failed" to true and repositions at X:240 Y:160.
At least this is what rules say.
I place the ship, where it doesn't collide with anything. But when scene starts, "level_failed" suddenly changes to "true". And my ship goes somewhere I can't see.
Than I thought, maybe something else changing "level_failed" to true. I removed all rules on the ship about colliding and failing. Than, when I play it, it is all OK. So, my ship somehow thinks it is colliding with "A" or "B" but it is NOT. And moves to some position I can't see.
So, I'm smart (!), I made an actor to show ships X and Y coordinates, so I know where ship goes instead of 240 and 160.
Here is the strangest thing!
Display text results;
nan,nan
---
Now, ship has NO "Destroy" behavior. Nothing has. And no broken rules as far as I can say.
Where the hell is my ship going? And why the hell "level_failed" changes to true?
----
I have an actor "Ship". When "Ship" collides with "A" or "B", it changes "level_failed" to true and repositions at X:240 Y:160.
At least this is what rules say.
I place the ship, where it doesn't collide with anything. But when scene starts, "level_failed" suddenly changes to "true". And my ship goes somewhere I can't see.
Than I thought, maybe something else changing "level_failed" to true. I removed all rules on the ship about colliding and failing. Than, when I play it, it is all OK. So, my ship somehow thinks it is colliding with "A" or "B" but it is NOT. And moves to some position I can't see.
So, I'm smart (!), I made an actor to show ships X and Y coordinates, so I know where ship goes instead of 240 and 160.
Here is the strangest thing!
Display text results;
nan,nan
---
Now, ship has NO "Destroy" behavior. Nothing has. And no broken rules as far as I can say.
Where the hell is my ship going? And why the hell "level_failed" changes to true?
Comments
I don't need an answer anymore but, I really wonder your opinions about this one!
Ace
P.S: I now am sure it is an engine bug. A HUGE and disturbing one. Everything is OK in the game UNTIL I open up the "Ship" actor. Even if I DON'T change anything, the problems starts again. Just looking inside an actor can break a game. That is what I learned today..
Edit;
P.S2: It is only behaving strange in preview mode and in "on-screen-preview-thingy". All OK in the device.