playMaker

Author Topic: WebGL export is wrong  (Read 1661 times)

velketor

  • Junior Playmaker
  • **
  • Posts: 69
  • Multimedia Marathon Man
    • Shawn Kilian Portfolio
WebGL export is wrong
« on: March 12, 2017, 12:33:04 AM »
My game works fine in the Unity Editor and publishes fine as a PC stand alone.  However, when I publish as a WebGL game, it totally breaks.  My sprites don't animate.  Look at the ants in the following 2 short videos I recorded...

Here is the game working properly in the editor:
http://screencast-o-matic.com/watch/cbelht64mn

Here is the game not working properly in WebGL:
http://screencast-o-matic.com/watch/cbelhw64mj

Why is this happening?  I cannot figure it out.  Please help =)

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: WebGL export is wrong
« Reply #1 on: March 13, 2017, 01:53:21 AM »
Hi,

 are you using "Get property" and "Set Property" actions? if you do, then you'll need to use the Linker wizard ( on the ecosystem) to properly setup your Unity project.

 Bye,

 Jean

velketor

  • Junior Playmaker
  • **
  • Posts: 69
  • Multimedia Marathon Man
    • Shawn Kilian Portfolio
Re: WebGL export is wrong
« Reply #2 on: March 13, 2017, 08:08:06 PM »
Yes I am using Get Property and Set Property and I have already tried the Linker Wizard on the Ecosystem but it did not fix the issue.  Based on my experimentation, WebGL does not support sprite animations, even if they are simulated in PlayMaker using actions.

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: WebGL export is wrong
« Reply #3 on: March 15, 2017, 03:12:16 AM »
Hi,

 Can you explain what you mean by Sprite animations? is it a SpriteSheet or Sprites you  move around? and what technic are you using inside PlayMaker to animate them sprites? what are you accessing with SetProperty and GetProperty, maybe the linker wizard is missing some of these technics and could be updated to take that into account.

 what is the linker xml content created by the linker wizard?


 Bye,

 Jean