Aer Posted May 25, 2016 Share Posted May 25, 2016 So I finally finished something, but it's still very slow especially on mobile. I'm hoping some of you help can point out why. Game is here: http://whitetiles.mythril.co Code is here, all one file, with different states: https://github.com/aerze/whitetiles.mythril.co/blob/master/dist/WhiteTile/scripts/game.js Link to comment Share on other sites More sharing options...
shohan4556 Posted May 25, 2016 Share Posted May 25, 2016 Hi, how to play this game. Link to comment Share on other sites More sharing options...
user.src Posted May 25, 2016 Share Posted May 25, 2016 14 minutes ago, shohan4556 said: Hi, how to play this game. I think you have to click/tab the black tiles in ascending order as fast as you can without any missclick/tab Link to comment Share on other sites More sharing options...
Aer Posted May 25, 2016 Author Share Posted May 25, 2016 3 hours ago, user.src said: I think you have to click/tab the black tiles in ascending order as fast as you can without any missclick/tab Yes exactly this! Link to comment Share on other sites More sharing options...
Umz Posted May 26, 2016 Share Posted May 26, 2016 Few things you'll need to do to this game I need to know somehow which ones I've pressed, so either make them glow or change their colour after being pressed. Dragging everything down after each touch is really off putting, maybe leave that feature just for hard mode? Or, take it out for easy, reduce it for normal mode and do it this way for the hard mode. I like little games like this, much easier to do with fingers than the mouse. shohan4556, Aer and ecv 3 Link to comment Share on other sites More sharing options...
Aer Posted May 27, 2016 Author Share Posted May 27, 2016 Ok, http://whitetiles.mythril.co/ Try it now, I updated a few things. There is no push when clicked Color now changes when clicked As for optimizations Promoted several static variables to state properties, rather in function vars Added conditionals to not update variables as often Tile textures specifically were put into state This helped a lot, and I'm still not sure why, I guess the look up within the closure was taking too long? Optimized for view Tiles not in view have their input and exists set to false; Issues Crashes on your second retry Still slow on mobile devices Link to comment Share on other sites More sharing options...
Recommended Posts