Playmaker Forum
PlayMaker Help & Tips => PlayMaker Help => Topic started by: velketor 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 (http://screencast-o-matic.com/watch/cbelht64mn)
Here is the game not working properly in WebGL:
http://screencast-o-matic.com/watch/cbelhw64mj (http://screencast-o-matic.com/watch/cbelhw64mj)
Why is this happening? I cannot figure it out. Please help =)
-
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
-
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.
-
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