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

Delphi纸牌游戏动画特效

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

  • Cygnal Integrated Development Environment (IDE) is a complete set of independent...
    Cygnal 集成开发环境(IDE)是一套完整独立的软件程序它为设计者提供 了用于开发和测试项目的所有工具 程序的主要特点包括 项目界面 全功能窗口字体可配置的编辑器 调试器具有设置断点观察点单步等功能 工具链接集成支持汇编器编译器和链接器 可定制的工具菜单用于集成其它编译器或开发工具 CYGNAL 配置向导可为指定的目标环境产生配置代码-Cygnal Integrated Development Environment (IDE) is a complete set of independent software programs for designers for the development and testing procedures for all the tools the project
    2022-03-03 05:27:51下载
    积分:1
  • VB操作数据库
    VB操作数据库-VB database operations .....................................
    2022-05-18 12:02:03下载
    积分:1
  • 数独是一种瑞士起源于第十八世纪后期的数学解释。
    数独是一种源自18世纪末瑞士的数学智力拼图游戏。拼图是九宫格(即3格宽×3格高)的正方形状,每一格又细分为一个九宫格。在每一个小九宫格中,分别填上1至9的数字,让整个大九宫格每一列、每一行的数字都不重复。 数独的玩法逻辑简单,数字排列方式千变万化。不少教育者认为数独是锻炼脑筋的好方法。-Sudoku is a kind of Switzerland originated in late 18th century mathematical intelligence jigsaw puzzle. Puzzle is the squares (ie, 3 cells wide × 3 grid H) of square-shaped, each divided into a fine grid squares. Small squares in each of the respective fill in the figures 1-9, so that the whole big squares in each row, each row will not repeat the figures. The logic of playing Sudoku is simple, the arrangement of the ever-changing figures. Many educators think Sudoku is a good way to exercise their brains.
    2022-07-26 14:08:27下载
    积分:1
  • By BUTTERWORTH filter, speaking voice signal in the noise filtered out.
    通过BUTTERWORTH滤波器,讲语音信号中的噪声过滤掉.-By BUTTERWORTH filter, speaking voice signal in the noise filtered out.
    2022-01-22 03:03:01下载
    积分:1
  • 很有意思的小游戏 ,喜欢的人下下来玩一下吧,对与头脑的休息还是大有好处的^_^...
    很有意思的小游戏 ,喜欢的人下下来玩一下吧,对与头脑的休息还是大有好处的^_^-very interesting little game, like the people down play with under the bar, with the heads of the rest is good or the ^ _ ^
    2022-01-28 18:29:36下载
    积分:1
  • 冰雨轩个人网站程序,上传到免费空间就可以拥有自己的网站了。里面还包含一些管理网站常用的程序。一整套很齐全的!...
    冰雨轩个人网站程序,上传到免费空间就可以拥有自己的网站了。里面还包含一些管理网站常用的程序。一整套很齐全的!-Xuan冰雨personal websites procedures, uploaded to the free space can have its own website. Which also contains a number of commonly used web site management procedures. A set of very complete!
    2022-09-02 00:35:04下载
    积分:1
  • Flash EasyBarGraph柱状图类库应用源码
    Flash EasyBarGraph是一个快速生成统计图表的Flash组件,用它可快速生成动画效果的柱状图,也主是直方图效果,直方图的颜色可自定义,每一个直方图与其它直方图之间可以是不同的颜色,而且在显示图表的时候,以动画的方式显示,挺动感的。
    2022-01-23 11:16:08下载
    积分:1
  • vc++6.0 开发的驱动短信猫代码,可进行二次开发。
    vc++6.0 开发的驱动短信猫代码,可进行二次开发。
    2023-08-20 19:00:03下载
    积分:1
  • The data reported have written a program, you can choose your own data files, pr...
    一个自己编写的数据报程序,可以选择自己的数据文件,打印报表,多多指教-The data reported have written a program, you can choose your own data files, printing reports, the exhibitions
    2023-01-23 04:55:04下载
    积分:1
  • 这一个PSCAD整流器的数学模型,它是useale某人。
    this a rectifier model of pscad,it is useale for somebody .-this is a rectifier model of pscad,it is useale for somebody .
    2022-03-23 12:45:17下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载