怎么能上下运动? [英] How can make movements like up and down?

查看:84
本文介绍了怎么能上下运动?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我做了一个Pong,我想用kinect添加手势/动作来与我的游戏互动。我试着看看示例ControlsBasics,但我不太清楚代码的作用。我想用我的伤害进行一次运动,比如上下运动,但是b $ b我无法知道如何做到这一点。


任何人都可以帮我看一个指向例?我搜索了很多但没有找到任何东西。

解决方案

交互库是为一般用途的用户界面设计的,可能不是适用于实际的游戏逻辑。


您可以对相对于肩部/脊柱的手部位置进行基本的骨架跟踪,以提出简单的手势。此外,您还可以在线找到其他可能适合您的手势库。


有关使用Kinect Interactions进行UI开发的教程,请查看:


http://dotneteers.net/blogs/vbandi/archive/2013/03/25/kinect-interactions-with-wpf-part-i-getting-started.aspx


I have make a Pong and I want to add gestures/movements with kinect to interact with my game. I try to see the example ControlsBasics but I don´t understand very well what the code does. I wanna make a movement with my harm, like up and down movements but I can't figure how to do this.

Anyone could help me showing me a link to an example? I searched a lot and don´t find anything.

解决方案

The interactions library was designed for general use User Interfaces for application and may not be applicable for the actual game logic.

You may be able to do basic Skeleton tracking of the hand locations relative to the shoulder/spine to come up with simple gestures. As well, there are other gesture libraries you can find online that may work for you.

For a tutorial of using Kinect Interactions for UI development, have a look at:

http://dotneteers.net/blogs/vbandi/archive/2013/03/25/kinect-interactions-with-wpf-part-i-getting-started.aspx


这篇关于怎么能上下运动?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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