求大神指导这两个script 怎么编?在线等,急!!!!!!!谢谢
gamemaker吧
全部回复
仅看楼主
level 1
2014年09月24日 19点09分 1
level 9
它不是一步一步告诉你怎么写了吗。。。[疑问]
2014年09月25日 00点09分 2
level 10
script_deduction
{
var sc;
sc = round(score/2);
show_message("Ouch!Deduction..." + string(sc);
score -= sc;
object_name.x = obj_name.xstart;
object_name.y = obj_name.ystart;
}
script_lucky
{
show_message("Treasure has been picked up");
var str, lucky_no;
str = get_integer("Enter the number of points to add:", 0);
lucky_no = random_range(1,10);
show_message("Your lucky number: " + string(round(lucky_no)));
show_message("Total points will be added to the score: " + string(str*round(lucky_no)));
score = str*round(lucky_no);
}
2014年09月25日 04点09分 3
话说你学校有教GM?[疑问]
2014年09月25日 04点09分
1