Tag Info

New answers tagged

2

Before randomly placing the platforms you need to take into consideration some important values: Character's height Character's width Jump's maximum height Jump's maximum distance Minimum distance to run for optimal jump between platforms at the same level With that in mind you craft your platform generator floor by floor, starting by the ground floor ...


2

I'd try something like this: Go from the start to the end and place the platforms at semi-random positions. Ensure this basic level is solvable, i.e. the end may be reached. Once that's done, use additional iterations to add more optional platforms. When placing those, you can verify that they're not too close or don't overlap for example. As an ...


1

I think you are approaching this the wrong way. Box2D is doing exactly what you want it to do, the problem may be with what you want. I assume you are applying gravity? If the force of gravity is less than the upward velocity from your character running against the slope, you are probably applying too much force (or too little gravity) while making your ...



Top 50 recent answers are included