playMaker

Author Topic: 2D Top down game perspective  (Read 2683 times)

Leudge

  • Playmaker Newbie
  • *
  • Posts: 8
2D Top down game perspective
« on: September 08, 2014, 01:55:08 AM »
First of all, excuse my english, i'm french  :)
Hello,
I'm trying to make to make a top down zelda like game in 2D, but i've a problem : I'd like my character to be in front of and behind an object when i move around it. How can i do that with unity and playmaker?

Thank you

Neoisrael

  • Playmaker Newbie
  • *
  • Posts: 34
Re: 2D Top down game perspective
« Reply #1 on: September 08, 2014, 02:10:55 AM »
Ur charecter In front and behind ? Can you explain? U want to position the camera somehow ?

Leudge

  • Playmaker Newbie
  • *
  • Posts: 8

Neoisrael

  • Playmaker Newbie
  • *
  • Posts: 34
Re: 2D Top down game perspective
« Reply #3 on: September 08, 2014, 01:29:37 PM »
hmm... why dont u just add box coliiders in the place where the player cant enter Like in the middle of the tree... hmm not sure if its the best option... but u could use 3d box collider for this...

Neoisrael

  • Playmaker Newbie
  • *
  • Posts: 34
Re: 2D Top down game perspective
« Reply #4 on: September 08, 2014, 01:57:22 PM »
hmm... another way is realy to use 2 parts of the sprites cut in 2....
on will be on sorting layer 1 and the other on 3
the player will be 2

im not really good in 2D so... maybe theres a better way

Leudge

  • Playmaker Newbie
  • *
  • Posts: 8
Re: 2D Top down game perspective
« Reply #5 on: September 08, 2014, 06:41:46 PM »
Thank you, I'll try that :)