Grow the apple!
The goal of this game is to get the apple safely through the growing season before
it can be harvested and put in a apple box. To achieve this, there must be sunshine
(earns 40 points at each detected collision) and rain(earns 100 points at each detected collision).
Two important growth conditions. What should be avoided on the other hand is an evil plant disease attack
that can destroy the harvest (= the game is lost!)
Left and right navigation with arrow keys: ← →
Up and down with arrow keys: ↑ ↓
The game is structured as a kineticjs game. Rain (0.2) and sunshine (0.8) rolls verticallly and randomly down
in a kineticjs loop as platforms that serve as elevators.
Detected collision is visually expressed in a temporary acceleration of the platforms (=faster frame rate).
(We could do it more difficult and let the platforms move horizontally (and mayb randomly) as well.
We also could introduce other kinds of evilness.).
All game management (detections, status etc) runs in one single Kinetic.Animation loop ,
except the plant disease which has its own proper animation loop.
Game is succeeded at 500 points in total.
© Arrangement november 2014, netscale.dk
Navigation with the classical arrow keys goes at a cost of (-5) that quickly can eat up the opening buffer: 300 points total.