1
vote
1answer
252 views

Clearing an SFML scene with a partially transparent color

Is there way to clear a scene with a transparency (alpha) value, in pure SFML? I'm trying to clear with rgba(0,0,0,128) so the previous frame still partially shows through, which would create a ...
1
vote
1answer
222 views

Creating big scene and little size chasing camera

I would like to create a climb based game, so I need to have a big scene and a camera that cover only a little part of it and chase my player. This image explains easier what I want: How can I do ...
5
votes
3answers
2k views

What's a good entity hierarchy for a 2D game?

I'm in the process of building a new 2D game out of some code I wrote a while ago. The object hierarchy for entities is like this: Scene (e.g. MainMenu): Contains multiple entities and delegates ...
2
votes
2answers
1k views

Create Adventure Game Scene/Room/Backdrop from Real Photo

Is there a suitable software or a good tutorial for creating 2D rooms/scenery for adventure games from real photos? Is it possible to achieve good results by using photos, or the hand-drawn style ...
5
votes
3answers
1k views

Split a 2D scene in layers or have a z coordinate

I am in the process of writing a 2D game engine, and a dilemma emerged. Let me explain the situation... I have a Scene class, to which various objects can be added (Drawable, ParticleEmitter, ...