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
S
1
G
4
Posts: 15
Reputation: 1,230

Post » Sun Jul 20, 2008 2:53 pm

Insert the File object and use its 'File exists' condition.
Scirra Founder
B
386
S
229
G
87
Posts: 24,207
Reputation: 191,712


Return to Help & Support using Construct Classic

Who is online

Users browsing this forum: No registered users and 2 guests