python script only runs once/ other issues

For questions about using Classic.

Post » Thu Nov 11, 2010 11:55 pm

Thanks for the example, I modified it a little so that the square wouldn't rotate. I'm having a few issues making the motion rotate more than 90 degrees, but I should be able to figure that out. Thanks for your help.
Edit: fixed the issue
Edit2: While it worked in your .cap, I can't replicate it in my .cap. Here's mine: pathfinding.cap.
B
2
G
2
Posts: 48
Reputation: 746

Post » Sat Nov 13, 2010 4:44 am

Move lines 3 and 71 into the start of layout block and it should work.
B
79
S
24
G
54
Posts: 4,747
Reputation: 40,757

Post » Sat Nov 13, 2010 9:06 pm

Thank you! :D After a few tweaks I got it to work perfectly. Now all I have to do is set up a way to get obstacles and optimize it.
B
2
G
2
Posts: 48
Reputation: 746

Previous

Return to Help & Support using Construct Classic

Who is online

Users browsing this forum: No registered users and 2 guests