- Home /
Google play games in Javascript?
Hi all, when I almost finish my game in JavaScript (I choose JavaScript because, my background programming language based on Java and Js.) then I decided to add Google play games feature so far so good. However, I realized that Google Play Games plugin written in C#, what should I do now? I googled already this issue before I asked in, but I did not find useful information. Is there a possible to run both scripts in JS and C#, for example I have a 5 scripts some of them in JS some of C#. or Is this possible to C# class in JS file?
Answer by FairGamesProductions · Nov 15, 2014 at 01:38 AM
You can have both types of scripts in a game running simultaneously. I have about a dozen of both running in my game demo.
Ok, but this is not recommended I think so, I convert my JS file into C# using this tool. http://www.m2h.nl/files/js_to_c.php
I have never heard that... $$anonymous$$y game runs smoothly with no conversion... Plus, personally, i HAAAAATE C#
I've always found it messy and unclear.
I changed my main menu script. I try to add google play services now. I hope it works.