I'm currently working on a mod that adds new creative gels. In my latest one, climbing gel, I am having a problem with Mario knowing he's on a tile with gel or a non-gel tile.
I'm not entirely certain how I should do this.
Checking gel on a tile?
- BobTheLawyer
- Posts: 2232
- Joined: 01 May 2012, 21:00
the problem is he's not colliding with the ceiling anymore when climbing gel occurs.BobTheLawyer wrote:http://pastebin.com/itFCYwXT
Here you go.
Put it in ceil collide.
I hope it works...
- BobTheLawyer
- Posts: 2232
- Joined: 01 May 2012, 21:00
Then find a way to keep him colliding...Turtle95 wrote:the problem is he's not colliding with the ceiling anymore when climbing gel occurs.BobTheLawyer wrote:http://pastebin.com/itFCYwXT
Here you go.
Put it in ceil collide.
I hope it works...
EDIT: Actually you can see if it is a few y spaces above him if you can figure out how....
I can't. The way I'd check is only usable on map[x][y]["gels"]["top"] which is the default rotation of the gels.BobTheLawyer wrote:Then find a way to keep him colliding...Turtle95 wrote:the problem is he's not colliding with the ceiling anymore when climbing gel occurs.BobTheLawyer wrote:http://pastebin.com/itFCYwXT
Here you go.
Put it in ceil collide.
I hope it works...
EDIT: Actually you can see if it is a few y spaces above him if you can figure out how....