Welcome, Guest. Please login or register. Did you miss your activation email?

Author Topic: Creating a game  (Read 1439 times)

0 Members and 1 Guest are viewing this topic.

GameMasterShift

  • Newbie
  • *
  • Posts: 2
    • View Profile
    • Email
Creating a game
« on: August 12, 2014, 07:47:01 pm »
Hello all,
I am a new programmer to SFML but i have years of C++ experience, so to start off i am in the process of making a game and i ran across something called  http://www.mapeditor.org/ , so i was wondering if there is any type of code that has been made to work with SFML to be able to use the full function of Tiled such as the layers and collision and such but be able to load that map to the SFML game.   
« Last Edit: August 12, 2014, 07:51:19 pm by GameMasterShift »

Jesper Juhl

  • Hero Member
  • *****
  • Posts: 1405
    • View Profile
    • Email
Re: Creating a game
« Reply #1 on: August 12, 2014, 08:57:12 pm »
I use Tiled to make maps for my own games.
I save the maps as JSON and use PicoJSON to load and manipulate them in my games.
Works beautifully.
JSON is not the most optimal format, but it's easy and works. Tiled can save in other formats if you *really* need performance.
In any case, it is a great tool :)

eXpl0it3r

  • SFML Team
  • Hero Member
  • *****
  • Posts: 10916
    • View Profile
    • development blog
    • Email
AW: Creating a game
« Reply #2 on: August 13, 2014, 08:07:50 am »
Just search the forum for "Tiled" and you'll find all the loaders etc ;)
Official FAQ: https://www.sfml-dev.org/faq.php
Official Discord Server: https://discord.gg/nr4X7Fh
——————————————————————
Dev Blog: https://duerrenberger.dev/blog/

fallahn

  • Sr. Member
  • ****
  • Posts: 499
  • Buns.
    • View Profile
    • Trederia
Re: Creating a game
« Reply #3 on: August 13, 2014, 10:35:12 am »
There's this which supports pretty much all of Tiled's features, as well as optional box2D integration

 

anything