Tutorial: Construct 2 - How to embed your HTML5 project

preview_player
Показать описание
This tutorial explains how to embed/display your Construct 2 creation in/on your website with the use of an iframe. It is similar to the tutorial titled How to embed an HTML5 game on your website but gives a little more explanation.

This video is related to the written tutorial I uploaded here:

Please feel free to ask questions and leave feedback if you need any help or more information.

Please support my channel by subscribing. Alternatively you can follow me on twitter, share this video or visit my other sites.

Рекомендации по теме
Комментарии
Автор

That's great thanks!
Is there a way to detect non HTML5 browsers and serve a static graphic instead, something maybe that says 'You need to update your browser to...' with links to browser download pages?

digitalsketchguy
Автор

Hey digitalsketchguy, when you export your project with the HTML5 exporter. The message you mention above should automatically be generated into the exported webpage. Since the programme won't run if the browser can't run it, you have to have external html code to detect and place the image or message.

OakenseedStudios
Автор

Sorry I was being skeptical, I did found the link with other link with the page of the actual iframe code, and did worked when I embeded the game in my php page.

IPSPMAN
Автор

You need to host your game on your own server, or somewhere on the internet. Then when you put it onto Kongregate, you use the web url address to the index file in the html export. I hope that helps.

OakenseedStudios
Автор

Hi, if you click the link in the description, then go to the second page. There should be an example of the iFrame for you to copy and paste. I hope that helps.

OakenseedStudios
Автор

Hi English Acorn, Sorry for my english. When I export my game in HTML5 I have a problem. I enter to "index.html". I open with Google Chrome. But when I open the game, the game is black. Help Me! Thanks

tobiaskap
Автор

This video is a year old, which part are you talking about? Thanks.

OakenseedStudios
Автор

Hello when I open the page that hosts my game, do not charge it goes black

ProyectoEternidad
Автор

Please can you expand upon what you mean?

OakenseedStudios
Автор

YOU SKIPPED OVER THE PART ABOUT WHAT IF IT DON'T WORK!!!

jeremybailey
Автор

no he skipped the part of actually doing it ;p

IPSPMAN
join shbcf.ru