Target platform: Android.
There are a player and NPC(Non-Player Character).
The player has three ships(shape of basic cones).
NPC's team are one big Basic Cube and three small Basic Cones(spaceships).
I want you to create a timer.
15 seconds for both to move.
On player's move, he can choose a location
You have to create three modes of motion, and three buttons respectively.
The first mode is "Fly To". I press a button and choose a destination. The game remembers location. When the timer is run out the Player's Cone turns to the point, flies with some speed there(2-3 seconds).
The second mode is the same as "Fly to" but without turning. I press a button, I choose a point. When the timer is over - it flies there.
The third mode is the Rotation. I press the third button to activate the mode. I can rotate it by finger. I can rotate it dependless on the timer(even during Enemy's move) and the game responds immediately.
To sum up: in 1st and 2d mode buttons are enabled only when the timer is on the side of the Player. For the third mode, the button is active anytime.
NPC must not change location. But timer goes for them like they would.
I want to see some visuals when placing a point. I can't place a point if there is another object, just show visual with red color or so, and do nothing.
Because there are three Player's spaceships, I want you to highlight current for the first and second mode.
Pressed button "FlyTo"(the same for second mode), outline first spaceship, click to another spaceship and it outlines it.
Tap to choose a location, the program remembers it for the selected spaceship, disable the highlight. When the timer is over, fly to the location.
If I chose a location and want to change it before the timer is over I click to the button again and select a spaceship, and the program remembers only the last set location. When the timer is over it goes there.
To cancel a mode press again to a button. To change mode press to another button. If I click on "Fly To" and then to the third mode, it properly works
I may give you material for the selection circle.
3D, Camera View almost from top but 70-80 degrees.
Budget $60-120 (may simplify some features).
Deadline 25th-27th February.
There are some more details like for "FlyTo" first rotation, then moving with acceleration, and so on.
The timer of the Enemy doesn't start until a spaceship comes to the destination! Firstly rotation then starts flight(only for the first mode). Some acceleration at the beginning and deceleration at the ending. While it flies to the point(if this movement is a type of "FlyTo") disable rotation button. For second mode "FlyToWithoutRotation", the rotation button is enabled.
All objects have a collision of a sphere.
If there is an object between point and the spaceship, it must find the shortest trajectory. It also works for two objects or more.
Buttons are on the right side of the screen.
I press the button and it is active until I click it again or choose another mode. While it is active I can tap to choose any point. It shows where I taped and draws trajectory. For the next tap, it clears the old trajectory. It has max distance*.
It follows the trajectory line and turns.
I press the button, I choose a point, it rotates. If the LocalRotation angle is between 0 and 180 degrees, it rotates clockwise, otherwise counterclockwise.
The button is still active, and I can choose another point. It deactivates if I press RotationButton again, or choose another mode.
If I tap outside the battlefield adjust the point to the border of it. Adjust if I click on an object adjust the point.
I press button and it is active until I click it again or choose another mode. While it is active I can tap to choose any point. It shows where I taped and draws trajectory.
*Not displacement but distance.