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

Delphi纸牌游戏动画特效

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

  • 校验码用于图像去噪
    check out this code for image denoising
    2023-02-05 21:05:04下载
    积分:1
  • ε-贪婪的行动选择
    epsilon greedy action selec
    2022-01-27 21:20:19下载
    积分:1
  • 经典游戏炸弹人的手机版本,又J2ME平台开发.可下载到手机中.
    经典游戏炸弹人的手机版本,又J2ME平台开发.可下载到手机中.-bomb classic game of mobile phones, J2ME platform. To download to your phone.
    2022-03-29 12:26:26下载
    积分:1
  • 这个论坛也不错.适合做毕业设计的,包含大多数基本功能
    这个论坛也不错.适合做毕业设计的,包含大多数基本功能-this forum is a good one. Suitable for graduation design, including most of the basic functions
    2022-06-21 02:47:19下载
    积分:1
  • Adaptive control of induction motor model
    Adaptive control of induction motor model
    2022-03-25 10:32:09下载
    积分:1
  • DSPTMSF2812的仿真器测试工具,算法算法速度放阿随风倒
    DSPTMSF2812的仿真器测试工具,算法算法速度放阿随风倒-Emulator DSPTMSF2812 testing tools, algorithms algorithm speed put the Arab-Israeli随风倒
    2022-02-13 03:21:29下载
    积分:1
  • Can be man
    可以人机对弈、双人同机对弈,人机对弈电脑具有较好的人工智能算法,界面美观。开发工具:VC++6.0 和 MFC-Can be man-machine game, double game on the same plane, man-machine chess computer has a good artificial intelligence algorithms, attractive interface. Development Tools: VC++ 6.0 and MFC
    2022-10-29 03:15:03下载
    积分:1
  • 这个程序并不帮你翻译任何文字,仅仅只是提供一个专为翻译工作设计的 编辑器.使用它你可以一行行对照的翻译原文. 而当你在翻译过程中碰到了不 认识的新词,计算机能充...
    这个程序并不帮你翻译任何文字,仅仅只是提供一个专为翻译工作设计的 编辑器.使用它你可以一行行对照的翻译原文. 而当你在翻译过程中碰到了不 认识的新词,计算机能充当你的词典或笔记本的作用, 让你的翻译工作事半功 倍.当你在翻译某一行文字时,如果发现某个单词不认识,字典区便会显示出单 词的意思,而不需要你的任何按键.当你在字典区没有发现你要的单词时,证明 单词库里没有这个单词,需要你自己从别的途径查找,然后写到字典区内,程序 将马上把它记录在单词库中-this procedure does not help you to translate any text, merely provide a translation for the design editor. Using it you can control the lines of the original translation. But when you in the process of translation encountered did not know a new word, the computer can serve as your dictionary or laptop, so you translation multiplier. when you are in the translation of a text line, if found not understand a word, the dictionary will show that the district words mean, without the need for any of your button. When you zone in the dictionary found no words to you, not to prove the word Curry words, you need Search through other channels, and then wrote a dictionary region, procedures it will be immediately recorded in the word library
    2022-11-23 08:20:03下载
    积分:1
  • 个人财务管理系统,但有一个模块尚未完成…
    个人财务管理系统,不过还有一个模块没有完成,都是在控制台中完成的。 这是我第一个自己做的,希望大家多多指点!-Personal financial management system, but there is a module not yet been completed, are completed in the console. This is my first one to do their own, and I hope a lot of pointing everyone!
    2022-03-26 12:58:23下载
    积分:1
  • 2023-02-18 13:20:03下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载