Load c2canvas on other page

Get help using Construct 2

Post » Thu Jun 20, 2013 12:26 am

hello guys,

I have a huge problem, i need to include my game in a page that is outsite my project folder.

main/mypage.php
main/games/mygame

That's my configuration, I changed the includes in the index.hmtl that C2 builds and I managed to get the game running, but my media is missing, all i have is text, and generated content, my images are not loading.

I cannot use an iframe, because for some unknown reason I can't use AJAX post, my reuqest works beautiful but the post is not going to work from an iframe.

Any idea is welcome. Thank you.
B
15
S
3
G
2
Posts: 42
Reputation: 2,412

Post » Thu Jun 20, 2013 1:32 pm

The best way to do this is to use an iframe. It shouldn't break AJAX if it's running on the same origin.
Scirra Founder
B
397
S
236
G
88
Posts: 24,420
Reputation: 194,544


Return to How do I....?

Who is online

Users browsing this forum: No registered users and 29 guests