=== HoweScape Unity3d WebGL === Contributors: pthowe Donate Link: http://HoweScape.com Tags: Requires at least: 4.0.0 Tested up to: 4.7.2 Stable tag: 3.0 License: GPLv2 or later License URI: http://www.gnu.org/licenses/gpl-2.0.html Plugin to allow the inclusion of a Unity3d WebGL application. A short code is created which can displayed. == Description == The Unity3d WebGL support creates a directory of files. This is not convent to load on your WordPress web site. This plugin takes the "Release" directory from your game and places it inside the plugin. When compiling the output directory need to be "Builds_WebGL". This plugin can then be referenced from with a short code. The parameters in the short code are the game name and the width and height. ie. [hs_unity3d_web_gl_game src="Roll-A-Ball" height=500 width=600] To extend the support for Unity3d to version 5.5.1 an additional parameter has been added. This parameter allows the specification of a version. The version support is 5.5.1 or the original version supported by the plugin. (ie. original version 5.3.1) The Unity3d version 5.5.1. creates a directory "Development". This is what I have uploaded in the included example. (ie. Roll-A-Ball-5_5_1-Release) The short code is now looks like the following example. ie. [hs_unity3d_web_gl_game src="Roll-A-Ball" height=500 width=600 u3dver=5.5.1] All other features should work as before. There are other features being considered please let me know if you desire anything functionality. With the addition of the settings page it is now possible to place the release directory in a zip file. (ie. <gamename>-Release.zip) Once the file is uploaded the setting page for the plugin will allow extraction of the files into a location which the short code can locate. When naming games from version 5.5.1 you will need to include the version number. (ie. <gamename>-5_5_1-Release.zip) With this version place the files from the Development directory in the zip file. == Installation ==
Yes Take the release directory from Unity3d Build directory and place in the plugin directory. Prefix the release directory with the name of the game ending in "-Release" The game name then is used in the short code.
Yes. Each game is in its own <gamename>-Release directory
There are currently two games in the delivered plugin.
Yes, In the media directory
The settings page allows games to be extracted into the plugin.
The arrow keys allow movement of the ball to collect the cubes.
Arrow keys move ship.
Mouse button fires gun. Mouse needs to be in window.
"An error occured running the Unity content on this page."
"The error was: uncaught exception: incorrect header check"
When I compiled my Unity3d game I used "Builds_WebGL" as the directory. This seems to be a requirement of the plugin.