项目作者: needim

项目描述 :
Creating fake 3D world with 2D colliders and sprites in Unity
高级语言: C#
项目地址: git://github.com/needim/Kit25D.git
创建时间: 2017-12-18T22:43:27Z
项目社区:https://github.com/needim/Kit25D

开源协议:MIT License

下载


What’s the Kit25D?



https://www.youtube.com/watch?v=jAVQGz3MJ1E

Basically, It allows you to create a fake 3D world with 2D colliders and sprites. I have to say, it has a lot of tricks to do that. If you wanna use this kit, sometimes you have to twist your brain a little bit. The kit heavily depends on sprite masks (for shadow) & sprite pivots (for sorting). And while you are preparing your prefabs, you can have some hard time.

Features

  • Player Movement
    • X, Y and FakeZ (for jump)
    • Raycast based collision detection
    • Slopes Handling
  • Environment
    • Static obstacles (like trees, walls with no roof)
    • Dynamic obstacles (like boxes, short walls, player can jump on)
    • Floating Platforms (player can jump on, player can’t jump from under)
  • Project Settings -> Time -> Fixed Timestamp = 0.01
  • Add Layers (Obstacle)
  • Add Tags (LevelBounds, JumpBlocker)