Python精灵模块的hidestamp隐藏图章指令

所有命令 单独命令 屏幕命令 角色命令

角色命令 >> Python精灵模块的hidestamp隐藏图章指令

简介:角色的hidestamp指令根据图章编号来隐藏图章。
例子:
import time
from sprites import Sprite,Screen

screen = Screen()
screen.title('图章在闪烁')
bug = Sprite()
z = bug.stamp()
bug.goto(100,100)  
while True:
    bug.wait(0.1)
    bug.hidestamp(z)
    bug.wait(0.1)
    bug.showstamp(z)
    

writed by lixingqiu 关注"异编程"微信公众号,获取更多关于Python精灵模块的咨讯: