Jump to content

[js13k] Juan vs. The Trump


spmurrayzzz
 Share

Recommended Posts

http://js13kgames.com/entries/juan-vs-the-trump

 

Source: https://github.com/spmurrayzzz/JuanVsTheTrump

 

__big.jpg

 

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.

Link to comment
Share on other sites

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');}
Link to comment
Share on other sites

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...