iOS Intel XDK experiences

Discussion and feedback on Construct 2

Post » Sat Aug 22, 2015 6:49 pm

@grigrizljac

1_ Do you set the "fullscreen" in the C2 too?
2_ Use the Cranberry Phonegap Screen Orientation Portrait plugin to fix it
3_ I could never fix this issue
4_ I believe the cordova icon doesn't appear in the final app
B
74
S
13
G
3
Posts: 995
Reputation: 7,531

Post » Sun Aug 23, 2015 6:25 am

RenatoB wrote:@grigrizljac

1_ Do you set the "fullscreen" in the C2 too?
2_ Use the Cranberry Phonegap Screen Orientation Portrait plugin to fix it
3_ I could never fix this issue
4_ I believe the cordova icon doesn't appear in the final app

Thanks for your suggestions.

What did you mean by 1_? I have "Fullscreen in browser" set to "Scale outer".
2_ So I just add a third-party plugin to XDK, with ID cordova-plugin-screenorientation-portrait and source https://github.com/cranberrygame/cordova-plugin-screenorientation-portrait?
4_ Which final app?

Thanks
B
32
S
7
G
4
Posts: 397
Reputation: 4,589

Post » Sun Aug 23, 2015 9:22 am

do i just install the third party plugin to keep it on portrait mode or do I also have to input a certain code in the index.html?
B
17
S
4
Posts: 52
Reputation: 1,031

Post » Sun Aug 23, 2015 12:53 pm

grigrizljac wrote:What did you mean by 1_? I have "Fullscreen in browser" set to "Scale outer".


I meant about this option. I normally uso "Letterbox Scale" to keep the ratio.

grigrizljac wrote:2_ So I just add a third-party plugin to XDK, with ID [i]cordova-plugin-screenorientation-portrait and source https://github.com/cranberrygame/cordova-plugin-screenorientation-portrait?[/i]


You'll need to install this plugin in C2 and insert it in your project (if you haven't done)

grigrizljac wrote:4_ Which final app?


After your build it using the Intel XDK
Last edited by RBuster on Sun Aug 23, 2015 12:59 pm, edited 1 time in total.
B
74
S
13
G
3
Posts: 995
Reputation: 7,531

Post » Sun Aug 23, 2015 12:58 pm

@llfstudios

It's not necessary to do anything in your index.html.

Install the plugin in C2 and insert it in your project.
B
74
S
13
G
3
Posts: 995
Reputation: 7,531

Post » Sun Aug 23, 2015 5:49 pm

RenatoB wrote:
grigrizljac wrote:What did you mean by 1_? I have "Fullscreen in browser" set to "Scale outer".


I meant about this option. I normally uso "Letterbox Scale" to keep the ratio.

grigrizljac wrote:2_ So I just add a third-party plugin to XDK, with ID [i]cordova-plugin-screenorientation-portrait and source https://github.com/cranberrygame/cordova-plugin-screenorientation-portrait?[/i]


You'll need to install this plugin in C2 and insert it in your project (if you haven't done)

grigrizljac wrote:4_ Which final app?


After your build it using the Intel XDK

I have Scale Outer, so I can easily avoid black edges, I can position things as I want.

I can't find the plugin, could you please post the URL?

The wrong (Cordova) icon shows when the app is built and then downloaded from App Store in Spotlight Search, Settings -> Usage and in App Switcher. However, I've seen that this icon is somewhere in the .ipa file, so I'll change it manually each time I build the app.

Thanks.
B
32
S
7
G
4
Posts: 397
Reputation: 4,589

Post » Mon Aug 24, 2015 9:36 pm

I believe you have to buy the @cranberrygame plugin package. Send a PM to him.
B
74
S
13
G
3
Posts: 995
Reputation: 7,531

Post » Tue Aug 25, 2015 9:00 am

RenatoB wrote:I believe you have to buy the @cranberrygame plugin package. Send a PM to him.

Ok, I've PM-ed him, but the plugin is paid. I don't think it's sensible to first buy C2, and then plugins, just because there are bugs in Intel XDK or C2 ...
@Ashley, are these (hide Status Bar on iOS doesn't work & Portrait orientation lock doesn't work on iPad) C2 bugs? Or, @imaffett, are these Intel XDK/Cordova bugs?

Thanks.
B
32
S
7
G
4
Posts: 397
Reputation: 4,589

Post » Thu Aug 27, 2015 6:38 pm

Finally fixed status bar \o/
Add this code to your loader/first layout:
System|On Start of Layout -> execute javascript
Code: Select all
"intel.xdk.device.hideStatusBar();"

EDIT: it doesn't seem to work :/
Last edited by grigrizljac on Mon Oct 05, 2015 3:34 pm, edited 3 times in total.
B
32
S
7
G
4
Posts: 397
Reputation: 4,589

Post » Tue Sep 01, 2015 11:20 pm

xdk v2366 is making iOS games run a lot slower than before. I submitted a game to Apple before the 5th of august and it ran good even with ads but now it is unacceptable. I can't send the latest game update if it runs this slow I even rebuilt the old game version to see if it was any of the new stuff I added that caused the lag but nope it ran slow as well. is there a way to go back a version or two?

is anyone ells having the same issue?
B
9
Posts: 30
Reputation: 389

PreviousNext

Return to Construct 2 General

Who is online

Users browsing this forum: No registered users and 9 guests