游戏开发论坛

 找回密码
 立即注册
搜索
查看: 4087|回复: 5

?????

[复制链接]

16

主题

31

帖子

39

积分

注册会员

Rank: 2

积分
39
发表于 2011-4-15 09:27:00 | 显示全部楼层 |阅读模式
??1:FlowObject?????????????SIZE???????
??2:TileAnime *ani;
  .....
  ani-&gtlay(false);
Flow1:raw()
{
  ani.Draw(0,0);
}
ani???????????????

??3?????ALPHA????????????????
??4?TextButton?????????????????????
??5???????????sii?????????Flow??????

2万

主题

2万

帖子

6万

积分

论坛元老

Rank: 8Rank: 8

积分
66489
QQ
发表于 2011-4-15 10:18:00 | 显示全部楼层

Re:?????

1.GetCanvasWidth/GetCanvasHeight,GetScreenWidth/GetScreenHeight????????????????????????????

2.TileAnime?OnPlayEnd??????????Stop???

3.??Alpha???????????????????????????????????0,0,0????????????????????????????????ALPHA???

4.??GUI????DrawFont????????????????????????????????????????????sii.graphics.fnt

5.Application??Win???Win????SystemCursor?????false??

16

主题

31

帖子

39

积分

注册会员

Rank: 2

积分
39
 楼主| 发表于 2011-4-15 10:28:00 | 显示全部楼层

Re:?????

????

16

主题

31

帖子

39

积分

注册会员

Rank: 2

积分
39
 楼主| 发表于 2011-4-15 10:37:00 | 显示全部楼层

Re:?????

ani-&gtlay(false);   
SetEventCall(ani->OnPlayEnd,this,OnEnd);

void OnEnd(TileAnime* an)
{
an->Stop(); //?????????????
// ani->Stop();  //?????????????
               
}

16

主题

31

帖子

39

积分

注册会员

Rank: 2

积分
39
 楼主| 发表于 2011-4-15 10:37:00 | 显示全部楼层

Re:?????

???

????????TitleAnime?????

2万

主题

2万

帖子

6万

积分

论坛元老

Rank: 8Rank: 8

积分
66489
QQ
发表于 2011-4-15 10:50:00 | 显示全部楼层

Re:?????

????????BUG

?TileAnime.H??????Draw??Update()????if(PlayStatus)?(???????Update()???)?????

                void Draw(float l,float t){TileGroup:raw(CurFrame,l,t);if(PlayStatus)Update();}                         ///<??????
                void Draw(float l,float t,float w,float h){TileGroup::Draw(CurFrame,l,t,w,h);if(PlayStatus)Update();}     ///<?????????????

                template<typename T> void Draw(const RectScope2<T> &rs)
                {
                        TileGroup::Draw(CurFrame,rs);
                        if(PlayStatus)Update();
                }

                void Draw(DrawArray *da,float l,float t){TileGroup::Draw(da,CurFrame,l,t);if(PlayStatus)Update();}                         ///<??????
                void Draw(DrawArray *da,float l,float t,float w,float h){TileGroup::Draw(da,CurFrame,l,t,w,h);if(PlayStatus)Update();}     ///<?????????????
               
                template<typename T> void Draw(DrawArray *da,const RectScope2<T> &rs)
                {
                        TileGroup::Draw(da,CurFrame,rs);
                        if(PlayStatus)Update();
                }
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

作品发布|文章投稿|广告合作|关于本站|游戏开发论坛 ( 闽ICP备17032699号-3 )

GMT+8, 2025-12-4 07:47

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

快速回复 返回顶部 返回列表