spmurrayzzz Posted September 7, 2015 Share Posted September 7, 2015 http://js13kgames.com/entries/juan-vs-the-trump Source: https://github.com/spmurrayzzz/JuanVsTheTrump This was a lot of fun to make. I originally had intended it to be playable on mobile and desktop, using the DeviceOrientation events for moving the player, but mobile Safari rendering bugs turned out to be an absolute nightmare to deal with while keeping the 13kb limit restriction. sombriks 1 Quote Link to comment Share on other sites More sharing options...
sombriks Posted September 8, 2015 Share Posted September 8, 2015 nice game. could you change the jump to start onkeydown instead onkeyup? Quote Link to comment Share on other sites More sharing options...
spmurrayzzz Posted September 8, 2015 Author Share Posted September 8, 2015 nice game. could you change the jump to start onkeydown instead onkeyup? Well the game is submitted at this point, but feel free to download the source and have fun with it. You'd be editing this file: https://github.com/spmurrayzzz/JuanVsTheTrump/blob/master/src/js/lib/interactions.js Move this block to the `keydown` handler:if ( ev.keyCode === 32 ) { vent.emit('tap');} 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.