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

Delphi纸牌游戏动画特效

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

  • 一款经典的小游戏,用C语言编写而成,内容不多,但是包括了全部的功能。...
    一款经典的小游戏,用C语言编写而成,内容不多,但是包括了全部的功能。-A classic game, by using C language, which few, but include all the features.
    2022-01-26 08:05:14下载
    积分:1
  • 将USB端口设备虚拟为网卡设备的软件,还可以
    将USB端口设备虚拟为网卡设备的软件,还可以-The USB port equipment for the virtual network adapter software, you can
    2022-01-27 12:19:17下载
    积分:1
  • OD重载内核
    OD的内核重载插件,有效保护OD,源码及编译后的DLL都包含了!
    2022-03-18 12:00:48下载
    积分:1
  • C#远程复制文件
    C#远程复制文件,远程COPY复制功能的演示代码,在VS2008下可顺利编译成功。主要引用API来实现,选择源目录和目标目录即可实现拷贝。不过事先需保证网络是畅通的,否则程序可能会挂机。
    2022-04-07 20:51:52下载
    积分: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
  • 广播级有线电视台MTV互动点播系统
    广播级有线电视台MTV互动点播系统 -broadcast MTV interactive cable system-on-demand cable broadcast interactive MTV-on-Demand System
    2022-02-10 04:40:18下载
    积分:1
  • 老鼠走迷宫程序,用vc编写,可以算出最短路径,用户自己设置围墙合入口出口...
    老鼠走迷宫程序,用vc编写,可以算出最短路径,用户自己设置围墙合入口出口-rats Maze procedure using vc preparation, you could calculate the shortest path, users set up their own import export a wall
    2022-05-18 12:27:40下载
    积分:1
  • The program is a complete 9834 test procedures, these procedures can be transfor...
    该程序是完整的9834的测试程序,可以将这程序转变成C程序,直接可用-The program is a complete 9834 test procedures, these procedures can be transformed into C procedures directly available
    2022-01-28 17:46:35下载
    积分:1
  • 讲述了多路复用的一些知识,还说明了MPEG
    讲述了多路复用的一些知识,还说明了MPEG-2的一些-Multiplexers about some knowledge, but also illustrates some of MPEG-2
    2022-03-15 05:05:27下载
    积分:1
  • *标题
    *Heading ** Job name: cbs Model name: Model-1 *Preprint, echo=NO, model=NO, history=NO, contact=NO ** ** PARTS ** *Part, name=Part-1 *Node
    2022-08-24 03:55:05下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载