0

How To Solve 'Practice: User Input' Code Update In Game Development

How To Solve 'Practice: User Input' Code Update In Game Development There is the part where you need to update your JS code and add document.onkeydown and document.ontouchstart to work as if its the "jump" button being pressed. This is very confusing and no one is getting it right. Is there any info or guidance on this practice part of Solo Learn. Thank you all!

24th Nov 2023, 8:47 PM
GardenGuardian
GardenGuardian - avatar
1 Odpowiedź
+ 3
Unfortunately I have not done the course yet but you could analyze my example and use a snippet from it to solve this practice, of course if you like: https://sololearn.com/compiler-playground/Wu2OiP9jar66/?ref=app
25th Nov 2023, 8:42 AM
JaScript
JaScript - avatar