原帖由 Jonsoncao 于 2008-2-22 09:56 发表
我这样主要用电脑搞计算的来说
Lisp这样的scripting lang是最合适,但既然工业上用C++,自己也没得选
研究过一段时间的指针发现……对计算课题来说,只能让code变得可读性变低……而且指向内存节约的计算时间 ...
原帖由 Jonsoncao 于 2008-2-22 09:56 发表
我这样主要用电脑搞计算的来说
Lisp这样的scripting lang是最合适,但既然工业上用C++,自己也没得选
研究过一段时间的指针发现……对计算课题来说,只能让code变得可读性变低……而且指向内存节约的计算时间 ...
原帖由 Jonsoncao 于 2008-2-22 09:56 发表
我这样主要用电脑搞计算的来说
Lisp这样的scripting lang是最合适,但既然工业上用C++,自己也没得选
研究过一段时间的指针发现……对计算课题来说,只能让code变得可读性变低……而且指向内存节约的计算时间 ...
原帖由 cocoa 于 2008-2-22 10:19 发表
推荐几个xna的牛站 http://www.ziggyware.com/news.php 很多例程,代码和文章,个人认为最好的xna 教学站点。据说可以写文章得显卡:),所以代码和文章质量很高:)
http://xnaprojects.net/ 能下到很多优秀的 ...
原帖由 hourousha 于 2008-2-22 13:21 发表
这种功能总是需要的,就好象java也有JNI一样。
C#的指针,个人感觉其实已经很不好用了。
其实我觉得最好的方式是XNA支持C++.net,它可以算是native code和CLR code间的粘合剂。
原帖由 crazybach 于 2008-2-22 18:18 发表
完了,我只会汇编和c,基本和原始人差不多了
![]()
游戏这个东西比较杂,用asm,c,c++,c#,.net的地方都有,不过xna面相轻量级developer,所以选c#(或者java),其实也不错,要让用的人更加关注游戏本身,从复杂繁重的写 ...
Make sure you can see the Solution Explorer for your project on the right side of the window. If you cannot see it, click the View menu, and then click Solution Explorer. When it appears, you will see files associated with your project in a tree structure.
Inside the tree, you will see a node named Content. Right-click this node, click Add, and then click Existing Item. Browse to your graphic. If you can't see any files, make sure you change the Files of type selection box to read Texture Files. Click the graphic file, then click Add. An entry for the graphic file will appear in Solution Explorer.
When you add a graphic file, it is automatically added to the XNA Framework Content Pipeline, which will allow you to quickly and easily load the graphic into your game.
Click the entry for the graphic in the Solution Explorer. If you do not see the entry, ensure the Content node is expanded by clicking the small plus sign (+) to the left of the node, then click on the entry that appears underneath the Content node.
In the Properties window below Solution Explorer, look for the "Asset Name" property. Note the name; you'll use it in your code to load the graphic so it can be displayed in your game. If the Properties window is not visible, press F4, or click the View menu, and then click Properties Window.
Now, you must write code that loads and displays the sprite on the screen. You can use the instructions in How To: Draw a Sprite, or follow along here.
原帖由 limboking 于 2008-2-25 09:23 发表
建议争论语言问题的去相关游戏开发网站看看,多了解一下。。。
XNA是好东西,但要成为商业游戏的开发平台,还有很长的路要走。。。
欢迎光临 TGFC Lifestyle (http://bbs.tgfcer.com/) | Powered by Discuz! 6.0.0 |