Tilted platforms in a platformer? [love.physics]

Questions about the LÖVE API, installing LÖVE and other support related questions go here.
Forum rules
Before you make a thread asking for help, read this.
Post Reply
User avatar
IndieLöver
Prole
Posts: 29
Joined: Mon Jun 10, 2013 8:49 am

Tilted platforms in a platformer? [love.physics]

Post by IndieLöver »

Hi,

I'm making a platformer with a few of my friends (3 artists), and from an artistic standpoint it would be awesome to have tilted platforms (collapsed pillars, hills and whatnot). There will be a throwing mechanic and some physics puzzles, that's why I decided to give love.physics a shot. However, this seems to be trickier than I thought, though.

So, as it currently is, player cannot climb up a hill without jumping constantly, which is silly. And I know, I haven't even set any physics callbacks or a restriction to jumping only on ground, but I only started yesterday. This is a school project and we have 3 weeks time to have *something* finished and playable. The prototype doesn't yet have my friends' art in it, but I can assure you, when the game does, it'll look gorgeus!

Do you have any solutions to this problem? Or any feedback on what I'm doing wrong? (I know, the tiles' code will move to something like level.lua later, I just dumbed the code there for the time being.)

Here's some .love for you!
physics testing.love
(5.94 KiB) Downloaded 112 times
Thanks in advance! :awesome:
Post Reply

Who is online

Users browsing this forum: No registered users and 49 guests