[BUG] Physics behavior

New releases and general discussions.

Post » Fri Dec 24, 2010 12:58 pm

When doing my game I've encountered this problem. It was supposed to be 6 levels game, so I've made a .cap for each level, than opened 1st .cap and added layout and event sheet from the 2nd cap. It's worked until I've wanted to add an another sprite. When using debugger, it gives me error in the Physics plugin.
http://dl.dropbox.com/u/10457408/Constr ... nt/bug.rar
ImageImage
B
25
S
6
G
8
Posts: 773
Reputation: 6,643

Post » Sat Dec 25, 2010 7:10 am

Construct doesn't currently support copying things between .cap files.
B
4
S
1
G
5
Posts: 98
Reputation: 1,648

Post » Sat Dec 25, 2010 11:35 am

Aha, didn't know that. Hope it's going to get fixed until 1.0. Thanks
ImageImage
B
25
S
6
G
8
Posts: 773
Reputation: 6,643

Post » Sat Dec 25, 2010 10:43 pm

It sort of does.
B
11
S
3
G
8
Posts: 473
Reputation: 4,569

Post » Sun Dec 26, 2010 12:00 am

Even if it seems to work, it might mess up stuff that isn't apparent. It's an unfinished feature, and as such shouldn't be used.

Don't take the risk, don't copy stuff between .caps.
Moderator
B
88
S
32
G
33
Posts: 3,005
Reputation: 27,432

Post » Sun Jan 16, 2011 7:11 pm

I've found that it causes a crash when too many physics objects are placed overlapping each other. Your cap can be fixed by removing this action from event 3 of "Layout 3 Events":
[code:2iua7hjq]-> CloudsPlatform: Set position to Present.X, Present.Y + 25
[/code:2iua7hjq].
B
79
S
24
G
54
Posts: 4,746
Reputation: 40,755

Post » Mon Jan 17, 2011 3:04 pm

[quote="R0J0hound":2682iwvc]I've found that it causes a crash when too many physics objects are placed overlapping each other. Your cap can be fixed by removing this action from event 3 of "Layout 3 Events":
[code:2682iwvc]-> CloudsPlatform: Set position to Present.X, Present.Y + 25
[/code:2682iwvc].[/quote:2682iwvc]

I don't remember why I left it there, it has no logic, thanks
ImageImage
B
25
S
6
G
8
Posts: 773
Reputation: 6,643


Return to Construct Classic Discussion

Who is online

Users browsing this forum: No registered users and 3 guests