Google maps style API and GameSalad?

LokitoesLokitoes Member, PRO Posts: 187
edited September 2016 in Working with GS (Mac)

Hey all,

You'll have to excuse me as I'm not super good at JS or web development in general but I think the word I'm looking for here is 'API'... but correct me if I am wrong...

Has anyone ever made a GS game with a map api within it? (eg. a zoomable searchable map like Google maps that may or may not connect to your gps or the web). I imagine you have to publish your GS game as javascript, then take the javascript and insert the map into it manually? Does that sound like something that is possible?

I wouldn't be able to just insert it into GS as an image to be zoomed in on as the quality wouldn't be clear enough. I mean, I'm not using a map of the entire world, but I think I would still want a larger image than what GS can handle without blurring.

I'm interested in this as 'working with Mac' but also as 'iPhone and Android publishing' as I'm thinking of doing this both for desktop and for phone as two separate things. (Though turning the javascript into something publishable on phone might be another issue again...)

Cheers!

Comments

  • NNterprisesNNterprises Member, PRO Posts: 387

    I am 99.9999999999999999% sure that Gamesalad can't do that...

    "Other program" has a lot of easy map templates in their asset store. But you should learn C# if you want an app like that you'll need some sort of real coding experience.

  • LokitoesLokitoes Member, PRO Posts: 187

    I have a coder who can do the map for me since I don't really like the ones I've seen on github... I was kinda hoping I could give him the javascript output from gamesalad and have him insert the map into it, but I wouldn't want to make the whole game to find out that the two things aren't compatible.

  • NNterprisesNNterprises Member, PRO Posts: 387

    Oh yea that'd probably be a mess and wouldn't be compatible. I don't even know what Gamesalad exports. Real coders would know a lot more than me though.

  • jamie_cjamie_c ImagineLabs.rocks Member, PRO Posts: 5,772

    I believe the HTML export option creates a group of HTML and Javascript files. But the other export options don't create Javascript.

  • LokitoesLokitoes Member, PRO Posts: 187

    Ok I just had a better look and I think I've answered by own question. It looks like the game is either inserted through js (or maybe entirely translated into js? I'm not good at reading it), so really nothing pertaining to how the game works is in the css or html. So I think I will leave it alone. I'm sure it's possible but trying to use GS to effectively recreate map gps icon div tags in the right places might be a tad crazy...

Sign In or Register to comment.