文件名称:SilverlightSpeedGame
-
所属分类:
- 标签属性:
- 上传时间:2012-11-16
-
文件大小:1.07mb
-
已下载:0次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
这是用 Farseer 物理引擎制作的一个小游戏。玩法特别简单:用鼠标控制白球的位置,尽量不要让白球碰到黑球。距离中心越远,得分越少。
作者项目中遇到的问题:
*模拟环境和显示环境使用的长度单位不一致,需要对两者的单位进行转换。我这里使用的是 ConvertUnits 类进行转换的。
*Farseer 引擎默认设置物体运行速度是不能超过 64 的。可以在源码的 *Settings.MaxTranslation 设置此参数。
*Farseer 引擎具有自动适应功能。长时间没有操作的时候可能会进入“休眠”状态。
*默认物体碰撞是非弹性碰撞。可以通过设置 x.Body.Restitution 来决定是弹性碰撞(1)还是非弹性碰撞(0),或者介于两者之间。-This is made with Farseer Physics Engine is a small game. Play particularly simple: use the mouse to control the position of the white ball, try not to let the white ball hit the black ball. Farther from the center, scoring less.
Problems encountered by the project:
* Simulation environment and show environment is inconsistent with the length of the unit, both units need to be converted. I am using here is ConvertUnits class conversion.
* Farseer engine speed of an object is the default setting can not exceed 64. In the source* Settings.MaxTranslation set this parameter.
* Farseer engine with automatic adaptation function. Long time no action may be to "sleep" state.
* Default object collisions inelastic collision. Can be determined by setting x.Body.Restitution elastic collision is (1) or non-elastic collisions (0), or somewhere in between.
作者项目中遇到的问题:
*模拟环境和显示环境使用的长度单位不一致,需要对两者的单位进行转换。我这里使用的是 ConvertUnits 类进行转换的。
*Farseer 引擎默认设置物体运行速度是不能超过 64 的。可以在源码的 *Settings.MaxTranslation 设置此参数。
*Farseer 引擎具有自动适应功能。长时间没有操作的时候可能会进入“休眠”状态。
*默认物体碰撞是非弹性碰撞。可以通过设置 x.Body.Restitution 来决定是弹性碰撞(1)还是非弹性碰撞(0),或者介于两者之间。-This is made with Farseer Physics Engine is a small game. Play particularly simple: use the mouse to control the position of the white ball, try not to let the white ball hit the black ball. Farther from the center, scoring less.
Problems encountered by the project:
* Simulation environment and show environment is inconsistent with the length of the unit, both units need to be converted. I am using here is ConvertUnits class conversion.
* Farseer engine speed of an object is the default setting can not exceed 64. In the source* Settings.MaxTranslation set this parameter.
* Farseer engine with automatic adaptation function. Long time no action may be to "sleep" state.
* Default object collisions inelastic collision. Can be determined by setting x.Body.Restitution elastic collision is (1) or non-elastic collisions (0), or somewhere in between.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
FarseerPhysicsSilverlight.dll
SpeedGame.sln
SpeedGame.suo
SpeedGame/AccessDeniedPage.xaml
SpeedGame/AccessDeniedPage.xaml.cs
SpeedGame/App.xaml
SpeedGame/App.xaml.cs
SpeedGame/Ball.cs
SpeedGame/Bin/Debug/AppManifest.xaml
SpeedGame/Bin/Debug/de/System.Xml.Serialization.resources.dll
SpeedGame/Bin/Debug/es/System.Xml.Serialization.resources.dll
SpeedGame/Bin/Debug/FarseerPhysicsSilverlight.dll
SpeedGame/Bin/Debug/fr/System.Xml.Serialization.resources.dll
SpeedGame/Bin/Debug/it/System.Xml.Serialization.resources.dll
SpeedGame/Bin/Debug/ja/System.Xml.Serialization.resources.dll
SpeedGame/Bin/Debug/ko/System.Xml.Serialization.resources.dll
SpeedGame/Bin/Debug/ru/System.Xml.Serialization.resources.dll
SpeedGame/Bin/Debug/SpeedGame.dll
SpeedGame/Bin/Debug/SpeedGame.pdb
SpeedGame/Bin/Debug/SpeedGame.xap
SpeedGame/Bin/Debug/SpeedGameTestPage.html
SpeedGame/Bin/Debug/System.Xml.Serialization.dll
SpeedGame/Bin/Debug/System.Xml.Serialization.xml
SpeedGame/Bin/Debug/zh-Hans/System.Xml.Serialization.resources.dll
SpeedGame/Bin/Debug/zh-Hant/System.Xml.Serialization.resources.dll
SpeedGame/ConvertUnits.cs
SpeedGame/Game.cs
SpeedGame/GameScore.cs
SpeedGame/GameSettings.cs
SpeedGame/GameTime.cs
SpeedGame/Input/InputState.cs
SpeedGame/Input/KeyboardState.cs
SpeedGame/Input/MouseState.cs
SpeedGame/MainPage.xaml
SpeedGame/MainPage.xaml.cs
SpeedGame/obj/Debug/AccessDeniedPage.g.cs
SpeedGame/obj/Debug/AccessDeniedPage.g.i.cs
SpeedGame/obj/Debug/App.g.cs
SpeedGame/obj/Debug/App.g.i.cs
SpeedGame/obj/Debug/DesignTimeResolveAssemblyReferences.cache
SpeedGame/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache
SpeedGame/obj/Debug/MainPage.g.cs
SpeedGame/obj/Debug/MainPage.g.i.cs
SpeedGame/obj/Debug/ResolveAssemblyReference.cache
SpeedGame/obj/Debug/SpeedGame.csproj.FileListAbsolute.txt
SpeedGame/obj/Debug/SpeedGame.dll
SpeedGame/obj/Debug/SpeedGame.g.resources
SpeedGame/obj/Debug/SpeedGame.pdb
SpeedGame/obj/Debug/XapCacheFile.xml
SpeedGame/Properties/AppManifest.xml
SpeedGame/Properties/AssemblyInfo.cs
SpeedGame/SpeedGame.csproj
SpeedGame/Tools.cs
TestPage/SpeedGame.xap
TestPage/SpeedGameTestPage.html
SpeedGame/Bin/Debug/de
SpeedGame/Bin/Debug/es
SpeedGame/Bin/Debug/fr
SpeedGame/Bin/Debug/it
SpeedGame/Bin/Debug/ja
SpeedGame/Bin/Debug/ko
SpeedGame/Bin/Debug/ru
SpeedGame/Bin/Debug/zh-Hans
SpeedGame/Bin/Debug/zh-Hant
SpeedGame/obj/Debug/TempPE
SpeedGame/Bin/Debug
SpeedGame/obj/Debug
SpeedGame/Bin
SpeedGame/Input
SpeedGame/obj
SpeedGame/Properties
SpeedGame
TestPage
SpeedGame.sln
SpeedGame.suo
SpeedGame/AccessDeniedPage.xaml
SpeedGame/AccessDeniedPage.xaml.cs
SpeedGame/App.xaml
SpeedGame/App.xaml.cs
SpeedGame/Ball.cs
SpeedGame/Bin/Debug/AppManifest.xaml
SpeedGame/Bin/Debug/de/System.Xml.Serialization.resources.dll
SpeedGame/Bin/Debug/es/System.Xml.Serialization.resources.dll
SpeedGame/Bin/Debug/FarseerPhysicsSilverlight.dll
SpeedGame/Bin/Debug/fr/System.Xml.Serialization.resources.dll
SpeedGame/Bin/Debug/it/System.Xml.Serialization.resources.dll
SpeedGame/Bin/Debug/ja/System.Xml.Serialization.resources.dll
SpeedGame/Bin/Debug/ko/System.Xml.Serialization.resources.dll
SpeedGame/Bin/Debug/ru/System.Xml.Serialization.resources.dll
SpeedGame/Bin/Debug/SpeedGame.dll
SpeedGame/Bin/Debug/SpeedGame.pdb
SpeedGame/Bin/Debug/SpeedGame.xap
SpeedGame/Bin/Debug/SpeedGameTestPage.html
SpeedGame/Bin/Debug/System.Xml.Serialization.dll
SpeedGame/Bin/Debug/System.Xml.Serialization.xml
SpeedGame/Bin/Debug/zh-Hans/System.Xml.Serialization.resources.dll
SpeedGame/Bin/Debug/zh-Hant/System.Xml.Serialization.resources.dll
SpeedGame/ConvertUnits.cs
SpeedGame/Game.cs
SpeedGame/GameScore.cs
SpeedGame/GameSettings.cs
SpeedGame/GameTime.cs
SpeedGame/Input/InputState.cs
SpeedGame/Input/KeyboardState.cs
SpeedGame/Input/MouseState.cs
SpeedGame/MainPage.xaml
SpeedGame/MainPage.xaml.cs
SpeedGame/obj/Debug/AccessDeniedPage.g.cs
SpeedGame/obj/Debug/AccessDeniedPage.g.i.cs
SpeedGame/obj/Debug/App.g.cs
SpeedGame/obj/Debug/App.g.i.cs
SpeedGame/obj/Debug/DesignTimeResolveAssemblyReferences.cache
SpeedGame/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache
SpeedGame/obj/Debug/MainPage.g.cs
SpeedGame/obj/Debug/MainPage.g.i.cs
SpeedGame/obj/Debug/ResolveAssemblyReference.cache
SpeedGame/obj/Debug/SpeedGame.csproj.FileListAbsolute.txt
SpeedGame/obj/Debug/SpeedGame.dll
SpeedGame/obj/Debug/SpeedGame.g.resources
SpeedGame/obj/Debug/SpeedGame.pdb
SpeedGame/obj/Debug/XapCacheFile.xml
SpeedGame/Properties/AppManifest.xml
SpeedGame/Properties/AssemblyInfo.cs
SpeedGame/SpeedGame.csproj
SpeedGame/Tools.cs
TestPage/SpeedGame.xap
TestPage/SpeedGameTestPage.html
SpeedGame/Bin/Debug/de
SpeedGame/Bin/Debug/es
SpeedGame/Bin/Debug/fr
SpeedGame/Bin/Debug/it
SpeedGame/Bin/Debug/ja
SpeedGame/Bin/Debug/ko
SpeedGame/Bin/Debug/ru
SpeedGame/Bin/Debug/zh-Hans
SpeedGame/Bin/Debug/zh-Hant
SpeedGame/obj/Debug/TempPE
SpeedGame/Bin/Debug
SpeedGame/obj/Debug
SpeedGame/Bin
SpeedGame/Input
SpeedGame/obj
SpeedGame/Properties
SpeedGame
TestPage
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.