主题:  请帮忙

yjh

职务:普通成员
等级:1
金币:0.0
发贴:97
注册:2000/9/22 22:36:13
#12001/10/23 17:22:16
请问,用户按“a”舞台出现角色“a”,用户按“b”舞台通时出现角色

“ab”。而当用户先按“b”时,舞台出现“b”,用户再按“a”舞

台同时出现角色"ab"请问这个lingo应该怎样写呢?请你们帮一下我好吗?我

在为一位老师做课件。



草原风

职务:版主
等级:5
金币:13.0
发贴:3489
注册:2001/2/17 19:47:06
#22001/10/23 18:54:18
用AW我会,这个还没有试过



threem

职务:普通成员
等级:2
金币:1.0
发贴:338
注册:2001/6/14 13:52:15
#32001/10/24 0:00:57
global pressjust,pressnow
on preparemovie
set pressjust=""
set pressnow=""
end preparemovie




on keydown pressjust,pressnow
pressnow=the key
case true of
((pressnow="a")and(pressjust="b")):
set the visible of sprite (演员ab的精灵编号) to true
set pressjust=""
((pressnow="b")and (pressjust="")):
set the visible of sprite (演员b的精灵编号) to true
set pressjust="b"
((pressnow="a")and (pressjust="")):
set the visible of sprite (演员a的精灵编号) to true
set pressjust=""
((pressnow="b")and(pressjust="b")):
set the visible of sprite (演员ab的精灵编号) to true
set pressjust=""
end case
end

编辑历史:[这消息被threem编辑过(编辑时间2001-10-24 00:01:21)]