=== 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 ==

From your WordPress dashboard

  1. Visit 'Plugins > Add New'
  2. Search for 'HoweScape Unity3d WebGL'
  3. Activate HoweScape Unity3d WebGL from your Plugins page.

From WordPress.org

  1. Download HoweScape Unity3d WebGL.
  2. Upload the 'HoweScape Unity3d WebGL' directory to your '/wp-content/plugins/' directory, using your favorite method (ftp, sftp, scp, etc...)
  3. Activate HoweScape Unity3d WebGL from your Plugins page.
== Frequently Asked Questions ==
  1. Can I use this plugin with my own Unity3d game?

    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.

  2. Can there be multiple games in the plugin?

    Yes. Each game is in its own <gamename>-Release directory

    There are currently two games in the delivered plugin.

  3. Can the games be placed outside the plugin?

    Yes, In the media directory

    The settings page allows games to be extracted into the plugin.

  4. How do I move the ball?

    The arrow keys allow movement of the ball to collect the cubes.

  5. How to play space Shooter.

    Arrow keys move ship.

    Mouse button fires gun. Mouse needs to be in window.

  6. My game does not work I get an error message.

    "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.
== Screenshots == 1. Screen capture of Roll-A-Ball game from unity3d.com 2. Screen capture of Roll-A-Ball game with updates to colors 3. Screen capture of Space-Shooter game from unity3d.com tutorials 4. Screen capture of error message caused by building to incorrect directory == Changelog ==

0.3.3

0.3.1

0.1.1

0.2

0.1

== Upgrade Notice == Second update to add settings page and support extract of game from media zip file. First update to correct file location references. Removed "Created with Unity" link. Being initial release there is no notice == Arbitrary section == == A brief Markdown Example == [hs_unity3d_web_gl_game src="Roll-A-Ball" height=500 width=600]