Dialog Window

For questions about using Classic.

Post » Sun Dec 02, 2012 9:10 pm

Hi everyone.
I am making my small editor for a game, but i faced with one problem today. I want to save/load maps using dialog window like this:

I think, that i need python for solving this problem, but i don't know it yet. Thanks in advance.
B
2
Posts: 2
Reputation: 381

Post » Mon Dec 03, 2012 4:08 am

Looks like you'll want to use the "CommonDialog" object, it has some events for bringing up that file selector, setting which file type to look for, and then when it closes you can check its expressions for the information you need I think.

Hope that helps
"Construct 4 lets YOU make advanced games! (maybe)" Construct Classic - Examples Kit
B
86
S
28
G
13
Posts: 2,092
Reputation: 15,009

Post » Mon Dec 03, 2012 4:17 am

see mesh editor .cap file at construct folder for example :)

...\Construct Classic\Tools\Mesh Editor\Mesh Editor.cap

That cap file uses it.
B
45
S
9
G
7
Posts: 73
Reputation: 7,518

Post » Mon Dec 03, 2012 10:07 am

Thank you very much, guys. I saw Mesh Editor, but i forgot about it >.<
Problem solved.
B
2
Posts: 2
Reputation: 381


Return to Help & Support using Construct Classic

Who is online

Users browsing this forum: No registered users and 1 guest