Troubleshooting for publishing a game made with HTML5

Preparation to use

  1. How to publish HTML5/WebGL games on PLiCy
  2. About "Mini LP" -Comments feature with Screen shots
  3. About "iframe":

Preparation to use

How to publish HTML5/WebGL games on PLiCy
1. Contain js files in the .zip .
2. Set the launch page as "index.html".
3. Output the game screen with "canvas".

4. For drawing method

For "WebGL":
You must set the preserveDrawingBuffer to true
if the preserveDrawingBuffer is not true, you can not use the thumbnail shooting or "Mini LP".

Sample:
canvas.getContext('webgl', {preserveDrawingBuffer:true}) || canvas.getContext('experimental-webgl', {preserveDrawingBuffer:true});


For "Canvas2D":
There are no restrictions.
About "Mini LP" -Comments feature with Screen shots
In "Mini LP", when index.html has more than one canvas, the first one is used for the screen shot.
If the "canvas" is present as a multiple tag, there is a possibility that the screen shots are not taken.
So,Do not use a multiple of canvas as a general rule.
If you use the WebGL, please set the preserveDrawingBuffer property to true
About "iframe":
PLiCy does not have any acceptance of iframe format.