|
发表于 2010-7-6 12:00:00
|
显示全部楼层
Re: Re: Re: Re:《晶铁之门》试玩之UI简析
11月11日: Re: Re: Re:《晶铁之门》试玩之UI简析
用户体验不是为了掩饰某些错误的遮羞布,谢谢。
拿内部关联来说 当某一功能执行的时候其接口应该保持系统正在运行中的状态.此时该借口无法触发.只有当触发其他功能接口的时候那个接口才恢复常态.
如果没有以上的设计,用户体验是不好的.用户不能知道哪个接口以被触发,在不知道的情况下还会去点击该功能接口,若没有禁用该接口,则系统重新刷新绘制新的界面出来,最终导致异常终止用户操作的事
关联这东西比较复杂,拿一个8个按钮的界面来说用最笨的办法实现关联每个按钮都有如下这么长的代码:
on (rollOver) {
var y;
y = this.new_film._currentframe;
if (this.new_film._currentframe == 22) {
}
if (this.new_film._currentframe == 1) {
this.new_film.gotoAndPlay(1);
} else {
this.new_film.gotoAndPlay(21-y);
}
}
on (release) {
this.new_film.gotoAndStop(22);
gotoAndStop(45);
if (this.story_film._currentframe == 22) {
this.story_film.gotoAndPlay(11);
story_bt.enabled = true;
}
if (this.characters_film._currentframe == 22) {
this.characters_film.gotoAndPlay(11);
characters_bt.enabled = true;
}
if (this.eidolons_film._currentframe == 22) {
this.eidolons_film.gotoAndPlay(11);
eidolons_bt.enabled = true;
}
if (this.system_film._currentframe == 22) {
this.system_film.gotoAndPlay(11);
system_bt.enabled = true;
}
if (this.special_film._currentframe == 22) {
this.special_film.gotoAndPlay(11);
special_bt.enabled = true;
}
if (this.about_film._currentframe == 22) {
this.about_film.gotoAndPlay(11);
about_bt.enabled = true;
}
if (this.media_film._currentframe == 22) {
this.media_film.gotoAndPlay(11);
media_bt.enabled = true;
}
new_bt.enabled = false;
}
on (rollOut) {
var x;
x = this.new_film._currentframe;
if (this.new_film._currentframe == 22) {
} else {
this.new_film.gotoAndPlay(21-x);
}
}
|
|