HTML Removing button stops game from working
By default the packaged HTML games have 4 buttons on the bottom (pause, resume, clear data, fullscreen). If I comment these buttons out in the .html file, the game won't load and shows an error "Uncaught TypeError: Cannot read property 'addEventListener' of null"
How do I solve this? This is the code I commented out:
asked Aug 14 '16 at 12:37 AM in Using UE4
if i had to guess, i think the game is expecting to find the "fullscreen_request" element.
anyways, you can hide the buttons by adding to the CSS class:
the buttons will still be in the game -- just not visible...
answered Aug 16 '16 at 03:05 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here