SDLx Betweener:Perl补间库 源码

上传:rear678 浏览: 9 推荐: 0 文件:ZIP 大小:158.06KB 上传时间:2021-05-22 00:34:02 版权申诉
名称 SDLx :: Betweener-SDL Perl XS补间动画库 概要 # simple linear tween use SDLx::Betweener; # if you are writting a Perl SDL program, you probably have an app object $sdlx_app = SDLx::App->new(...); # tweener is the tween factory, gets ticks from app $tweener = SDLx::Betweener->new(app => $sdlx_app); $xy = [0, 0]; # tween the position stored in this array ref # animate the position $xy for 1 second from
上传资源
用户评论