• Hey Guest! Ever feel like entering a Game Jam, but the time limit is always too much pressure? We get it... You lead a hectic life and dedicating 3 whole days to make a game just doesn't work for you! So, why not enter the GMC SLOW JAM? Take your time! Kick back and make your game over 4 months! Interested? Then just click here!
  • Hello [name]! Thanks for joining the GMC. Before making any posts in the Tech Support forum, can we suggest you read the forum rules? These are simple guidelines that we ask you to follow so that you can get the best help possible for your issue.

HTML5 How to see a user's user agent in GMS1.4?

Perad921

Member
I am making a HTML5 game. I wanna add a warning that says "you are using a old browser", etc

How can I do this?
 

chamaeleon

Member
Write Javascript code, implement an extension using this code, and call your extension function. Or simply use the Javascript to determine in your HTML page whether to include the div block containing your game at all.
 

YellowAfterlife

ᴏɴʟɪɴᴇ ᴍᴜʟᴛɪᴘʟᴀʏᴇʀ
Forum Staff
Moderator
You don't have to do anything for "you are using an old browser" - GameMaker will show a message automatically if your game cannot run.

For the rest, see
 
Top