0
votes
0answers
108 views

Procedural Tilemap generation

So i'm building a 2d game but i have never really done any procedural generation i followed the SFML tutorial for tilemaps and i have the maps loading what i know want to know is how can i convert the ...
-3
votes
1answer
191 views

Simple collision detection implementation [closed]

I'm making a game with C++ where the program extracts the lines out of an image (via openCV), stores them in an std::vector< std::vector< int > > and the builds a tile map out of it which is ...
2
votes
2answers
608 views

Loading map in tile based game

I'm currently working on a simple 2D tile based game. I want to let users (=players) to create really large maps without problems with performance. That is why I'm searching the way how to optimalize ...
-2
votes
2answers
1k views

Tilemap rendering with openGL (why the rendering is extremely messed up)

I'm using SDL & openGL to render a tile-map. The issue is that the tile-map rendering is extremely messed up, and i'm just a bit unsure what i'm doing wrong exactly. Here's an image of the ...
2
votes
1answer
720 views

Question About Scrolling A Tilemap In C++/SDL/OpenGL

I been working with scrolling this week but I recently encounter a problem that I don't understand why it's happening. In a 2D scroller I want to scroll a tilemap pixel per pixel which gives a smooth ...