I am writing a pong clone with a component based entity system. But I am having trouble with the different kinds of movement in the game.
The problem is the following: My paddles will just move up and down, so I only need a Y-velocity for these. But the ball can move in each direction. So the ball will need an angle and a velocity. Now my question is: Is it usual to put the data for moving a ball in another component than the data for moving a paddle? Because if I would do so, I would need two systems just for movement. Is that a good approach?
A little bit information about my system: My entites are only IDs. I have an entity manager which holds all the entities and the linked components. Components only hold certain data on which systems operate. Basically I am using this approach: Tutorial