Save & Load InputSystem Configuration

For questions about using Classic.

Post » Wed Jun 20, 2012 12:10 pm

I've been trying all day and cannot get this to work

i also tried exactly as it is in the InputSystem examples.

what i think happens, is that whenever it saves it just adds to the already existing text, and then loads the beginning of it and disregard the rest. i DID add the file delete action, so i dont know.

this is the same as the example

+ Button_Save: On Button_Save clicked
-> File: Delete file "InputSystem.cfg"
-> Binary: Write string InputSystem.GetControlConfigData
-> Binary: Save to file "InputSystem.cfg"


+ Button_Load: On Button_Load clicked
-> Binary: Open file "InputSystem.cfg"
-> InputSystem: Set control configuration data to Binary.ReadString
B
6
S
1
G
1
Posts: 52
Reputation: 858

Post » Tue Jun 26, 2012 8:02 pm

Hmm, maybe it won't overwrite because the program currently has it open? I've not toyed around with this plugin yet, so I'm not certain of anything else that could be blocking the edits.
"Construct 4 lets YOU make advanced games! (maybe)" Construct Classic - Examples Kit
B
86
S
28
G
13
Posts: 2,092
Reputation: 15,009


Return to Help & Support using Construct Classic

Who is online

Users browsing this forum: No registered users and 3 guests