I need a developer to complete some Unity 3D scripting for an Android/iOS diagram app. I will provide the Unity project as a starting point that includes simple meshes and textures as well as the 3d and 2d camera views. The developer will be responsible for implementing the scripts to achieve the functionality described below. The app will be fairly simple at this stage and basically just requires the developer to write scripts to allow a user to create a diagram with 3 object types that can be connected together. The app will support drag-and-drop operations to create the objects and link them together.
The details of the requirements are:
Must be developed in Unity 3D, targeted for iPhone3+ and Android 3+ smartphones. Must use NGUI 2D framework.
The application consists of a single scene containing a top-down view of a grid where the user will place the diagram objects. A 2D UI toolbar is anchored at the bottom of the screen containing icons representing the objects that can be dragged to the grid. A Connector icon is to the right of the objects. It is a toggle button to allow the user to drag a connection between two objects on the grid. The toolbar also contains a trash-can icon. The trash icon is a toggle button that causes the next object on the grid that is selected to be removed.
The viewable area of the grid is 7x5 in portrait mode. The grid should be created at application startup with dimensions configurable via script variables. The initial view should show the center 7x5. The user should be able to scroll to view the other parts of the grid by swiping left or right or up or down.
There are three types of objects that can be dragged from the toolbar to the grid: O, A, and N (represented by a circle, Triangle and Square).
When an object is dragged from the toolbar, it is placed in the center of the unoccupied square where it is dropped. The icon is not removed from the toolbar (i.e. multiple objects of the same time can be placed on the grid). As an object is being dragged, the square over which it is dragged (if unoccupied) should be highlighted. An object already placed on grid can be dragged to another position on the grid.
If an object is dragged back to the trashcan icon on the toolbar, it is removed from the grid.
As shown in the attached image, the O and A Prefabs have 2 inputs at the bottom and one output at the top (as child-objects). The N object has one input and one output. When the Connector icon is depressed, the user can form a connection between two objects by either dragging one object to another, or pressing one object then another. Toggling the Connector icon off de-selects any selected objects and cancels the connection operation. Connecting one object to another causes a line to be created between the output and a free input of the target object (the developer must create any assets required for this, if any). The lines should follow the grid lines. If a connection crosses another connection, the intersection should be drawn to indicate the lines are not touching, similar to the way Visio draws connectors that cross.
More than one connection can be made FROM an object, but only one connection can be made to each input. The scripts should therefore keep track of what outputs are connected to what inputs. The trashcan button can be used to remove connections in the same way as objects.
The end of a connection line can be dragged to another location. If the end of the drag operation does not result in connecting to a free input, then the operation is cancelled.
If an object that has connections is dragged then at least the connection on the output should move with the object and be re- routed. It is ok if the connections to the inputs remain where they are. Ideally though, all connections should remain and be re-drawn.
8 freelance ont fait une offre moyenne de 1779 $ pour ce travail
Hi, We are Ready to work on your project. please first saw our work and after take the decision. Read Your PM for your solution. Thank You SN.
Hi, Thanks for posting an interesting [url removed, login to view] can deliver the project in full [url removed, login to view] check your PMB for future communication. Thanks®ards Vishal chouhan