Need help!

  • I uploaded my game to the dropbox and I can play it via dropbox link, but I still dont understand how to implement it to my website. Can someone tell me how to do that?

  • If you have a web site address hosted somewhere you should also have a way to add files to your site using an ftp program.

    You hosting company should have given you the login and password info.

    If you are "hosting" it via drop box, you upload it to the public folder. You can check out this tutorial Upload your game to Dropbox if you haven't already.

    The same set of files that you upload to Dropbox would be the same that you would ftp to your web site server.

  • I mean how can I implement it to the page, like youtube video etc?

  • What's your experience with HTML or CSS?

    If you open up the index.html file in a text editor it tells you via the comments what parts do what.

    If you want to "embed" your game, you have to make sure you have the proper resources and files linked. At that point, it's as simple as placing the c2canvas id where you want it to appear in your page.

    I fiddled around with embedding it on my site. I have the most basic example via my profile.

  • I have some basic knowledge in HTML and Ill try again... :)

  • This customise html tutorial from Kyatric may help as well.

  • You'll need to know HTML to be able to add the code to your own site. However, this probably isn't the place to learn it. Try searching for some tutorials!

  • For me, a contradiction

    Construct is for people without knowledge in coding , but then for the output you should learn HTML code.

    Actually ,I make my site with xara webdesigner.

    Now it is very inconvenient for me

    Flash is for me easier to use with an embed code.

  • We know that's a bit of a contradiction - we're working on some additional export options for future!

  • That would be nice ! <img src="smileys/smiley20.gif" border="0" align="middle" />

  • hello there,

    how can i embed a game made with c2 ? is it possible? i have strong knowledge of html and css, by the way i would like to generate a embed code for other sites that would place my game in their website, is it possible?

  • by the way i would like to generate a embed code for other sites that would place my game in their website, is it possible?

    Mostly because of cross-domain, I'd say it is not.

    You can always try to link to the JS from another website, but I'm pretty sure it will fail when trying to load/reach for the game's assets.

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • > by the way i would like to generate a embed code for other sites that would place my game in their website, is it possible?

    Mostly because of cross-domain, I'd say it is not.

    You can always try to link to the JS from another website, but I'm pretty sure it will fail when trying to load/reach for the game's assets.

    Make your game use 'fullscreen in browser' and upload it to your server somewhere.

    Then, on a different website, use an iframe of the game's intended size, and set the iframe URL to the game's URL. The game should fill the entire iframe with no annoying scrollbars.

    Finally, it's secure because browser cross-domain security limitations prevent the game accessing the page that is containing it.

    I haven't tried that myself but it ought to work!

  • Make your game use 'fullscreen in browser' and upload it to your server somewhere.

    Then, on a different website, use an iframe of the game's intended size, and set the iframe URL to the game's URL. The game should fill the entire iframe with no annoying scrollbars.

    Thanks for the tip. It works and is exactly what I wanted <img src="smileys/smiley20.gif" border="0" align="middle">

    By the way I use this code generator if someone need something like this

    http://www.meine-erste-homepage.com/iframe/iframe.cgi

  • vidi, would you mind sharing the link to the embedded game? Would love to see it in action!

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)