ashwanth1109 / dark-mario

https://dark-mario.netlify.com/
1 stars 0 forks source link

Add key down handlers for p5 #2

Open ashwanth1109 opened 4 years ago

ashwanth1109 commented 4 years ago

@Arun4033622 , I think p5 provides some handlers to listen to arrow key down events. Can you look up the documentation and set it up? At this point, we just need a log statement in the event listener. We can provide the appropriate actions once our main character has been programmed in

ashwanth1109 commented 4 years ago

@Arun4033622 , can you add key down handlers for space bar,shift, down arrow, and some keys for actions like punching, shooting etc. Just log statements in the event listener is fine