Need Help !

Hello, I’m experimenting different aspects of corona.

I want to make a simple automated first  app.

I want to see what the approaches this skilled community takes to help me with this.

 

This picture might help you with my concern: please and thanks!  :slight_smile:

 

 

ty3zcjr.png?1

Well, there are four sets of objects here, arguably (depends how extensible you want it to be). You have a Shape Factory, which generates Shape Objects, which head towards a Goal along a Path.

Approaches to this vary from the ultra simple - using spawning display objects, using transitions to move them and destroy them when they reach the goal, to literally creating objects to so that a ShapeFactory spawns a Shape which has a Goal and/or a Path.

There is no right answer ; the more complicated and more flexible you want the app to be, the more you head towards the latter. If you just want a five minute demo of this then you’d just use the quick and dirty version. 

Problems tend to arise when you use a quick and dirty approach for a large project. It tends to end up as spaghetti. 

Well, there are four sets of objects here, arguably (depends how extensible you want it to be). You have a Shape Factory, which generates Shape Objects, which head towards a Goal along a Path.

Approaches to this vary from the ultra simple - using spawning display objects, using transitions to move them and destroy them when they reach the goal, to literally creating objects to so that a ShapeFactory spawns a Shape which has a Goal and/or a Path.

There is no right answer ; the more complicated and more flexible you want the app to be, the more you head towards the latter. If you just want a five minute demo of this then you’d just use the quick and dirty version. 

Problems tend to arise when you use a quick and dirty approach for a large project. It tends to end up as spaghetti.