0
\$\begingroup\$

(Beginner questions)
How do you setup the ramp with the tiles in unity? The graphics and the behavior?

I've been checking this free tileset:

enter image description here

In the image it has connected ramps

I cannot seem to get that both visually and programatically. enter image description here

So from a visual perspective, the offset is completely wrong and the tiles don't connect.

From a gameplay programmatic perspective how do you give it the property of a ramp in Unity?

What are the best practices for this? It seems like something that would be straight forward and probably is.

The game doesn't use physics and ideally I would like to avoid that but we wanna give the illusion of going down and up the ramp. If using physics is the most generic solution/best-practice, that would be fine.

Here are the tiles:

enter image description here

Sadly, that is how it looks in Unity. On a side-note, aligning that to the actual tile-set would be useful too. enter image description here

\$\endgroup\$
2
  • \$\begingroup\$ If you're not using physics, then the details of how the character interacts with the ramp will depend on your character control script. Are you able to edit your question to show that? Linking to the source for the free tileset you're using would also help users test with it to verify that their advice will correctly solve the problem. \$\endgroup\$ Commented Aug 22 at 18:43
  • \$\begingroup\$ @DMGregory - good point, I can revert to using physics. I was hoping for a generic solution, approach, best practice. This is for a quick game jam. Hard to believe it's been ten years since I've been heavily active here. Good to see you. :) \$\endgroup\$ Commented Aug 22 at 19:12

0

You must log in to answer this question.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.