Yea, sadly. JavaScript is very, VERY manipulable.
The essence of game design:
"Propaganda Games: Sesame Credit - The True Danger of Gamification"
Develop games in your browser. Powerful, performant & highly capable.
Or you can use a time API to retrieve time from a server.
What unit is your coordinate returned in? Or are you having trouble getting that?
You can't, unless your text file is in JSON format.
Like:
{"c2array":true,"size":[3,2,1],"data":[ [ [300],[25] ], [ [100],[50] ], [ [800],[10] ] ]}
Maybe make another small, invisible sprite named attachPointForSpriteX and pin it to Sprite X. Then pin your Sprite Y to the attach point for Sprite X.
There are lots of options for third party servers, but you need to learn server-side coding to make use of them.
There are a few non-programming answers like Parse.com, but I know how to program in Java, so this was never an issue for me.
You have to use the WebSocket plugin to send messages after establishing a connection to their websocket server.
Then you simply push messages in the appropriate JSON format. You can use different plugins on C2 to build JSON, like Dictionary, rex Hash, rex JSON builder, etc.
As far as loading and using JSON, you can use rexrainbow 's Hash plugin or the C2 Dictionary object.
For loading/saving JSON files on the users computer, you have to use the File Chooser.
How do I use the file chooser?
Ah, yea, see they already locked their timeAPI down behind an authentication wall. I'll leave ours open to the public.
No, it is true. We are building a ******** strategy game. Pokemon GO is a light hearted real world exploration overlay collection game. The two genres have very few players overlapping, I would imagine. Our game lends itself to egotistical control freaks, while Pokemon GO lends itself to social lost souls.
Maybe try Merriam-Webster's Dictionary API?
You still have to register with them and get an API key, then use that key in your AJAX requests to them.
http://www.dictionaryapi.com/
Member since 4 Mar, 2014