Playmaker Forum
PlayMaker Help & Tips => PlayMaker Help => Topic started by: phannDOTde on January 08, 2014, 08:49:29 PM
-
Is there any simple Way to figure out if a Scene/Project is running in a Webplayer, Standalone or any other Device? Something like getting "System" Data?
Would appreciate any hints on this. Thanks in advanced.
cheers
Peter
-
I'm pretty sure you would just have to build separate projects for web, standalone or mobile and then put separate FSMs in for whatever you want to do.
-
I just want to clamp the aviable Levels for the Webversion and not make seperate builds on my Pre-Alpha if it isnt neccesary.
-
You'll have to make separate builds.
At that point you can just remove the Scenes you don't want from the build menu.
-
Thanks for your answers.
cheers
Peter
-
Hi,
If you only want to constraints the kind of levels a user can do ( but not constraint by unsupported features for a specific level), then you can build with the all the levels and simply list only the ones available for that platform.
A Custom action can be created to send events based on the platform, can you get back to me next week on this and I'll do one.
bye,
Jean
-
Hi Jean,
just a reminder - if you find time for this would be awsome :-)
have a great week
Peter
-
Hi,
Please bump me again next week :) Thanks for your patience, I am so running behind!!
Bye,
Jean
-
Hey Jean,
hope youre had a nice weekend - here comes another bump on this Topic; please look in to it, would be very helpfull.
greets
peter
-
Hi,
Here we go, it will do a lot more than just checking if you are running on a webplayer, but essentially, this action will let you send events based on the platform and various platform dependant flags.
http://hutonggames.com/playmakerforum/index.php?topic=6105.0
bye,
Jean
-
Great Job - thank you so much :-)
greets
Peter
-
Hey Jean,
I finaly found time toimplement this and it works mostly ok but when I add multiple Plattforms to test it seems that "Webplayer" isnt triggered - did a workaroud where I jump out of the state if it's standalone/editor and if not continue to the webplayer stuff - that work but I just would like to inform you that there might be an issue with checking "Webplayer" in this Action.
cheers
Peter
-
Hi,
Indeed, I forgot to add this case... d'oh :) I have update the original post, please re download.
Thanks for spotting this!
bye,
Jean
-
Hey Jean
is it me or did you forget to put up the download link?
cante find it here http://hutonggames.com/playmakerforum/index.php?topic=6105.0
cheers
Peter
-
Hi,
I have issues with attachments... sorry... can't seems to work ( nor searching the forum)
bye,
Jean