UI scripts

Post Reply
User avatar
Vadi
Posts: 5041
Joined: Sat Mar 14, 2009 3:13 pm

UI scripts

Post by Vadi »

Problem: when developing UIs, you want to have instant feedback. Currently, it's not exactly instant when you have to manually click the 'Save' button or click on another script (can't even ctrl+s to save!).

Idea: Have a special type of a script, UI script, that is run whenever you type a character. Nothing will happen if the script is uncompilable (and no errors will show unless it is manually saved).

What happens: insant feedback as the UI is redrawn while you're coding!

Possible problems to solve:
- maybe might be slow if your UI loads a lot of external images?
- how to make this work if your UI is split over multiple scripts for organization? Possibly another topic...

Feedback, thoughts, comments?

Post Reply