First of all, I think I roughly know how a scene graph works. Please correct me if I'm wrong.
It is a tree based structure, with each branch/leaf being a node. It means you can better organise children, like tyres on a car or something. I want to use a simple version of it, which makes me think matrices, but the graphics API I'm using (SFML) doesn't allow them. I would use GL here, but the project has to be done in a reasonable time frame.
Instead, I only have the ability to set 'absolute' window coords by default. Without anything, it would be something like:
carWheel1.position(9.5f, 8.7f);//etc. I think that's a badly placed wheel. :P
How could I go about this? Have each object/renderable thing/entity be a node, obviously, but then how would I handle position changes? I would think passing down the branch, somehow.
Is there some kind of tree structure in the STL containers? Would I have to make my own?
There's one other thing that's hit me. Is all of this overkill? All I really need is some way to control more of 'local' positioning, which this does, but this seems OTT for what I need. So it's sort of organization + positioning vs the sheer complexity for a 2D side scroller.