Please please allow one-way collisions

Discuss suggestions to improve the Axel library.

Please please allow one-way collisions

Postby IQpierce » Sun Apr 20, 2014 9:44 am

I'm doing my second platformer project in Axel and I just reimplemented one-way platforms for the second time (copied/pasted some code from Flixel mostly). Please please add this to the engine itself, it's like the third thing you want in any platformer. Worst of all, the tilemap class makes it looks like it has support for it, and then it totally doesn't work, which wasted a lot of my time.
IQpierce
Private
 
Posts: 7
Joined: Mon Feb 11, 2013 7:22 am

Re: Please please allow one-way collisions

Postby Arkeus » Sun Apr 20, 2014 9:54 am

Hmm, I've used Axel's one way collision a few times successfully. Perhaps something I've done recently broke it. I'll take a look when I get a chance.

Edit:

I see some problems with side-specific collisions when not using oneWay, but with oneWay I don't currently have any issues. Eg:

Code: Select all
tile.collision = AxEntity.TOP;
tile.oneWay = true;
Image
User avatar
Arkeus
Site Admin
 
Posts: 363
Joined: Mon Mar 26, 2012 12:43 am


Return to Suggestions

Who is online

Users browsing this forum: No registered users and 1 guest

cron