登录
首页 » 其他 » Delphi纸牌游戏动画特效

Delphi纸牌游戏动画特效

于 2022-01-26 发布 文件大小:48.43 kB
0 180
下载积分: 2 下载次数: 1

代码说明:

一个基于Delphi编写的纸牌游戏动画特效,并不是一个完整的游戏,而是生成的纸牌动态效果,和图像处理有关的一个Delphi范例,如演示截图所示,生成的动画 效果还是挺不错的,或许可作为某方面的借鉴。部分代码如下:   FCardId:Cardinal ; //扑克的编号,0-51为各花色的1-K,52为大王,53小王   FFaceUp:bool; //是否正面朝上   procedure SetCardId(id:Cardinal);//设置扑克牌的编号   procedure SetFaceUp(Flag:Bool); //设置是否正面朝上   function GetValue:integer; //得到扑克牌的点数   function GetSuit:TCardSuit; //得到扑克牌的花色   procedure Paint; override; //画扑克牌的程序   constructor Create(AOwner:TComponent);overload;override; //构造函数   constructor Create(AOwner:TComponent;Id:Cardinal);overload;   procedure SetCard(Suit:TCardSuit;Value:Cardinal); //设置扑克牌的编号   property CardId:Cardinal read FCardId write SetCardId; //扑克牌编号   property FaceUp:bool read FFaceUp write SetFaceUp default False; //正面朝上   property Value:integer read GetValue; //扑克的点数,只读   property Suit:TCardSuit read GetSuit; //扑克的花色,只读

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • the document in detail the high
    该文档详细介绍了高速PCB布线的一些概念及注意点,本人看后感觉帮助比较大,不敢独享-the document in detail the high-speed PCB and the attention of some of the concepts, I look and feel more help, not monopoly
    2023-03-08 20:05:03下载
    积分:1
  • 历年程序员考试题目
    历年程序员考试题目-programmers calendar year exams
    2022-03-02 01:29:00下载
    积分:1
  • 显示"石头"、"剪子"、"布",全靠运气,学习C++语言的小程序
    显示"石头"、"剪子"、"布",全靠运气,学习C++语言的小程序-showed that the "stone", "scissors", "Bush," depends entirely on luck, the C language learning procedures for small
    2022-03-12 21:27:46下载
    积分:1
  • droiyan在线服务器
    Droiyan Online Server
    2022-07-14 21:02:04下载
    积分:1
  • a quick panels can be used in their procedures on it!
    一个快捷面板,可以将自己常用的程序放在其中!-a quick panels can be used in their procedures on it!
    2022-05-06 09:33:08下载
    积分:1
  • 51的红外线解码程序
    51的红外线解码程序-51 infrared decoding procedures
    2023-03-16 12:15:04下载
    积分:1
  • This is a preparation with the five fingers FLASH chess procedures, the procedur...
    这是一个用FLASH编写的五指棋程序,程序中的智能算法还是一般,还需改进,适合于Flash编程学习。-This is a preparation with the five fingers FLASH chess procedures, the procedures for the smart algorithm or in the general, the need to improve suitable for Flash Programming learning.
    2023-06-25 03:55:03下载
    积分:1
  • 类似翻牌的flash广告切换效果
    类似翻牌的flash广告切换效果,在中关村网站见到过,鼠标不用点击,自己翻转切换广告,而且不占用太多网页空间,代码调用简单,推荐站长使用。
    2022-07-06 20:21:15下载
    积分:1
  • Delphi AnPopListBox数据编辑控件+实例代码
    Delphi环境数据编辑控件源码——AnPopListBox V2.0控件源码,随测试实例代码。关于控件及使用的几点说明:   1、使用Execute 方法取得返回值(变量型)   2、AutoWidth 设置是否自动匹配列宽,CanFind 设置是否可以查找数据;ActiveADO 是试行SQL语句是否有效,并填充DisplayField 显示字段名,DisplayText 显示标题,DisplayWidth在AutoWidth = False 时,用户定义的列宽。   3、单击列标题可以排序,Ctrl + E 可以导出Excel,F5 刷新数据。
    2022-02-13 00:14:09下载
    积分:1
  • 有源滤波器主控芯片源代码
    有源滤波器主控芯片6713源代码,里面检测系统电压电流 计算出需要补偿的无功以及谐波 控制IIGBT驱动信号  输出电流信号完成有源滤波器的功能
    2022-07-26 18:22:55下载
    积分:1
  • 696516资源总数
  • 106918会员总数
  • 4今日下载