Game freezing when going throught portal?

For questions about using Classic.

Post » Fri Apr 11, 2008 8:59 pm

Hi, I'm having a problem whenever I touch one of my portals the game freezes and I force quit it.
http://www.mediafire.com/?wdodogbts5m
B
4
S
2
G
4
Posts: 164
Reputation: 2,178

Post » Fri Apr 11, 2008 9:15 pm

Why? Becouse you did an infinite loop, you have to disable changing position after touching portal with event like "Is overlaping & Touched_Orange=1 (some variable)"

Becouse it goes like this after touching one portal.
Player Touched Orange = Teleport to Blue
Player Touched Blue = Teleport to Orange

Infinite loop!

Edit:
On second though it's not the Infinite loop thats locks the game (yet its still buggy) but the fact that you want to teleport the player into Block.
B
4
S
2
G
4
Posts: 719
Reputation: 2,938

Post » Fri Apr 11, 2008 9:35 pm

So how would I fix my player teleporting into block.
B
4
S
2
G
4
Posts: 164
Reputation: 2,178

Post » Fri Apr 11, 2008 9:54 pm

By Creating Image point thats out of portal so there is no way of teleporting into Block.


Orange=Portal and DarkBlue=Player

Btw this ex. is made for 270 angle.
B
4
S
2
G
4
Posts: 719
Reputation: 2,938

Post » Fri Apr 11, 2008 10:06 pm

Thanks. But could you explain to not get an infinite loops in more detail.
B
4
S
2
G
4
Posts: 164
Reputation: 2,178

Post » Fri Apr 11, 2008 10:10 pm

Well now without touching the portals every time you teleport there should be no problem with that.
B
4
S
2
G
4
Posts: 719
Reputation: 2,938

Post » Fri Apr 11, 2008 10:25 pm

I just got another question kinda related. you can fire 2 portals somehow of the same type and I don't know whats causing it?
Also is there any way for the portals to go parallel with block?
B
4
S
2
G
4
Posts: 164
Reputation: 2,178

Post » Fri Apr 11, 2008 10:35 pm

1.)You have "Player Private Value 'Orange' greater than 1" it should be greater than 0
2.) "go parallel with block"???
B
4
S
2
G
4
Posts: 719
Reputation: 2,938

Post » Fri Apr 11, 2008 10:41 pm

So it would look like this when you fired the portal

instead of this
B
4
S
2
G
4
Posts: 164
Reputation: 2,178

Post » Fri Apr 11, 2008 10:47 pm

Simple, Properties -> Angle -> Rotations = N angles, and below change Rotation Count to 4.
B
4
S
2
G
4
Posts: 719
Reputation: 2,938

Next

Return to Help & Support using Construct Classic

Who is online

Users browsing this forum: No registered users and 3 guests