3
votes
5answers
209 views

Is it bad practise to have an object for every tile?

In the game I am working on, many of my tiles must have special attributes (such as triggers when the player steps on them). I was wondering if it would be bad practise to create an object for every ...
0
votes
1answer
97 views

Drawing geometry to an SDL_Texture?

As a direct result of this question that I asked a few days ago, I want to draw potentially-complex geometry to a SDL_Texture or, I suppose, an SDL_Surface. Ultimately, I want the foreground of a 2D ...
0
votes
2answers
265 views

How to move player based on existing Game state?

I'm trying to build a basic platforming game in C++ using SDL, and I've encountered this issue enough to know that there's something I'm missing. What I'm working with, at the most basic level, is ...
3
votes
1answer
260 views

2D collision resolution: works on each axis individually, but not with both combined

My collision detection method is solid and detects box to box collision every time. Then comes the resolve part which I'm struggling with quite a bit. It works perfectly when I'm manipulating the ...
1
vote
1answer
107 views

2D Platform character getting “unaligned” with the map

I'm trying to make a 2D Platform game and so far I can have my character moving around in a tiled map and collisions are working too. So far so good. The problem I'm having is that the character can ...
1
vote
1answer
826 views

UML Class Diagrams for 2D platformer Games? [closed]

I have to develop a small arcade game in C++ for a college assignment using a 2D Game Engine my teacher coded. What would be the best way to make a UML class diagram for it? It's very basic stuff but ...
1
vote
4answers
7k views

Value of the Game Institute Courses [closed]

I'm considering purchasing courses from Game Institute, specifically, the Foundation Studies Package. Has anyone here taken their courses? If so, do you feel they are a good value? If you can, please ...
6
votes
2answers
22k views

Making a 2D Platformer in C++/SDL. Looking for tutorials/examples/resources

I have a lot of experience with C++, but I have no experience with game programming. This summer I plan to create a 2D platformer from scratch using C++/SDL for the learning experience. I am looking ...