|
|
#1 |
|
Junior Member
Join Date: Dec 2007
Location: 54°53'17.37"N 23°51'04.85"E elev ~69m
Posts: 5
|
Hi everyone,
I am making a skin that has 12 buttons in main window and every button has two glow layers: one for hover and one for pressed state. I have one script that controls all those buttons and glow layers (smooth alpha changes their opacity). Furthermore, I considered using innovative sound and seek controls, witch will be also included into one maki script. That one script will also process met data. Sounds crazy, huh? By this time I have buttons working and task manager showed no hogging. I have never seen a maki script control more than one thing. Please tell me is this a bad idea. And |
|
|
|
|
|
#2 |
|
Senior Member
|
Don't worry about
It can control dozens of objects.
|
|
|
|
|
|
#3 |
|
Major Dude
Join Date: Jul 2003
Location: UK
Posts: 1,316
|
the main thing is debugging, the longer the script the longer you may spend trawling through code you wrote 6 months back and forgotten why you did it that way
![]() if you break it down into smaller chunks of code, it makes life a lot easier and you can reuse those for other skins quicker than doing a complete all in one script its part of the design process, you should probably list the pros and cons of each and decide from that |
|
|
|
![]() |
|
|||||||
| Thread Tools | Search this Thread |
| Display Modes | |
|
|