- Home /
How can I create a PDF while playing my games build and then display it to the player ?
I am creating a score system that will allow for a local save of your scores, but I am unable to figure out how to do this. I am creating a WEBGL build and I am unable to access the game directory to save a PDF.
Answer by kaarloew · Apr 08, 2019 at 09:24 AM
If you are going to open the PDF in browser, you can use data URL https://developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/Data_URIs
Say I create a PDF then how do I see the PDF in-game which is a WebGL build
You can use embed, iframe, PDF.JS or something similar to show the PDF in the web page https://stackoverflow.com/questions/291813/recommended-way-to-embed-pdf-in-html
Your answer
Follow this Question
Related Questions
Multiple Cars not working 1 Answer
Distribute terrain in zones 3 Answers
Illuminating a 3D object's edges OnMouseOver (script in c#)? 1 Answer
Flip over an object (smooth transition) 3 Answers
Opening a PDF on Android 1 Answer