Author Topic: Flixel 2.x Slopes?  (Read 1149 times)

Ben10

  • New Member
  • *
  • Posts: 3
  • Karma: +0/-0
    • View Profile
Flixel 2.x Slopes?
« on: Wed, Oct 13, 2010 »
Hi users.

I am new to Flixel. I read a couple of posts where people got slopes working in v1.x [http://github.com/fefranca/FlxUtils]. I was wondering if someone got it working in v2.x?

Or must you override the hitLeft() and hitRight() methods inside the FlxObject class and do the movement of the player yourself?

I just want to create a default slope, can be 45. What will be perfect is to use the FlxTilemap class to create the map with some slopes in. (for horizontal scrolling)

rolandinho

  • Member
  • **
  • Posts: 39
  • Karma: +0/-0
    • View Profile
    • My Portfolio
Re: Flixel 2.x Slopes?
« Reply #1 on: Wed, Oct 13, 2010 »
i've been also trying to do slopes or some kind of terrain - but nothing worked till now.

Rybar

  • Contributor
  • ****
  • Posts: 279
  • Karma: +0/-0
    • View Profile
Re: Flixel 2.x Slopes?
« Reply #2 on: Thu, Oct 14, 2010 »

Ben10

  • New Member
  • *
  • Posts: 3
  • Karma: +0/-0
    • View Profile
Re: Flixel 2.x Slopes?
« Reply #3 on: Thu, Oct 14, 2010 »
Wow, Thanx a lot, I totally missed that post.
I will definitely look at that class.