蜘蛛纸牌烟花 [英] Spider Solitaire firework

查看:180
本文介绍了蜘蛛纸牌烟花的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何使用c#制作win7OS的蜘蛛纸牌烟花?赢得单人纸牌游戏后像烟花一样的效果.

用一个句子回答就不那么容易了.首先,您必须决定如何绘制图形.您想在WinForms(用GDI +绘制)中产生效果吗? WPF?还是3D效果更好?然后您可以看看XNA.

特别是对于XNA,有许多关于如何实现粒子系统(2D或3D)的教程.只需使用Google搜索XNA +粒子系统,您就会找到它们.但是,在进入粒子系统的细节之前,您可能首先想要获得关于绘图工作原理的速成班,而与要使用的图形类型无关.


希望 [ 解决方案

If I am not mistaken, you are looking for information on particle systems to create an effect like the fireworks after winning a game of solitaire.

That''s not so easy to answer in a single sentence. First, you must decide how you want to draw your graphics. Do you want your effect in WinForms (painted with GDI+)? WPF? Or better in 3D? Then you might take a look at XNA.

Especially for XNA there are many tutorials about how to implement particle systems (2D or 3D). Just google for XNA + particle system and you will find them. However, you might first want to get a crashcourse on how drawing works in general before going into the details of the particle system, independent of which kind of graphics you want to use.


Hope this[^]might help you.


这篇关于蜘蛛纸牌烟花的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆