Wondering about character concept

Hi, I’m brand new on Corona.

My question is not specific about “some error” but to understand the way I’m handling it is a good one for my purpose.

General char concept:

  • I had created a class for player’s character. This class holds player’s positions , a group and generic funcions to handle touch events.

  • The group for now holds information about char’s sprites (using  animated spritesheet ).

  • To move player along x axis I’m using transition.to(), however I’ll probably configure it to “enterFrame” instead of. Transition demands a destination spot and I just want the player move indefinitely until it finds na obstacle, so I think enterFrame may help me better on that.

  • I’m not yet using physics because I need it to set for my map first (tiled map with lime addon).

Questions:

  • Is that approach good to move on? I mean I’m organizing the class as it should be. Holding sprites, logic for touch event, holding further collision detection and so on.

I never followed any game tutorial for corona (its pretty hard to find some), just checking some blogs, corona university, API reference and now the fórum.

Thanks