AppMobi (again) I don't understand where we are

Get help using Construct 2

Post » Sun Feb 12, 2012 10:13 am

I almost finished a game that with painful optimization get more than 20fps on an iphone4 with ios5. I would really like to be the first to publish a construct2 game on the appstore, and I think that it would be an amazing advertisment for construct2 but I'm really on the edge performance wise and I would like to add some nice graphical effects, for this reason I would like to get appmobi running but I don't understand a few issues.


1) Reading the forums, it looks like at the current state appmobi offers a boost in performance, at the same time Ashley said that currently construct2 doesn't support directCanvas something doesn't add up then.. can someone clarify? The way I knew this is that phonegap and appmobi are the same apart from directcanvas. I would like the direct experience of someone who played with it and has an appmobi licence.

2) How do you test on appmobi, I planned on making a plugin, but testing means, "compiling" in construct2, loading the project on appmobi sdk then testing on the iphone, it's a little time consuming? Especially considering that there is no real way to try before buying and shelling out 99$ for something that it may not work is not my cup of tea.

3) @Ashley am I allowed with an indie licence to modify the js code that construct produces, I played with it without minifing it and other than being a little complex to figure out, It may be a nice solution for appmobi for integrating its functionality without the need for plugins.

4) What exactly is construct2 reading with accelerationXwithG? Is this property consistent across device with accelerometers?


Thank you very much
B
29
S
9
G
6
Posts: 525
Reputation: 8,294

Post » Sun Feb 12, 2012 11:32 am

1) as directcanvas is not yet supported by construct, you'll get probably around 10fps if your game uses rotating sprites, some effects or opacity for sprites.

2) i test on android, not iphone, so there's no need to buy 99$/year dev account. but from what I hear there are some hacky ways to install a iphone app dev account, google :)

4) on my phone it reads nothing. I use appmobi's javascript api to read accelerometer and read it with call javascript plugin.
B
81
S
50
G
10
Posts: 555
Reputation: 13,009

Post » Sun Feb 12, 2012 11:55 am

1) 10fps what? Of increase? It's the same as phonegap?
2) I'm not talking about the apple account, as I already have one, I'm talking about the appmobi one, as far as I know there is no way to test on the iphone without having an account with them or am I missing something here?
4) Can you share the plugin?
B
29
S
9
G
6
Posts: 525
Reputation: 8,294

Post » Sun Feb 12, 2012 1:03 pm

4) ranma talks about the third party plugin 'call javascript'
Look at this
B
44
S
12
G
13
Posts: 628
Reputation: 10,471

Post » Sun Feb 12, 2012 1:26 pm

10 fps overall. And yes. You're missing something. You don't need an app mobi account. Google something like getting started with appmobi.
B
81
S
50
G
10
Posts: 555
Reputation: 13,009

Post » Sun Feb 12, 2012 1:56 pm

I see, I got the wrong xdk.. basically appmobi is free then.. good to know. Tested, no difference in performance between appmobi and local preview.
B
29
S
9
G
6
Posts: 525
Reputation: 8,294

Post » Sun Feb 12, 2012 6:12 pm

We're aiming to improve AppMobi support over the next few releases and we hope to improve mobile performance too with DirectCanvas for iOS and possibly some other technologies for other platforms. We're aware it's a problem and we'll do our best to improve performance on mobile.

[QUOTE=0plus1]2) How do you test on appmobi[/quote]
You do have to export each time. Hopefully you can make do with preview-on-LAN during development then just export once for AppMobi at the end.

[quote]@Ashley am I allowed with an indie licence to modify the js code that construct produces[/quote]
Yes but this is impractical compared to using the SDK. I would *highly* recommend using the SDK for any custom javascript.

[quote]What exactly is construct2 reading with accelerationXwithG? Is this property consistent across device with accelerometers?[/quote]
It's based on a standard so it should be consistent across all devices. More info in the documentation.
Scirra Founder
B
359
S
214
G
72
Posts: 22,952
Reputation: 178,600

Post » Sun Feb 12, 2012 6:26 pm

@Ashley am I missing something here? :)

[QUOTE=Ashley]
[quote]What exactly is construct2 reading with accelerationXwithG? Is this property consistent across device with accelerometers?[/quote]
It's based on a standard so it should be consistent across all devices. More info in the documentation.
[/QUOTE]

does this work? why am I reading 0 with every accelerator value?
B
81
S
50
G
10
Posts: 555
Reputation: 13,009

Post » Sun Feb 12, 2012 9:12 pm

It depends on the device. Not all devices support it. What are you testing on?
Scirra Founder
B
359
S
214
G
72
Posts: 22,952
Reputation: 178,600

Post » Sun Feb 12, 2012 9:18 pm

app mobi's emulator + android nexus one. works on neither.
B
81
S
50
G
10
Posts: 555
Reputation: 13,009

Next

Return to How do I....?

Who is online

Users browsing this forum: 99Instances2Go, Colorfish, zenox98 and 27 guests