Home Assignment 2 (due 26.10)
- Make sure your application takes care of lifecycle changes (with this home assignment, you should lock the phone to only support a single orientation)
- if you fail to meet this requirement you will receive a penalty of -5 pts
- Based on the orientation of the device, move an object (e.g. a ball) horizontally on a surface (see the images below). (10pts)
- A touch event should make the object jump. (5 pts)
- There should be an obstacle somewhere on the surface. Using the jump functionality, the user should be able to jump over the obstacle and continue moving. (10 pts)
![](https://courses.cs.ut.ee/2018/MAD/Main/HomeAssignment2?action=download&upname=homeassignment2_left.jpg)
![](https://courses.cs.ut.ee/2018/MAD/Main/HomeAssignment2?action=download&upname=homeassignment2_mid.jpg)
![](https://courses.cs.ut.ee/2018/MAD/Main/HomeAssignment2?action=download&upname=homeassignment2_right.jpg)