xurxodiz / MarioLevels

My entry for the Mario AI Championship 2012, implementing adaptive procedural level generation. Holds 1st place at the all-time points and percentage tally.
MIT License
2 stars 1 forks source link

Randomize enemy position #52

Closed xurxodiz closed 12 years ago

xurxodiz commented 12 years ago

The genes for enemy place them in a two-block.

The criteria for which position to put them, x or x+1, is to pick the even number.

That creates a situation in which when stomping on an enemy, you spring directly onto the next one. That's fun, but also uncontrollable. Besides, sometimes you spring into a gap :(

The criteria should place the enemy randomly between x and x+1.

xurxodiz commented 12 years ago

We should deal with #56 first, since the enemy placing functions are going to be condensed and parametrized.