Scirra game on mobile platforms

For developers using the Construct 2 Javascript SDK

Post » Fri Mar 09, 2012 11:29 am

Hello there,

Just registered and with Scirra after trying out the software to make a basic HTML5 and js game.

Would like to know if anyone has made any games compatible for mobile platforms and if it would work ok with the jquery mobile infrastructure? i.e are there any .js clashes to unpick later down the line, etc.

thanks A

B
2
Posts: 1
Reputation: 252

Post » Fri Mar 09, 2012 4:17 pm

@lxm7 : worked with iOS, iPhones and iPads for a client, with C2.
For optimal performances : don't use physics and no viewport/texture, anything graphical over 1024x1024 (the viewport is flattened as an OpenGL texture by the system, so you don't wan to force the GPU to create another texture).
If you create an app with PhoneGap, or asking the user to create a bookmark on the Homescreen, remember that the Nitro Javascript engine isn't activated for those use cases, so it's going to be slower.
On mobile : only one sound at a time and preload lag for that sound, so you perhaps need to use an audiosprite.

That's what I'm thinking for the moment...
B
33
S
9
G
6
Posts: 709
Reputation: 6,704

Post » Sun Mar 11, 2012 4:08 pm

jQuery Mobile says it's built on top of the standard jQuery and requires you include jQuery first to use it - since C2 games already include jQuery it should be fine, just include jQuery Mobile on top of that.
Scirra Founder
B
359
S
214
G
72
Posts: 22,951
Reputation: 178,578

Post » Wed Jul 25, 2012 12:21 am

Hi Pode,

When you say "don't use physics," is there a way of totally deactivating them or do you just not use any?

Cheers
B
20
S
3
G
4
Posts: 77
Reputation: 3,346

Post » Wed Jul 25, 2012 12:24 am

@slw666:
You just don't add the physics behaviour to any objects.
B
27
S
8
G
8
Posts: 903
Reputation: 8,452

Post » Wed Jul 25, 2012 12:29 am

Thanks Nimtrix
B
20
S
3
G
4
Posts: 77
Reputation: 3,346


Return to Javascript SDK

Who is online

Users browsing this forum: No registered users and 0 guests