News for hackers. Stuff that matters.
Re:Keep Out – WebGL Game Experiment by franck on Wednesday September 16, 2015 @08:57AM (#10226179)
Author here. In case it's not obvious from the article, the game URL is: http://www.playkeepout.com

Happy to answer any questions!

Re:Keep Out – WebGL Game Experiment by Gulthor on Wednesday September 16, 2015 @09:58AM (#10226596)
Nice piece of game! Any chance you could write a couple blog posts about the technical challenges you had to face, if any? I'm especially interested in the way you generate levels. Thanks.
Re:Keep Out – WebGL Game Experiment by franck on Wednesday September 16, 2015 @01:51PM (#10228458)
We should post an article relatively soon including the level generator for people to play with.
Re:Keep Out – WebGL Game Experiment by pdknsk on Wednesday September 16, 2015 @10:20AM (#10226774)
The shop doesn't work on a monitor (or browser window) with height > width. It appears when I resize the browser window. Otherwise the game works quite well on a rotated screen. Independent from screen rotation, some textures are badly compressed. Such as the pattern on the vase.
Re:Keep Out – WebGL Game Experiment by franck on Wednesday September 16, 2015 @01:49PM (#10228444)
Thanks for mentionning this, we'll take a look at this issue. About the textures, I agree some of them need a rework.
Re:Keep Out – WebGL Game Experiment by unoti on Wednesday September 16, 2015 @01:26PM (#10228278)
What's a good way to get started developing similar apps? Do you recommend coding from scratch right in WebGL, or do you recommend starting with some framework or another? Do you have any thoughts on using Unity or Unreal Engine for WebGL deployments?
Re:Keep Out – WebGL Game Experiment by daredevildave on Wednesday September 16, 2015 @02:48PM (#10228844)
You might want to take a look at playcanvas [https://playcanvas.com] if you are looking for something a little more game specific than threejs. We've designed it specifically for WebGL and hence it works a lot better than Unity or Unreal.
Re:Keep Out – WebGL Game Experiment by franck on Wednesday September 16, 2015 @01:48PM (#10228434)
I recommend using Three.js which is the library that our game is using. Starting with WebGL from scratch might be too difficult if you have no experience.

Unity is not quite ready for the web yet, they have a WebGL exporter but it doesn't support mobile.

Re:Keep Out – WebGL Game Experiment by fla on Wednesday September 16, 2015 @09:21AM (#10226311)
Very well done and polished, had some fun !

Small bug I've found : If you stand in a 'cell' with 3 walls and the only exit is occupied by an enemy, you can't rotate to hit and get killed eventually.

A drawing explains it better http://pastebin.com/6uZS67VJ

Re:Keep Out – WebGL Game Experiment by franck on Wednesday September 16, 2015 @09:26AM (#10226345)
Thanks for the nice words and bug report, I will investigate. Never had this happen to me yet.
Re:Keep Out – WebGL Game Experiment by fpgaminer on Wednesday September 16, 2015 @05:31PM (#10230055)
Is there anyway to change the keyboard setting? I accidentally selected the wrong one, and had to relaunch the game in an incognito tab to be given the chance to re-select the right one.
Re:Keep Out – WebGL Game Experiment by guigui on Wednesday September 16, 2015 @05:58PM (#10230178)
Yes, you can change the keyboard setting at any time by opening the menu (ESC) and selecting "How to play".
Re:Keep Out – WebGL Game Experiment by bobajeff on Wednesday September 16, 2015 @01:36PM (#10228356)
Kudos to getting it to run very well on mobile and for having the thoughtfulness to put in touch screen controls.

Any plans on adding gamepad support? (It looks like Chrome for Android has it now.)

Re:Keep Out – WebGL Game Experiment by franck on Wednesday September 16, 2015 @01:45PM (#10228417)
Yes we are probably going to add gamepad support soon.