2 questions: Dynamic Variables & slow editor

Hello again :slight_smile:
I have two questions:

  1. How can I setup/use dynamic variables in Glider? I wish to modify an y-value during my game is running, to make positioning easier. Do dynamic variables have something to do with Corona or is it just a window in glider which I haven’t found yet? Or do I have to create the variables manually in the “Variables” window in Glider?

  2. My Code-Editor responds a bit slow, I’m not sure what exactly causes this. For example when I start typing “Hello” nothing appears for around 500ms-1000ms and then the word suddenly appears. I already removed the “warnings” (their were quite a few in my code) but I don’t think this improved it a lot.

Is this a common issue or is my computer just crappy?

Thank you for your help!

Best regards,
Chris [import]uid: 128747 topic_id: 34544 reply_id: 334544[/import]

Is this on Mac or Windows? [import]uid: 31508 topic_id: 34544 reply_id: 137364[/import]

On Windows [import]uid: 128747 topic_id: 34544 reply_id: 137370[/import]

Hello go4,

"Do dynamic variables have something to do with Corona or is it just a window in glider which I haven’t found yet? "
This is technically called live coding. The feature is not available yet in 1.7 but is currently being developed for 1.8. It is still possible however to do it via the variables window but you must have a reference to the variable in order to change it. This is easy if the variable is a global as you can just put a breakpoint after the variable has been declared and you should see it under the globals table in the variables window. After that point you will be able to change the values. Version 1.8 will make this 100 times simpler.

"My Code-Editor responds a bit slow, "
This should never happen. Does it happen in any particular project? particular file? What is the pattern for that behavior?

Regards,
M.Y. Developers
[import]uid: 55057 topic_id: 34544 reply_id: 137412[/import]

Is this on Mac or Windows? [import]uid: 31508 topic_id: 34544 reply_id: 137364[/import]

On Windows [import]uid: 128747 topic_id: 34544 reply_id: 137370[/import]

Hello go4,

"Do dynamic variables have something to do with Corona or is it just a window in glider which I haven’t found yet? "
This is technically called live coding. The feature is not available yet in 1.7 but is currently being developed for 1.8. It is still possible however to do it via the variables window but you must have a reference to the variable in order to change it. This is easy if the variable is a global as you can just put a breakpoint after the variable has been declared and you should see it under the globals table in the variables window. After that point you will be able to change the values. Version 1.8 will make this 100 times simpler.

"My Code-Editor responds a bit slow, "
This should never happen. Does it happen in any particular project? particular file? What is the pattern for that behavior?

Regards,
M.Y. Developers
[import]uid: 55057 topic_id: 34544 reply_id: 137412[/import]