实例介绍
Unity 2D Platformer Controller
Unity 2D平台游戏控制器是一个可定制的2D平台游戏引擎,处理双跳、墙跳和角落抓取等机制。包括一个玩家可控制的预制体,可立即放置到任何场景中提供支持。
【实例截图】
【核心代码】
文件清单
└── Unity-2D-Platformer-Controller-515ad9e42249cfeb068d214f7b859512ae39abe0
├── Assets
│ ├── PC2D
│ │ ├── Animation
│ │ │ ├── Basic Player Controller.controller
│ │ │ ├── Basic Player Controller.controller.meta
│ │ │ ├── Cling.anim
│ │ │ ├── Cling.anim.meta
│ │ │ ├── Dash.anim
│ │ │ ├── Dash.anim.meta
│ │ │ ├── Fall.anim
│ │ │ ├── Fall.anim.meta
│ │ │ ├── Idle.anim
│ │ │ ├── Idle.anim.meta
│ │ │ ├── Jump.anim
│ │ │ ├── Jump.anim.meta
│ │ │ ├── On Corner.anim
│ │ │ ├── On Corner.anim.meta
│ │ │ ├── Slip.anim
│ │ │ ├── Slip.anim.meta
│ │ │ ├── Walk.anim
│ │ │ └── Walk.anim.meta
│ │ ├── Animation.meta
│ │ ├── Editor
│ │ │ ├── PlatformerMotor2DEditor.cs
│ │ │ └── PlatformerMotor2DEditor.cs.meta
│ │ ├── Editor.meta
│ │ ├── Example
│ │ │ ├── CameraFollow.cs
│ │ │ ├── CameraFollow.cs.meta
│ │ │ ├── DifferentSpeeds
│ │ │ │ ├── DifferentSpeeds.cs
│ │ │ │ ├── DifferentSpeeds.cs.meta
│ │ │ │ ├── DifferentSpeeds.unity
│ │ │ │ └── DifferentSpeeds.unity.meta
│ │ │ ├── DifferentSpeeds.meta
│ │ │ ├── LadderBody.cs
│ │ │ ├── LadderBody.cs.meta
│ │ │ ├── Ladders
│ │ │ │ ├── Ladders.unity
│ │ │ │ └── Ladders.unity.meta
│ │ │ ├── Ladders.meta
│ │ │ ├── LadderZone.cs
│ │ │ ├── LadderZone.cs.meta
│ │ │ ├── Monitor UI.prefab
│ │ │ ├── Monitor UI.prefab.meta
│ │ │ ├── MotorMonitor.cs
│ │ │ ├── MotorMonitor.cs.meta
│ │ │ ├── Moving Platforms
│ │ │ │ ├── Moving Platforms.unity
│ │ │ │ ├── Moving Platforms.unity.meta
│ │ │ │ ├── SimpleBoost.cs
│ │ │ │ ├── SimpleBoost.cs.meta
│ │ │ │ ├── SimpleCollapsable.cs
│ │ │ │ ├── SimpleCollapsable.cs.meta
│ │ │ │ ├── SimpleLeftRight.cs
│ │ │ │ ├── SimpleLeftRight.cs.meta
│ │ │ │ ├── SimpleUpDown.cs
│ │ │ │ └── SimpleUpDown.cs.meta
│ │ │ ├── Moving Platforms.meta
│ │ │ ├── One Way Platforms
│ │ │ │ ├── One Way Platforms.unity
│ │ │ │ ├── One Way Platforms.unity.meta
│ │ │ │ ├── OWP.prefab
│ │ │ │ └── OWP.prefab.meta
│ │ │ ├── One Way Platforms.meta
│ │ │ ├── Platformer
│ │ │ │ ├── Platformer.unity
│ │ │ │ └── Platformer.unity.meta
│ │ │ ├── Platformer.meta
│ │ │ ├── RestrictedArea.cs
│ │ │ ├── RestrictedArea.cs.meta
│ │ │ ├── Simple AI
│ │ │ │ ├── SimpleAI.cs
│ │ │ │ ├── SimpleAI.cs.meta
│ │ │ │ ├── Simple AI.prefab
│ │ │ │ ├── Simple AI.prefab.meta
│ │ │ │ ├── Simple AI.unity
│ │ │ │ └── Simple AI.unity.meta
│ │ │ ├── Simple AI.meta
│ │ │ ├── Slopes
│ │ │ │ ├── Slopes.unity
│ │ │ │ └── Slopes.unity.meta
│ │ │ ├── Slopes.meta
│ │ │ ├── SpriteDebug.cs
│ │ │ ├── SpriteDebug.cs.meta
│ │ │ ├── Triggers
│ │ │ │ ├── MessageOnCollision.cs
│ │ │ │ ├── MessageOnCollision.cs.meta
│ │ │ │ ├── Triggers.unity
│ │ │ │ └── Triggers.unity.meta
│ │ │ └── Triggers.meta
│ │ ├── Example.meta
│ │ ├── Prefabs
│ │ │ ├── Basic Player Controller.prefab
│ │ │ ├── Basic Player Controller.prefab.meta
│ │ │ ├── Collapsable Platform.prefab
│ │ │ ├── Collapsable Platform.prefab.meta
│ │ │ ├── Left Right Moving Platform.prefab
│ │ │ ├── Left Right Moving Platform.prefab.meta
│ │ │ ├── Up Down Moving Platform.prefab
│ │ │ └── Up Down Moving Platform.prefab.meta
│ │ ├── Prefabs.meta
│ │ ├── Scripts
│ │ │ ├── EasingFunctions.cs
│ │ │ ├── EasingFunctions.cs.meta
│ │ │ ├── Globals.cs
│ │ │ ├── Globals.cs.meta
│ │ │ ├── MovingPlatformMotor2D.cs
│ │ │ ├── MovingPlatformMotor2D.cs.meta
│ │ │ ├── PlatformerAnimation2D.cs
│ │ │ ├── PlatformerAnimation2D.cs.meta
│ │ │ ├── PlatformerMotor2D.cs
│ │ │ ├── PlatformerMotor2D.cs.meta
│ │ │ ├── PlayerController2D.cs
│ │ │ └── PlayerController2D.cs.meta
│ │ ├── Scripts.meta
│ │ ├── Sprites
│ │ │ ├── A-slope.psd
│ │ │ ├── A-slope.psd.meta
│ │ │ ├── Ninja.psd
│ │ │ ├── Ninja.psd.meta
│ │ │ ├── Player
│ │ │ │ ├── Player_0000_Wall-Cling.png
│ │ │ │ ├── Player_0000_Wall-Cling.png.meta
│ │ │ │ ├── Player_0001_Falling.png
│ │ │ │ ├── Player_0001_Falling.png.meta
│ │ │ │ ├── Player_0002_Jump.png
│ │ │ │ ├── Player_0002_Jump.png.meta
│ │ │ │ ├── Player_0003_Sliding.png
│ │ │ │ ├── Player_0003_Sliding.png.meta
│ │ │ │ ├── Player_0004_Run-1.png
│ │ │ │ ├── Player_0004_Run-1.png.meta
│ │ │ │ ├── Player_0005_Run-2.png
│ │ │ │ ├── Player_0005_Run-2.png.meta
│ │ │ │ ├── Player_0006_Run-3.png
│ │ │ │ ├── Player_0006_Run-3.png.meta
│ │ │ │ ├── Player_0007_Run-4.png
│ │ │ │ ├── Player_0007_Run-4.png.meta
│ │ │ │ ├── Player_0008_Run-5.png
│ │ │ │ ├── Player_0008_Run-5.png.meta
│ │ │ │ ├── Player_0009_Idle.png
│ │ │ │ ├── Player_0009_Idle.png.meta
│ │ │ │ ├── Player_0010_Ball.png
│ │ │ │ ├── Player_0010_Ball.png.meta
│ │ │ │ ├── Player_0011_Dash.png
│ │ │ │ ├── Player_0011_Dash.png.meta
│ │ │ │ ├── Player_0012_On-Corner-.png
│ │ │ │ └── Player_0012_On-Corner-.png.meta
│ │ │ ├── Player.meta
│ │ │ ├── SlopedEnvironment2.psd
│ │ │ ├── SlopedEnvironment2.psd.meta
│ │ │ ├── SlopedEnvironment.png
│ │ │ ├── SlopedEnvironment.png.meta
│ │ │ ├── SlopedEnvironment.psd
│ │ │ ├── SlopedEnvironment.psd.meta
│ │ │ ├── Square.psd
│ │ │ ├── Square.psd.meta
│ │ │ ├── V-Slope.psd
│ │ │ └── V-Slope.psd.meta
│ │ └── Sprites.meta
│ └── PC2D.meta
├── LICENSE.txt
├── ProjectSettings
│ ├── AudioManager.asset
│ ├── ClusterInputManager.asset
│ ├── DynamicsManager.asset
│ ├── EditorBuildSettings.asset
│ ├── EditorSettings.asset
│ ├── GraphicsSettings.asset
│ ├── InputManager.asset
│ ├── NavMeshAreas.asset
│ ├── NavMeshLayers.asset
│ ├── NetworkManager.asset
│ ├── Physics2DSettings.asset
│ ├── ProjectSettings.asset
│ ├── ProjectVersion.txt
│ ├── QualitySettings.asset
│ ├── TagManager.asset
│ ├── TimeManager.asset
│ ├── UnityAdsSettings.asset
│ └── UnityConnectSettings.asset
└── README.md
19 directories, 164 files
相关软件
小贴士
感谢您为本站写下的评论,您的评论对其它用户来说具有重要的参考价值,所以请认真填写。
- 类似“顶”、“沙发”之类没有营养的文字,对勤劳贡献的楼主来说是令人沮丧的反馈信息。
- 相信您也不想看到一排文字/表情墙,所以请不要反馈意义不大的重复字符,也请尽量不要纯表情的回复。
- 提问之前请再仔细看一遍楼主的说明,或许是您遗漏了。
- 请勿到处挖坑绊人、招贴广告。既占空间让人厌烦,又没人会搭理,于人于己都无利。
关于好例子网
本站旨在为广大IT学习爱好者提供一个非营利性互相学习交流分享平台。本站所有资源都可以被免费获取学习研究。本站资源来自网友分享,对搜索内容的合法性不具有预见性、识别性、控制性,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,平台无法对用户传输的作品、信息、内容的权属或合法性、安全性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论平台是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二与二十三条之规定,若资源存在侵权或相关问题请联系本站客服人员,点此联系我们。关于更多版权及免责申明参见 版权及免责申明
网友评论
我要评论