Hundreds of features to explore
Games made in Construct
Your questions answered
Popular & trusted by schools and Universities world-wide
Construct 3 runs in the browser & works offline
Students do not need accounts with us
Our educational partners
Free education resources to use in the classroom
World class complete documentation
Official and community submitted guides
Learn and share with other game developers
Upload and play games from the Construct community
Game development stories & opinions
^^
Why?
C2 exports javascript, so if you don't use minify, you can see the script in it's least obfuscated form, but it's still going to be difficult to edit the raw javascript.
I'm doing a college course and I need to put two games on a website and I am making my website using DreamWeaver
Would embedding the exported index.html in an iframe work?
I.e.
<iframe src="http://www.mywebsite/mygame/index.html" height="400" width="800"></iframe>[/code:3oozn1o1]
Would embedding the exported index.html in an iframe work? I.e.
<iframe src="http://www.mywebsite/mygame/index.html" height="400" width="800"></iframe>[/code:344jotuc]
Yes
— E Bear
I meant would it work for his purposes, not whether the code would work - I already knew it did
How would I do this? (Noob terms)
Develop games in your browser. Powerful, performant & highly capable.
This really isn't the appropriate website for discussing basic web design principles . A Google search on 'adding iframes' will be more beneficial, such as:
http://www.webstarts.com/support/2011/03/how-to-add-an-iframe-to-your-webstarts-website/
Or better still, try this tutorial from Ashley: https://www.scirra.com/tutorials/655/tips-on-publishing-html5-games-to-the-web which includes a bit about embedding using iframes.