2d ramp for platformer

Dr. Scorpio

Member
I’m still working on this Castlevania mod, and I want to make a “ramp” simulate stairs leading to Dracula’s throne room, using “wall”. The problem is, I don’t know how to make “wall” work like a ramp if that’s possible. I understand how to use “wall” to make barriers, platforms, and, obstacles to jump over. But I’m having trouble understanding this, “wall {xpos} {zpos} {upperleft} {lowerleft} {upperright} {lowerright} {depth} {alt} {type}”
 

Attachments

Hey @Dr. Scorpio.

Walls are always flat on the vertical plane. They don't work as ramps natively. You'd have to script that, or pile on dozens and dozens of them. For native ramp support, you will want to use Basemap. It's in the manual with a visual guide IIRC.

DC
 
Smh! I don’t know how I missed that! Thank-you I know how to get to work. I did this….
basemap 60 205 5 5 5 5
basemap 65 205 5 5 10 10
basemap 70 205 5 5 15 15
basemap 75 205 5 5 20 20
etc…
The only problem is, the “walkoff anim” plays when you try to walk down the stairs.
Hey @Dr. Scorpio.

Walls are always flat on the vertical plane. They don't work as ramps natively. You'd have to script that, or pile on dozens and dozens of them. For native ramp support, you will want to use Basemap. It's in the manual with a visual guide IIRC.

DC
Smh! I don’t know how I missed that! Thank-you I know how to get to work. I did this….
basemap 60 205 5 5 5 5
basemap 65 205 5 5 10 10
basemap 70 205 5 5 15 15
basemap 75 205 5 5 20 20
etc…
The only problem is, the “walkoff anim” plays when you try to walk down the stairs,
 
Why do you declare multiple basemaps? you only need one basemap for your stairs, from ground to top of stairs.

BTW if you need example of proper basemap and wall settings combo, here's a good one:
Basemap.png

Yes, this is the panel you declare in your level text.
 
Back
Top Bottom