Sup guys, i want that when the user clicks on the button "Info" it opens a notepad file. I've added the file in the files, inside the project but now how do i open it? Thanks.
Develop games in your browser. Powerful, performant & highly capable.
You need the AJAX object.
Then you setup an event like so:
On button click --> AJAX Request filename
To display it, add a text object and an additional event:
AJAX On "filename" completed --> Set text to AJAX.LastData