文件名称:SilverlightSpeedGame
- 所属分类:
- 游戏引擎
- 资源属性:
- [Windows] [Visual.Net] [源码]
- 上传时间:
- 2012-11-26
- 文件大小:
- 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
.........\AccessDeniedPage.xaml
.........\AccessDeniedPage.xaml.cs
.........\App.xaml
.........\App.xaml.cs
.........\Ball.cs
.........\.in\Debug\AppManifest.xaml
.........\...\.....\de\System.Xml.Serialization.resources.dll
.........\...\.....\es\System.Xml.Serialization.resources.dll
.........\...\.....\FarseerPhysicsSilverlight.dll
.........\...\.....\fr\System.Xml.Serialization.resources.dll
.........\...\.....\it\System.Xml.Serialization.resources.dll
.........\...\.....\ja\System.Xml.Serialization.resources.dll
.........\...\.....\ko\System.Xml.Serialization.resources.dll
.........\...\.....\ru\System.Xml.Serialization.resources.dll
.........\...\.....\SpeedGame.dll
.........\...\.....\SpeedGame.pdb
.........\...\.....\SpeedGame.xap
.........\...\.....\SpeedGameTestPage.html
.........\...\.....\System.Xml.Serialization.dll
.........\...\.....\System.Xml.Serialization.xml
.........\...\.....\zh-Hans\System.Xml.Serialization.resources.dll
.........\...\.....\......t\System.Xml.Serialization.resources.dll
.........\ConvertUnits.cs
.........\Game.cs
.........\GameScore.cs
.........\GameSettings.cs
.........\GameTime.cs
.........\Input\InputState.cs
.........\.....\KeyboardState.cs
.........\.....\MouseState.cs
.........\MainPage.xaml
.........\MainPage.xaml.cs
.........\obj\Debug\AccessDeniedPage.g.cs
.........\...\.....\AccessDeniedPage.g.i.cs
.........\...\.....\App.g.cs
.........\...\.....\App.g.i.cs
.........\...\.....\DesignTimeResolveAssemblyReferences.cache
.........\...\.....\DesignTimeResolveAssemblyReferencesInput.cache
.........\...\.....\MainPage.g.cs
.........\...\.....\MainPage.g.i.cs
.........\...\.....\ResolveAssemblyReference.cache
.........\...\.....\SpeedGame.csproj.FileListAbsolute.txt
.........\...\.....\SpeedGame.dll
.........\...\.....\SpeedGame.g.resources
.........\...\.....\SpeedGame.pdb
.........\...\.....\XapCacheFile.xml
.........\Properties\AppManifest.xml
.........\..........\AssemblyInfo.cs
.........\SpeedGame.csproj
.........\Tools.cs
TestPage\SpeedGame.xap
........\SpeedGameTestPage.html
SpeedGame\Bin\Debug\de
.........\...\.....\es
.........\...\.....\fr
.........\...\.....\it
.........\...\.....\ja
.........\...\.....\ko
.........\...\.....\ru
.........\...\.....\zh-Hans
.........\...\.....\zh-Hant
.........\obj\Debug\TempPE
.........\Bin\Debug
.........\obj\Debug
.........\Bin
.........\Input
.........\obj
.........\Properties
SpeedGame
TestPage
SpeedGame.sln
SpeedGame.suo
.........\AccessDeniedPage.xaml
.........\AccessDeniedPage.xaml.cs
.........\App.xaml
.........\App.xaml.cs
.........\Ball.cs
.........\.in\Debug\AppManifest.xaml
.........\...\.....\de\System.Xml.Serialization.resources.dll
.........\...\.....\es\System.Xml.Serialization.resources.dll
.........\...\.....\FarseerPhysicsSilverlight.dll
.........\...\.....\fr\System.Xml.Serialization.resources.dll
.........\...\.....\it\System.Xml.Serialization.resources.dll
.........\...\.....\ja\System.Xml.Serialization.resources.dll
.........\...\.....\ko\System.Xml.Serialization.resources.dll
.........\...\.....\ru\System.Xml.Serialization.resources.dll
.........\...\.....\SpeedGame.dll
.........\...\.....\SpeedGame.pdb
.........\...\.....\SpeedGame.xap
.........\...\.....\SpeedGameTestPage.html
.........\...\.....\System.Xml.Serialization.dll
.........\...\.....\System.Xml.Serialization.xml
.........\...\.....\zh-Hans\System.Xml.Serialization.resources.dll
.........\...\.....\......t\System.Xml.Serialization.resources.dll
.........\ConvertUnits.cs
.........\Game.cs
.........\GameScore.cs
.........\GameSettings.cs
.........\GameTime.cs
.........\Input\InputState.cs
.........\.....\KeyboardState.cs
.........\.....\MouseState.cs
.........\MainPage.xaml
.........\MainPage.xaml.cs
.........\obj\Debug\AccessDeniedPage.g.cs
.........\...\.....\AccessDeniedPage.g.i.cs
.........\...\.....\App.g.cs
.........\...\.....\App.g.i.cs
.........\...\.....\DesignTimeResolveAssemblyReferences.cache
.........\...\.....\DesignTimeResolveAssemblyReferencesInput.cache
.........\...\.....\MainPage.g.cs
.........\...\.....\MainPage.g.i.cs
.........\...\.....\ResolveAssemblyReference.cache
.........\...\.....\SpeedGame.csproj.FileListAbsolute.txt
.........\...\.....\SpeedGame.dll
.........\...\.....\SpeedGame.g.resources
.........\...\.....\SpeedGame.pdb
.........\...\.....\XapCacheFile.xml
.........\Properties\AppManifest.xml
.........\..........\AssemblyInfo.cs
.........\SpeedGame.csproj
.........\Tools.cs
TestPage\SpeedGame.xap
........\SpeedGameTestPage.html
SpeedGame\Bin\Debug\de
.........\...\.....\es
.........\...\.....\fr
.........\...\.....\it
.........\...\.....\ja
.........\...\.....\ko
.........\...\.....\ru
.........\...\.....\zh-Hans
.........\...\.....\zh-Hant
.........\obj\Debug\TempPE
.........\Bin\Debug
.........\obj\Debug
.........\Bin
.........\Input
.........\obj
.........\Properties
SpeedGame
TestPage