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 ...



Top 50 recent answers are included