Hiding game files

For questions about using Classic.

Post » Sat May 21, 2011 12:11 pm

I added a mp3 file in musics and a wav file in sounds.
(rightclick sounds/music -> add sounds/music)
I tried to play from resource if I press s key.
But If I click on the resource list (play music from resource) It says, there are no files.
The list is empty. The test.cap is 25kb..the soundfile I added more than 1mb.
Its pointless to upload the .cap without the music in it I think^^..
Could you make a very basic example? (I use construct 1.2)
B
24
S
9
G
2
Posts: 294
Reputation: 3,160

Post » Sat May 21, 2011 12:28 pm

I know last summer while I was finishing up a project, I had a number of sounds and music in my .cap. When I went to export the .cap to .exe, some sounds refused to play. A number of people jumped in to help me out here (I really appreciated that!), but in the end we determined the problem of some sound files not playing was the result of a bug and nothing could be done.

Aside from the Layout Object breaking when you export to .exe, this would be #1 on my list of things I'd give my small toe for to have fixed, and by fixed I mean done like MMF2 where the sounds simply embed themselves into the .exe. My dislike for MMF2 is well-documented, but I've always loved that one thing about it at least.
B
12
S
4
G
3
Posts: 426
Reputation: 2,458

Post » Sat May 21, 2011 6:40 pm

[quote:26nwwj7w]I added a mp3 file in musics and a wav file in sounds.[/quote:26nwwj7w]
The "music" and "sound" folders are not used. Any files you want to include need to be put into the "files" folder.

The cap file only stores the address of the file. The files are only embedded into the exe when exporting.
B
79
S
24
G
52
Posts: 4,725
Reputation: 39,713

Post » Sat May 21, 2011 6:54 pm

Thank you, everything is fine now :)
B
24
S
9
G
2
Posts: 294
Reputation: 3,160

Previous

Return to Help & Support using Construct Classic

Who is online

Users browsing this forum: No registered users and 0 guests