AppMobi Not working

Discussion and feedback on Construct 2

Post » Sat Jun 30, 2012 5:22 am

The game plays fine on the simulator in PC. But after trying it on my iPhone, all I see is black screen.

What am I doing wrong?
B
10
S
2
Posts: 79
Reputation: 1,122

Post » Sat Jun 30, 2012 5:57 am

It's a known issue, it's already posted on some thread with your same problem.

I don't know when they will fix it.
B
96
S
25
G
20
Posts: 3,052
Reputation: 22,638

Post » Sat Jun 30, 2012 7:17 am

But how does it works well for some people and not for others?

Is there a work around this?
Is there any other tools like AppMobi which can boost performance?
CocoonJS is not an option because it needs Mac to test on iOS and needs a paid version of Construct 2.
B
10
S
2
Posts: 79
Reputation: 1,122

Post » Sat Jun 30, 2012 7:30 am

Maybe they have android.

AppMobi and CocoonJS are experimentals, not as 100% support. I don't think there a workaround this.

There no other tools can boost performance like PhoneGap.

Blame to Apple for refusing CocoonJS on appstore. I was hoping they can release an .ipa for jailbroken devices, i'm not sure they will do.

We have only one option... patience.

B
96
S
25
G
20
Posts: 3,052
Reputation: 22,638

Post » Sat Jun 30, 2012 10:46 am

Are you using some custom plugins? Directcanvas sometimes doesn't like them.
B
11
S
3
Posts: 224
Reputation: 2,028

Post » Sat Jun 30, 2012 10:52 am

[QUOTE=Knifegrinder] Are you using some custom plugins? Directcanvas sometimes doesn't like them.[/QUOTE]
Yeah, I am. Thanks for letting me know. I'll remove them and let you know if it's works

EDIT: OMG! Thanks, it's working now!
While I'm here, I have another question:

1. If my main aim is to develop the game for iPhone/Android devices, Is it bad to use big sprites? (I created big sprites so that it looks good on retina display iPad's too) Will it reduce my performance?

2. My tiled - background image turned into a white image. I know that appMobi is in beta. But to those who've created their games using appMobi, is there a way to get around this?

3. What are some fundamental suggestions to make a game that runs smoothly on mobile devices?thesecretweapon2012-06-30 11:37:34
B
10
S
2
Posts: 79
Reputation: 1,122

Post » Mon Jul 02, 2012 4:07 am

Same problem here! Works beautifully in the appmobi emulator (Directcanvas is fast!) but the local and testanywhere screens are just blank and white. I'm not using any plugins that I know of... (would i know?)

I'm new to Construct2 (R97) and I think my game is pretty simple. I don't have any text objects or physics in it..

If anyone has had better luck or tell me what to look for please post!

B
8
S
1
G
3
Posts: 7
Reputation: 2,773

Post » Mon Jul 02, 2012 1:37 pm

I'm pretty sure that larger sprites will impact the performance of your game, but in the interest of having one code base to "run them all" you might be okay with that.

As for the background image, since the background of your HTML page is set to "transparent" in order to see the directCanvas layer below, the background image could be invisible if you set it using CSS.

Also, although the XDK doesn't require it be sure to use the present() method of the context object to tell directCanvas to actually write to the screen.

http://www.appmobi.com/documentation/gamingAPI/directCanvas/window/Canvas/context/present/index.html



B
2
G
1
Posts: 4
Reputation: 458

Post » Mon Jul 02, 2012 9:43 pm

Do you have to pay to use appmobi exporter?
An I missing something, because I cant seen to activate the exporter here?
B
38
S
8
G
3
Posts: 438
Reputation: 6,869

Post » Tue Jul 03, 2012 1:44 am

thesecretweapon - I got around the tiled background problem by deleting and just making my background one large sprite! It looks good in the emulator but I'm still having the white screen issue. I suppose that will not work if you really need the background tiled...

sheepy - I would make sure you have the latest version of construct2. Appmobi should be in the dropdown box at the top when you go to export.

I think im in love with Construct2 :0
B
8
S
1
G
3
Posts: 7
Reputation: 2,773

Next

Return to Construct 2 General

Who is online

Users browsing this forum: Arima and 6 guests

cron