Hacker News new | ask | show | jobs
by rogueSkib 3494 days ago
That would be tough; the accelerated piece in native is mostly coupled to the JS API - specifically the view hierarchy and animations. It's pretty straightforward to port games to it though, and it's generally easy to pick up and move fast. The easiest way is to take a look at some example code. Here's a game I built for the Global Game Jam 2015. Cheers!

Source: https://github.com/rogueSkib/orcrun Playable: http://rogueskib.github.io/orcrun/

1 comments

Is that supposed to control via the arrow keys? Seems to not respond to keyboard input on my machine (macOS 10.12.1, both Safari and Chrome)
Oh no, it's just swipes. We were designing for mobile, and desktop suffered O.o