asm.js

Discussion and feedback on Construct 2

Post » Mon Dec 09, 2013 9:06 pm

Though it's generally not a bottleneck, I'm curious if non-physics collision detection could be sped up with asm.js. A prototype side scrolling shooter I fiddled with a while ago could have used it.
Moderator
B
94
S
33
G
33
Posts: 3,006
Reputation: 27,744

Post » Tue Dec 10, 2013 12:39 am

I just updated to iOS 7 , let me try that ... thanks
B
35
S
10
G
4
Posts: 250
Reputation: 7,908

Post » Tue Dec 10, 2013 5:40 am

Well I just tested Space Blaster on my Ipad iOS7 , yes works much much better. Thanks Ashley.
B
35
S
10
G
4
Posts: 250
Reputation: 7,908

Post » Tue Dec 10, 2013 6:36 am

@Arima
As for collision. C2 just needs to use a Quadtree system like
http://www.mikechambers.com/blog/2011/03/21/javascript-quadtree-implementation/

C2 uses a brute force. so when a check type is used C2 checks ALL of them. Where as a good quadtree is more effecient :) but i'm sure some day :)
B
90
S
18
G
9
Posts: 2,455
Reputation: 15,013

Previous

Return to Construct 2 General

Who is online

Users browsing this forum: The Mnk and 7 guests