Embedding game in phonegap app

Get help using Construct 2

Post » Wed Feb 05, 2014 10:30 pm

Hello,

I'm making phonegap app on ios, with some games in. The structer is based on angular, and what I want to do is open diffrents games in appropriate view. GameOne in viewOne, GameTwo in viewTwo etc. Each game is store in its own directory. e.g. games/GameOne

So I was thought, that i can add c2runtime.js to the DOM on current view, and fire game, but on ios it's not working. The problem is that script is looking for resources in root of app, instead in game directory. e.g app/static/sample.png -> app/games/gameOne/static/sample.png (correct).

How can i do this ? Is it possible ?

If i remember correclty it was working in browser...misterd2014-02-05 22:48:14
B
1
Posts: 2
Reputation: 129

Post » Fri Feb 07, 2014 7:51 am

Thanks for your help, scirra sucks
B
1
Posts: 2
Reputation: 129

Post » Fri Feb 07, 2014 6:18 pm

If nobody has done it, you expect someone to have a magical answer? Or would you prefer a bunch of people to reply with "I don't know?". Your attitude won't get you much help.
B
49
S
12
G
10
Posts: 1,833
Reputation: 14,603


Return to How do I....?

Who is online

Users browsing this forum: MadSpy and 8 guests