If file exists

For questions about using Classic.

Post » Sat Jul 19, 2008 9:31 pm

Hi all, is there a way to check if a file exists? I'm trying to make a game were you could optionally add a mp3 file to the same location as the exe and play it in-game. My problem is that I don't want the pause/play controls to show if no music exists.
B
2
G
4
Posts: 15
Reputation: 1,080

Post » Sun Jul 20, 2008 2:53 pm

Insert the File object and use its 'File exists' condition.
Scirra Founder
B
359
S
214
G
72
Posts: 22,952
Reputation: 178,580


Return to Help & Support using Construct Classic

Who is online

Users browsing this forum: No registered users and 4 guests