weird lag on physics blocks game

Get help using Construct 2

Post » Wed Jun 27, 2012 3:46 am

ok so im making this physics blocks game, i have an editor
i made something, i loaded it it worked fine
i made another one, not really bigger or anything ( same amount of blocks)

only when i run it it completely freaks out, and lags like nobodies business does this happen if objects with behavior are spawned overlapping or something? why does it do this?
B
9
S
4
G
3
Posts: 223
Reputation: 3,433

Post » Wed Jun 27, 2012 6:03 am

nobody else has had this problem ever?
B
9
S
4
G
3
Posts: 223
Reputation: 3,433

Post » Wed Jun 27, 2012 10:53 am

From Tips for posting in the 'How do I?' forum:

[quote]Provide a .capx of something you tried.[/quote]

[quote]Please allow 24 hours for a response. Replying with "can't anyone help?" after 20 minutes could be misconstrued as rudeness, since it is impossible all our forum visitors could have checked the thread in that time. If you're seeing a lot of views and no replies, don't forget we commonly have more search crawlers (e.g. Google) indexing the site than real users, so the views count may be inflated.[/quote]
Scirra Founder
B
359
S
214
G
72
Posts: 22,952
Reputation: 178,580

Post » Thu Jun 28, 2012 12:18 am

http://dl.dropbox.com/u/70111979/canon%20broken.capx

it spawns about 30 blocks
with 27 blocks on a previous level it was no problem, but now all of a sudden its lag city.
B
9
S
4
G
3
Posts: 223
Reputation: 3,433

Post » Thu Jun 28, 2012 12:19 am

my guess is objects are over lapping? and maybe its making the physics engine freak out?
B
9
S
4
G
3
Posts: 223
Reputation: 3,433

Post » Thu Jun 28, 2012 2:07 am

oh my second guess is the blocks in the middle are stuck in some kind of endless loop because they are constantly bouncing off of the surrounding blocks?


again just another guess.
B
9
S
4
G
3
Posts: 223
Reputation: 3,433

Post » Fri Jun 29, 2012 6:56 pm

my second question is, are physics canon games in?
( where you have a canon and you destroy physics walls)

I was going to make this one be futuristic, and have ragdoll people in side of the buildings
B
9
S
4
G
3
Posts: 223
Reputation: 3,433


Return to How do I....?

Who is online

Users browsing this forum: Baidu [Spider], DiabloOvermind, emoticon, MrWhizm, tarek2, WhosWho and 17 guests