scofield Posted June 5, 2016 Share Posted June 5, 2016 Hello. Can I use CSS and other technologies (just like in general browser) in Chrome games? Just like this game, it is not opening external website after launching, it's just works in chrome opened window. So, the question is, can I use all browser technologies in such window? Quote Link to comment Share on other sites More sharing options...
bruno_ Posted June 5, 2016 Share Posted June 5, 2016 HTML 5 games run on a browser. CSS will work fine as long as the browser it is running supports it. The best way is to test it yourself. Umz 1 Quote Link to comment Share on other sites More sharing options...
WombatTurkey Posted June 5, 2016 Share Posted June 5, 2016 10 hours ago, scofield said: Hello. Can I use CSS and other technologies (just like in general browser) in Chrome games? Just like this game, it is not opening external website after launching, it's just works in chrome opened window. So, the question is, can I use all browser technologies in such window? Well, in-games is tricky. Do you mean inside the canvas element? If so, you can use CSS if you use something like https://html2canvas.hertzen.com/ But, if you mean as a overlay to your game then yes, you can use any CSS as a "window" if you will, ontop of your game (inside a div) Umz 1 Quote Link to comment Share on other sites More sharing options...
scofield Posted June 6, 2016 Author Share Posted June 6, 2016 11 hours ago, WombatTurkey said: Well, in-games is tricky. Do you mean inside the canvas element? If so, you can use CSS if you use something like https://html2canvas.hertzen.com/ But, if you mean as a overlay to your game then yes, you can use any CSS as a "window" if you will, ontop of your game (inside a div) I mean game as a Chrome Store App\Game. I just can't find details about it. Why I'm asking it, it's because I dont want to build game menus in game (using canvas), I just want to use HTML, CSS, JS for it. Also I'm looking for sending HTTP requests to saving users score and other data. Quote Link to comment Share on other sites More sharing options...
mattstyles Posted June 9, 2016 Share Posted June 9, 2016 Pretty sure Chrome Apps are simply regular web sites, I think they get some additional privileges but they don't have any restrictions over regular web content. You don't even need to worry about browser compatibility issues, if it works in Chrome then it'll work as a Chrome App. scofield 1 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.