Hello,
my name is David, and I’m the founder of BatzStudio, and maker of QubeFlip .
Since the Unity3D 4.3 has come out with all 2D tools, I’ve decided to make a custom 2D Character Controller for my upcoming game (heavily inspired by Tomba series, Mark of the Ninja and similar), and also, to use that project to finally start using C# for coding in Unity3D.
Although there are some great controller scripts available, I’ll do my best to write my own.
First goals, to hopefully implement in this week are:
Thanks for checking out.
The “jittery” thing is probably due physics calculations in “FixedUpdate” because the current mesh is directly a child of the controller, just like a placeholder for proper model. The true model will have some kind of interpolation when following the controller. +I’ll try to work out better script for camera.
@order66 - Do you mean hanging on a “pink dots” ? or some kind of bug? That with the pink dots is like, when a character falls of the roof, and grabs/hangs on the ledge… In this demo it’s an overkill though, but I have an idea for a future game based on this controller, so I’ve implemented it
I’ve fixed the camera issue, it now follows player quite smoothly.
Also here is the list of improvements:
-Different behavior on different surfaces (ice, mud, steps etc.)
-Crouching/crawling (still plenty room for improvement)
-Bit more natural “hanging trigger”
-Dashing (while holding shift, not available on mud and ice)
-Added trail renderer to player, so i can track the look of jumping “curve”
-Hanging / “hand walking” on the rail/rope
Task for this week:
-Improve crouching, add sliding function too
-FINALLY make proper climbing/wall jump
-Enable interaction with physics enabled objects (boxes, balls, seesaws etc.)
I’m curious as well if there is going to be any kind of updates or release for this. It looks really well made and it would be perfect for some of the stuff I’ve been working on.
Sorry for a delay, I had some other projects to finish, so I wasn’t able to make any updates util few days ago.
Anyway, I rewrote the whole controller.
You can check the progress here (also there is a playable demo).
Once again, sorry for the delay. From now on, this is pretty much my main project, so updates will be available probably every week.
added different surface types (hard/soft, slippery/normal/sticky)
added breakable tiles
added a slight bounce when landing on hard surfaces from the long fall (later, this will reduce players health)
player can now jump off any wall
player can jump off when moving on horizontal poles/pipes/ropes
camera now adjust according to players speed and direction, for example when player is sprinting, camera will reveal larger portion of the level ahead of the player, allowing him better reaction
Please comment and critique!
P.S. please note that this is not a proper level, I’ve only made this to test various gameplay elements