j9907 Registered User |
Quote
|
2018-10-05 06:14:25 |
|
After many tweaks to my project I got it to run on WebGL and on Itch.io. However, I can't get it to use the keyboard. if you press Space it will not make the character jump, but rather make the page scroll down! Any ideas?
|
niko Moderator |
Quote
|
2018-10-05 08:46:54 |
|
I guess itch.io embeds your game using an iframe, right?
If that's the problem, you should be able to fix this by opening your own .html file where the game started in, and right before the line which starts with
startCopperLichtFromFile
simply add a
window.focus();
then it should work.
|