Jump to content

  • Log In with Google      Sign In   
  • Create Account

We're offering banner ads on our site from just $5!

1. Details HERE. 2. GDNet+ Subscriptions HERE. 3. Ad upload HERE.


SoulHeart

Member Since 03 Jan 2012
Offline Last Active Jun 04 2012 02:39 PM

Posts I've Made

In Topic: How to set drawing bounds for a sfml tiled map loader

13 March 2012 - 05:48 PM

Level map1;
map1.LoadFromFile("MapTest1.tmx");
sf::View View1(sf::FloatRect(0, 0, 1000, 1000));
map1.SetDrawingBounds(View1.GetRect());
map1.Draw(window4);

And no the console doesn't say anything else. I know that the map and tile sheet is loading correctly though. Maybe it has to do with the drawing bounds???

In Topic: How to set drawing bounds for a sfml tiled map loader

12 March 2012 - 04:56 PM

ok I got it to load and build without errors, but when I run the program the console says "Bad map. No tile information found" I know however, that the map isn't blank. Does anyone know why it is telling me this?

In Topic: How to read a tiled map editor file

10 March 2012 - 09:41 AM

I couldn't figure out how to set the drawing bounds. Can you show me an example.(I'm the world's biggest programming noob)

In Topic: How to read a tiled map editor file

06 March 2012 - 05:14 PM

ok I've been making some progress with it. One last thing(hopefully)....
It says you have to set drawing bounds before drawing. Can you explain how to do this and maybe what it is doing. The example that was give is.....

level.SetDrawingBounds(somesfview.GetRect())

In Topic: How to read a tiled map editor file

05 March 2012 - 05:05 PM

I'm not sure on how to link tinyxml to codeblocks...
I don't know which file i need to link

PARTNERS