1、1创建一个角色,变脸猫,角色1 = Sprite("角色1")
2、2角色的造型,设计,针对造型2
3、3设定触葛激握颟发条件和循环效果,while True: if 角色1.sensing_touchingobject("_mouse_"):
4、4调用控制模块,选择功能
5、5侦测条件设置为碰到鼠标指针
6、6添加两个造型拳婊招稹语句角色1.looks_switchcostumeto("造型1")角色1.looks_switchcostumeto("造型2")
时间:2025-01-04 11:29:07
1、1创建一个角色,变脸猫,角色1 = Sprite("角色1")
2、2角色的造型,设计,针对造型2
3、3设定触葛激握颟发条件和循环效果,while True: if 角色1.sensing_touchingobject("_mouse_"):
4、4调用控制模块,选择功能
5、5侦测条件设置为碰到鼠标指针
6、6添加两个造型拳婊招稹语句角色1.looks_switchcostumeto("造型1")角色1.looks_switchcostumeto("造型2")