SFML community forums

General => General discussions => Topic started by: Byte on May 10, 2015, 07:17:51 pm

Title: Creating a 2D Tile Engine using SFML.NET?
Post by: Byte on May 10, 2015, 07:17:51 pm
Hello,

I recently started using SFML.NET. I've been Programming since around 2008 and therefore am comfortable using C#. However, Game Programming is still 'new territory' for me; therefore I have a few questions.

I'm somewhat comfortable using SFML.NET and usually refer to its excellent documentation when in doubt however I just cannot get my head around actually creating a Tile Engine, so could anybody give me any advice about starting the process, such as reading data files and building the maps based upon this, collision, scrolling as the player moves around until they hit the edge of the map etc.

I'd be very grateful for any help you can provide, and code isn't necessary. It's purely the theory I need to understand.
Title: Re: Creating a 2D Tile Engine using SFML.NET?
Post by: Jesper Juhl on May 10, 2015, 08:51:42 pm
Reading this may help: http://gameprogrammingpatterns.com/

As for a good editor for a tile engine, I can recommend Tiled: http://www.mapeditor.org/

Other good random resources:

http://www.redblobgames.com/
http://www.koonsolo.com/news/dewitters-gameloop/
http://gafferongames.com/game-physics/fix-your-timestep/