How do I import media ?

Get help using Construct 2

Post » Fri Jun 03, 2016 6:43 am

Now I had a play with the File Chooser Object, and it lets me set the parameters for the file type I want (in this case a .mid file), but how exactly do I then utilise that ? i.e. have it save the file to the game.

The idea is that I now have a game where there are a set number of .mid files you can play, but I want to let the player also choose ones they might like to play.

Any assistance will be greatly appreciated.
Using R243 for all examples
B
69
S
20
G
6
Posts: 379
Reputation: 9,701

Post » Mon Jun 06, 2016 1:12 pm

The file chooser is what you want. I am not sure if you can limit the file types in here, so you might have to go to the raw JS.
https://www.scirra.com/manual/182/file-chooser

Also... O'Neill, Carter, Teal'c, or Jackson favorite?
https://www.ravenheart.ca/home
I don't check the forums much anymore, but I will receive an email for PMs.

"Someone once told me I bite off more than I can chew...

I told them I would rather choke on greatness than nibble on mediocrity."
B
23
S
6
G
1
Posts: 1,419
Reputation: 4,857

Post » Wed Jun 08, 2016 7:30 am

Yeah, I thought as much. Hopefully I can get it working, and you can limit file type.

Oh, and O'Neill (with two Ls, the other one has no sense of humour) ;)
Using R243 for all examples
B
69
S
20
G
6
Posts: 379
Reputation: 9,701


Return to How do I....?

Who is online

Users browsing this forum: dop2000, Klarner and 26 guests