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

Delphi纸牌游戏动画特效

于 2022-01-26 发布 文件大小:48.43 kB
0 224
下载积分: 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 个回复

  • 领导艺术
    领导艺术- 管理技巧系列课程-成功经理人,领导艺术- 管理技巧系列课程-成功经理人领导艺术- 管理技巧系列课程-成功经理人.-leadership-management skills courses Series-successful manager, leading arts-management skills courses series-leading successful manager Art-management skills courses Series-successful managers.
    2022-01-21 23:30:55下载
    积分:1
  • 最新的网络版(2007年8月)的ns2英文手册做成的pdf版,对于深入学习ns2的内部机制很有用处。...
    最新的网络版(2007年8月)的ns2英文手册做成的pdf版,对于深入学习ns2的内部机制很有用处。-The latest online edition (August 2007) is made of ns2 manual pdf English version, for the ns2-depth study of the internal mechanism is very useful.
    2022-06-17 15:46:46下载
    积分:1
  • sourse code of kmp algorithm
    poj 上的几道kmp 题的解题报告 sourse code of kmp algorithm -sourse code of kmp algorithm
    2022-05-17 02:18:57下载
    积分:1
  • 在屏幕上出现的图形设计和应用程序…
    VC实验:图形程序设计及其应用 在屏幕上出现一个圆心沿正弦曲线轨迹移动的实心圆,而且,每隔四分之一周期,圆的填充色和圆的周边颜色都发发生了变化(颜色自己选取),同时,圆的半径在四分之一周期之内由正弦曲线幅值的0.2倍至0.6倍线性增长 包含文档 源代码-VC experiment : graphic design and application procedures appeared on the screen in the center along a sinusoidal curve track the movement of a solid round, but every fourth cycle, the round filled with color and the color surrounding the circle has made a change (their color selection), while radius of the circle within the fourth cycle by the amplitude of the sine curve of 0.2 times to 0.6 times the linear growth of the source document contains generation Codes
    2022-03-19 21:09:13下载
    积分:1
  • 字模软件,LCD取摸程序,LED显示必备软件
    字模软件,LCD取摸程序,LED显示必备软件-Matrix software, LCD touch access procedures, LED display the necessary software
    2023-04-06 02:50:03下载
    积分:1
  • visual basic程序实现凸轮机构设计
    visual basic程序实现凸轮机构设计-visual basic cam design program
    2022-04-27 00:38:21下载
    积分:1
  • Flash眼睛转动动画源文件
    Flash眼睛转动动画源文件,很多眼睛围绕鼠标转动,快速移动鼠标会有更酷的效果,基于Flash8源文件,国外网站下载的Flash眼睛特效,真心挺有创意的效果,里面有丰富的AS脚本,可学习一下。
    2022-03-22 18:34:06下载
    积分:1
  • Is a small program, hope that we can gain. . . . . .
    是一个小程序,希望大家能收获。
    2022-03-15 20:19:41下载
    积分:1
  • Android读取SDCard卡指定目录并显示
    Android读取SDCard卡指定目录并显示,检测读取SD卡中的指定文件夹并显示出来,获取SD卡对应的存储目录,获取指定文件对应的输入流,将指定输入流包装成BufferedReader,以指定文件创建RandomAccessFile对象,将文件记录指针移动到最后,输出文件内容。
    2022-08-07 08:01:03下载
    积分:1
  • 编的不好请各位多指教一个小的智力游戏
    编的不好请各位多指教一个小的智力游戏-It is a small intellective game.It is not done very well,welcome your advice.
    2022-01-24 13:13:47下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载