Phexion
Phexion

Reputation: 57

Embedding .exe in html

I need help to embed a game into HTML, If I did replicate the game in html, it`s complicated so is there any code to do it?

PS: It has to be an element in the site not opened in a new window

Upvotes: 0

Views: 5775

Answers (2)

Niet the Dark Absol
Niet the Dark Absol

Reputation: 324630

Extremely wild guess here, but if you made the game with Game Maker, there is GameMaker:HTML5 available, which allows you to take the same code as you wrote for the Windows EXE and export it to valid HTML5/JavaScript.

Aside from that, there is no way to embed an EXE into a webpage.

Upvotes: 1

C0deH4cker
C0deH4cker

Reputation: 4055

You cant embed an exe in html. You can either rewrite the game in a web-friendly language such as javascript, flash, or java, or you can just make it be a downloaded game. If exes were allowed to run from webpages, viruses would be even more prevalent than they are now.

Upvotes: 4

Related Questions