step1: Build your game into web player
-> 2 file will be created, example web1.html, web1.unity3d
step2: upload your file to your webhosting server
-> example, web1.html and web1.unity3d this 2 file you put into your webserver root
step3: make sure you can play the game
-> let say your domain name is www.haha.com, make sure you can play the game by www.haha.com/web1.html
step4: if you want to put the game inside your blog post where you can type a lot of stuff on top and bottom of the games, you can install the plugin first
step5: download plugin
-> https://wordpress.org/plugins/iframe/
step6: install plugin
-> copy the iframe.php into your wordpress plugin folder
-> then login to your wordpress plugin and click activate
step7: use the plugin to display your game on your blog post
[iframe src="http://www.haha.com/web1.html" width="700" height="600"]
(so here you can adjust the screen size and put it on whatever place you want)
No comments:
Post a Comment