创建简单游戏.net的技巧 [英] Tips For Creating simple game .net

查看:86
本文介绍了创建简单游戏.net的技巧的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

嗨.我正在开发一个简单的步步高.我为游戏设计了3张图片. 1)黑色不是png格式2)白色不是==> png格式3)木板jpg

我有关于设计游戏的总和问题.我想用.NET Framework 4创建它.可能是Windows应用程序.我对wpf有点熟悉,但是不多.

1.将png螺母放在jpg板上的最佳方法是什么?图片框?
2.注意第一个问题,如何在板上移动螺母?

如果可能的话,请给我一些有关开发此游戏的提示.感谢

Hi. I am developing a simple backgammon. i Designed 3 picture for the game. 1) Black not as png format 2)white not ==>png format 3) board jpg

i have sum question about designing game. i want to create it with .NET Framework 4. probably windows application. I''m a bit familiar with wpf but not much.

1. what is the best way for putting png nut on the jpg board? picturebox ?
2. in attention of first question how can i move nuts on board?

if possible give me some tips about developing this game. thanks

推荐答案

您应该阅读有关WPF的书.您使用的是VB.Net或C#语言?假设使用C#,则可以免费下载Visual C#Express 2010.您可以使用它来开始创建WPF应用程序.您将对图像使用Image控件.使用UI事件和动画逻辑移动螺母.
You should read a book on WPF. What language are you using, VB.Net or C#? Assuming C#, you can download Visual C# Express 2010 for free. You can use that to get started creating a WPF application. You would use an Image control for an image. Move the nuts using UI events and animation logic.


您之前已经问过要创建这款西洋双陆棋游戏.

提出一些小问题,基于上一个游戏中给出的答案的每一个问题都将使您无法进行此项目.

您需要回到基本原则并获得基础.

同时,从此处开始. [
You have already asked about creating this backgammon game before.

Asking small incremental questions, each one based on the answer given in the previous game will not enable you to do this project.

You need to go back to first principles and get a grounding.

In the meantime, start here.[^]


这篇关于创建简单游戏.net的技巧的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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