Playmaker Forum
PlayMaker Help & Tips => PlayMaker Tutorials => Topic started by: Robiwan on November 16, 2013, 08:04:36 PM
-
Being a newbie to both Unity and Playmaker I would love to see a tutorial on how to make a 2D plattformer controler like this does for 3D http://www.hutonggames.com/tutorials_getting_started.php
-
http://www.youtube.com/channel/UCzKY7wAM9kmRl62UKGzlv9Q/videos
-
Thanks for sharing that link tweettopix, much appreciated.
-
You must take a look at this video (http://t.co/sezyQVmTl4)
And here is the Asset (https://github.com/prime31/CharacterController2D)
-
@ tweettopix, great share, thank you.
-
Unfortunately, one of these is based on pre-4.3 and the other is not using Playmaker.
Is there anything out there post-4.3 with Playmaker?
-
iirc Jean is working on a port of the new 2D example game and making new actions for the 2D system as needed. I think thats the case, correct me if I'm wrong.
Are you looking for a physics controller or something non physics based?
-
Physics-based, like in the video that elvis75K linked to above, but with PM :)
-
Trying to convert the prime31 CharacterController2D sample to PM i've encounterd so many problems. To summarize:
1) too many states to set up for the inputs (R arrow is up while L arrow is down or both keys down and rise the other to behave like a flip flop) - this took about 20 hours
2) rayCast is very difficult indeed to set up for situation like 45 degree walls, platform borders, layers..
3) impossible to do the math (arcs included) for the skin width, even with the very well commented script (CharacterContoller2D.cs)
4) jittering of the sprite when camera follow (?)
Now, I would like to ask @jeanfabre to conver this prime31 sample that is truly amazing instead of the unity official 2D platform tutorial that is a beast compared to this and it may takes forever to do..
Do you agree with me? Is my wish for these holidays :'(
edited: added stuff
input logic (maybe it's the wrong way) of my input controller that resembles many of the contemporary indie platform games
https://db.tt/LMPD9KWV screenshot
state of the art
https://db.tt/GJlhv3GQ web build (raycast works for the floor, physic do the collision on top but you can hang on the walls)
-
Hi,
I have added this as a trello task. Please up vote to show your interest.
https://trello.com/c/GMIZOShV/43-prime31-character-controller-2d
bye,
Jean
-
thank you Jean, in the meantime i will continue to develop it, so in the end i can compare with your version :)
NEWS: temporarily solved the character jittering changing 'Rigidbody 2D' to interpolate (dropbox link updated)
-
thank you Jean, in the meantime i will continue to develop it, so in the end i can compare with your version :)
NEWS: temporarily solved the character jittering changing 'Rigidbody 2D' to interpolate (dropbox link updated)
Did you end up translating it to playmaker?
-
@e
thank you Jean, in the meantime i will continue to develop it, so in the end i can compare with your version :)
NEWS: temporarily solved the character jittering changing 'Rigidbody 2D' to interpolate (dropbox link updated)
Hi elvis75k
Can You share Your "state of the art" little project from post above ? If not, maybe You show us Your playmaker's config in this project (states, actions etc)?
Maybe could You make a tutorial. This example from above is very nice.
Greetings