微件:ScenarioSimulator:修订间差异
跳到导航
跳到搜索
小无编辑摘要 |
小无编辑摘要 |
||
第1,526行: | 第1,526行: | ||
if(isNaN(temp_c1)) | if(isNaN(temp_c1)) | ||
{ | { | ||
temp_c1 = 0. | temp_c1 = 0.05; | ||
} | } | ||
if(image_adapt == "coverall") | if(image_adapt == "coverall") | ||
第1,613行: | 第1,613行: | ||
image_x = temp_d1;image_y = temp_d2;tween_x = temp_d3;tween_y = temp_d4; | image_x = temp_d1;image_y = temp_d2;tween_x = temp_d3;tween_y = temp_d4; | ||
image_width = temp_d5;image_height = temp_d6;tween_width = temp_d7;tween_height = temp_d8; | image_width = temp_d5;image_height = temp_d6;tween_width = temp_d7;tween_height = temp_d8; | ||
temp_c1 *= | temp_c1 *= 20; | ||
temp_d1 = (temp_d3 - temp_d1) / temp_c1;temp_d2 = (temp_d4 - temp_d2) / temp_c1; | temp_d1 = (temp_d3 - temp_d1) / temp_c1;temp_d2 = (temp_d4 - temp_d2) / temp_c1; | ||
temp_d5 = (temp_d7 - temp_d5) / temp_c1;temp_d6 = (temp_d8 - temp_d6) / temp_c1; | temp_d5 = (temp_d7 - temp_d5) / temp_c1;temp_d6 = (temp_d8 - temp_d6) / temp_c1; | ||
第1,621行: | 第1,621行: | ||
if(timer_id_tween == -1) | if(timer_id_tween == -1) | ||
{ | { | ||
timer_id_tween = setInterval("timer_tween(" + temp_d1 + "," + temp_d2 + "," + temp_d5 + "," + temp_d6 + ")", | timer_id_tween = setInterval("timer_tween(" + temp_d1 + "," + temp_d2 + "," + temp_d5 + "," + temp_d6 + ")",50) | ||
} | } | ||
return -1; | return -1; |