kantholtz / norne

A storytelling engine
MIT License
0 stars 0 forks source link

lane.render linear gradient #9

Open kantholtz opened 10 years ago

kantholtz commented 10 years ago

Since the gradients color distribution is handled by the highest and lowest y-value at any given time, color jumps occur when the broker decides to remove or add points based on the worlds position.

A better approach would be to define the gradients values beforehand. Maybe based on the highest y-value of the lanes ground in general or a more complex object as described in #8