Musings, ramblings, rantings about technology, games, puzzles, and whatever else catches my attention.
Thursday, September 26, 2013
Mobile progress
I only have a little more time to go on this one, and I haven't been putting in a bunch of time lately. However, I have sorted out some issues with handling touch events that had been keeping the game from working on mobile.
I also learned a bit about remote debugging: https://developers.google.com/chrome-developer-tools/docs/remote-debugging which proved valuable - breakpoints and data inspection are handy.
I also figured out that by passing "script" to the Closure "calcdeps.py" script, instead of "compiled", you get one big uncompiled file, suitable for debugging. I also saw that there's some hints of a source map, but I haven't dug in to that yet.
As the above screenshot evidences, you can use a single touch and move around, as if you were using a mouse to click. I really want dragging for both desktop and mobile to work, and pinch-zooming on mobile. Maybe that'll be easy, given the things I've built, the things I've learned.
There ought to be sound, there ought to be a title screen. Other than that, this is just about done.
Subscribe to:
Post Comments (Atom)
Well, I was working on an old-school roguelike (using termbox), but I might have to switch to the web just to get hexagons.
ReplyDelete