How do I import any file into project file while ingame

Get help using Construct 2

Post » Fri May 15, 2015 8:30 pm

I want to import mp4 at the start of my game, how could i do it? Because it seems that the video plugin only loads from project files but i want it to use files from folders in my Node webkit exported folder

I want to import .mp4 files directly from a folder located in the exported, that's like 1-2 hours i'm trying to find something about importing files like this in project folder and/or use different files in video plugin

It seems that it works with blobs using FileChooser : https://www.scirra.com/tutorials/1232/m ... sic-player
But i'm not sure we cant set the FileChooser path (to NWJS.Appfolder) anywhere unless we upload something
B
6
S
2
Posts: 46
Reputation: 769

Post » Fri May 15, 2015 10:09 pm

It seems it work with web urls, but i want it to work with local files
B
6
S
2
Posts: 46
Reputation: 769

Post » Sat May 16, 2015 5:49 am

Bump
B
6
S
2
Posts: 46
Reputation: 769

Post » Sat May 16, 2015 9:15 am

I've found a way to do it using a local server (wamp), it redirect to http://127.0.0.1/video/mp4/video.mp4
Still not what i'm looking for :( (+ its not working finally lol)
B
6
S
2
Posts: 46
Reputation: 769


Return to How do I....?

Who is online

Users browsing this forum: Darth Crusher, ketramtu18, XMatrix, Zav and 9 guests