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

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Conor

Pages: [1]
1
SFML projects / Re: 'Tiled' Tile-map Loader
« on: April 18, 2014, 01:07:22 am »
Fallahn, you've really helped me. Thanks I appreciate it! I have collision working from just making levels in TileD now too. :)

2
SFML projects / Re: 'Tiled' Tile-map Loader
« on: April 16, 2014, 11:04:29 pm »
Hello again. I've been working with your great Map Loader. I've drawn some collision boxes in TileD and I'm trying to get the rectangle or its x and y values. How do I achieve this? What is QuadTrees? Thanks in advance. :D

3
SFML projects / Re: 'Tiled' Tile-map Loader
« on: April 09, 2014, 09:57:57 pm »
OMG thank you so much. You've seriously made my day. A quick reply, exactly what I needed, I just didn't realize things were done that way I thought it was all about like, including .h or .hpp files and then they find the .cpp files for me or something.

Thanks very much!

Conor

4
SFML projects / Re: 'Tiled' Tile-map Loader
« on: April 09, 2014, 09:24:59 pm »
Hello guys! This sounds like a brilliant tool. I've been trying to get it working for a bunch of hours now. Could I please have some help?

Here is my errors:

Error   2   error LNK2001: unresolved external symbol "public: __thiscall tmx::MapLoader::MapLoader(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &)" (??0MapLoader@tmx@@QAE@ABV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@Z)   C:\Users\Conor\Desktop\Visual Studio 2012\Projects\ConsoleApplication9\ConsoleApplication9\Source.obj   ConsoleApplication9
Error   1   error LNK2001: unresolved external symbol "private: virtual void __thiscall tmx::QuadTreeNode::draw(class sf::RenderTarget &,class sf::RenderStates)const " (?draw@QuadTreeNode@tmx@@EBEXAAVRenderTarget@sf@@VRenderStates@4@@Z)   C:\Users\Conor\Desktop\Visual Studio 2012\Projects\ConsoleApplication9\ConsoleApplication9\Source.obj   ConsoleApplication9
Error   3   error LNK1120: 2 unresolved externals   C:\Users\Conor\Desktop\Visual Studio 2012\Projects\ConsoleApplication9\Release\ConsoleApplication9.exe   ConsoleApplication9

Here is the code:
#include <stdio.h>
#include <string>
#include <zlib.h>
#include <tmx/MapLoader.h>

#include <SFML/Graphics.hpp>
#include <SFML/Window.hpp>

int main(){
        tmx::MapLoader("maps");
}
 

I have proven SFML works and everything just before that one bad line of code, but when I try tmx::MapLoader(anystring) it produces those errors. I personally think it's a problem with zlib being linked but I can't for the life of me figure it out after hours of trying.

I'm on windows 7 with VS 2012

SFML 2.1
zlib 1.2.8

Thanks for your time. :)

Pages: [1]
anything