christinechengubc / borderline

Visual Novel Development Project
0 stars 0 forks source link

Research: How to divide and link scripts. #70

Closed nguyen34 closed 9 years ago

nguyen34 commented 9 years ago

For better code refactoring, we will eventually need to divide the scripts and link them together so that one script and can be called from another script, while still keeping the same constant functionality as if only one script would be running.

Acceptance Criteria:

christinechengubc commented 9 years ago

I've done my research. Easier to explain in a conversation, but I've proved that multiple script files can exist as long as you call the correct labels. Did this by placing scene 2 in a different file, and the game runs smoothly.

Please verify. Will probably work on the next task now.