I am new to this forum and I am at very beginning with the development of my 2d game, I am also very confused about the right approach to my problem.
What I want to achieve:
I want to be able to position 10 various game objects (sprites) within the area of the screen which will be dynamically sized accordingly to the screen size of the device. The area in which I want to position the items will be about 70% of the screen. The objects will be rectangles with irregular size (slightly irregular). The object should be positioned randomly (or in grid) within this area but they should not overlap. The objects will be a drop targets for other object which I will drag onto them.
To summarize I need:
- The area in which I can place objects.
- Random object position-er.
As I have been reading and watching various tutorials I have become very confused about how should I approach this.
- Should I use a Rect to draw the area on which I will then place the objects, or should I use GUI/UI elements i.e. panel? Are the GUI/UI elements suitable for achieving this or are they meant to be only used to create games menus not for actual game play?
Should I will be very grateful for any help, maybe someone would be able to point meuse a Rect to draw the right tutorialsarea on which I will then place the objects, or share their own experience with this sort of thing? I have experience with ActionScript but I am new to C# so my level isshould I would say a beginner, please helpuse GUI/UI elements i. Thank youe. panel? Are the GUI/UI elements suitable for achieving this or are they meant to be only used to create games menus not for actual game play?