Project: canvas
Task (challenging): Every 5 seconds, there is a probability of generating an elliptical gravity field on the ground, with the height of the ellipse center at ground level, moves with floor. The width of the gravity field is three times the pipe spacing, height is 40, with a probability of 'store.fieldRandomRate' (default value 0.25, variable). The data of the field stores in 'store.field', and there will only be one field on the canvas at the same time, when the x of the bird is within the range of the field, it takes effect. The field type 'Zero': has a color that transitions from blue on the outside to black in the middle, The entire field glows with obvious special effects, the effect is that the bird's velocity will not > 0 within this distance.