playMaker

Author Topic: [Request] 2D plattformer controller  (Read 9998 times)

Robiwan

  • Playmaker Newbie
  • *
  • Posts: 10
[Request] 2D plattformer controller
« 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

tweettopix

  • Playmaker Newbie
  • *
  • Posts: 1

Mav_Rick

  • Playmaker Newbie
  • *
  • Posts: 4
Re: [Request] 2D plattformer controller
« Reply #2 on: November 20, 2013, 07:09:25 PM »
Thanks for sharing that link tweettopix, much appreciated.

elvis75k

  • Beta Group
  • Junior Playmaker
  • *
  • Posts: 97
    • nRender
Re: [Request] 2D plattformer controller
« Reply #3 on: November 22, 2013, 07:27:42 AM »
You must take a look at this video

And here is the Asset
« Last Edit: November 22, 2013, 07:29:50 AM by elvis75k »

semie

  • Playmaker Newbie
  • *
  • Posts: 21
Re: [Request] 2D plattformer controller
« Reply #4 on: November 23, 2013, 04:32:17 AM »
@ tweettopix, great share, thank you.

gheeDough

  • Playmaker Newbie
  • *
  • Posts: 39
    • indie game school
Re: [Request] 2D plattformer controller
« Reply #5 on: December 01, 2013, 09:30:52 PM »
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?

Lane

  • Administrator
  • Hero Member
  • *****
  • Posts: 2511
  • Mender of the past
    • Cleverous
Re: [Request] 2D plattformer controller
« Reply #6 on: December 01, 2013, 10:27:54 PM »
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?
Products by Cleverous
|| Vault Core : Database
|| Vault Inventory : Multiplayer Inventory
|| Vault Attributes : Character Stats
|| That Hurt! : Dmg Floaties
|| Quinn : 3D

gheeDough

  • Playmaker Newbie
  • *
  • Posts: 39
    • indie game school
Re: [Request] 2D plattformer controller
« Reply #7 on: December 01, 2013, 11:16:25 PM »
Physics-based, like in the video that elvis75K linked to above, but with PM  :)

elvis75k

  • Beta Group
  • Junior Playmaker
  • *
  • Posts: 97
    • nRender
Re: [Request] 2D plattformer controller
« Reply #8 on: December 20, 2013, 06:51:56 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)
 
« Last Edit: December 20, 2013, 07:34:13 PM by elvis75k »

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: [Request] 2D plattformer controller
« Reply #9 on: December 21, 2013, 05:09:47 AM »
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

elvis75k

  • Beta Group
  • Junior Playmaker
  • *
  • Posts: 97
    • nRender
Re: [Request] 2D plattformer controller
« Reply #10 on: December 23, 2013, 09:47:14 AM »
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)

frozze

  • Playmaker Newbie
  • *
  • Posts: 25
Re: [Request] 2D plattformer controller
« Reply #11 on: June 05, 2014, 11:29:44 AM »
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?

darekk

  • Playmaker Newbie
  • *
  • Posts: 2
Re: [Request] 2D plattformer controller
« Reply #12 on: August 23, 2014, 06:08:51 PM »
@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