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 - aanthonyz

Pages: [1] 2
1
General / Re: "Tiled" Loader Problems
« on: January 10, 2015, 12:47:13 am »
I just added the PugiXML.cpp file to the project and now it works totally fine. Thank you.

2
General / Re: "Tiled" Loader Problems
« on: January 09, 2015, 11:02:01 pm »
Sorry didnt know what else to post.

Visual Studio 2012 Express
Windows 8
I got the code from https://github.com/fallahn/sfml-tmxloader, currently using the latest version
Using current version of zlib 1.2.8

Usage:
#include "tmx\MapLoader.h"

int main()
{
        tmx::MapLoader ml("testmap\\intromap");
        ml.Load("test.tmx");
        return 0;
}

Im trying to think of other steps but nothing comes to mind.

3
General / "Tiled" Loader Problems
« on: January 09, 2015, 10:07:45 pm »
Im currently trying to get the loader to work but im having some issues.

Error   1       error LNK2019: unresolved external symbol "public: __thiscall pugi::xml_attribute::operator void (__cdecl*)(class pugi::xml_attribute * * *)(void)const " (??Bxml_attribute@pugi@@QBEP6AXPAPAPAV01@@ZXZ) referenced in function "private: bool __thiscall tmx::MapLoader::m_ParseImageLayer(class pugi::xml_node const &)" (?m_ParseImageLayer@MapLoader@tmx@@AAE_NABVxml_node@pugi@@@Z)        C:\Users\aanthonyz\OneDrive\Programming\SFML Applications\TMX\TMX\MapLoaderPrivate.obj  TMX

Error   2       error LNK2019: unresolved external symbol "public: bool __thiscall pugi::xml_attribute::operator!(void)const " (??7xml_attribute@pugi@@QBE_NXZ) referenced in function "private: bool __thiscall tmx::MapLoader::m_ParseImageLayer(class pugi::xml_node const &)" (?m_ParseImageLayer@MapLoader@tmx@@AAE_NABVxml_node@pugi@@@Z) C:\Users\aanthonyz\OneDrive\Programming\SFML Applications\TMX\TMX\MapLoaderPrivate.obj  TMX

Error   3       error LNK2019: unresolved external symbol "public: char const * __thiscall pugi::xml_attribute::as_string(char const *)const " (?as_string@xml_attribute@pugi@@QBEPBDPBD@Z) referenced in function "private: bool __thiscall tmx::MapLoader::m_ParseImageLayer(class pugi::xml_node const &)" (?m_ParseImageLayer@MapLoader@tmx@@AAE_NABVxml_node@pugi@@@Z)     C:\Users\aanthonyz\OneDrive\Programming\SFML Applications\TMX\TMX\MapLoaderPrivate.obj  TMX

Error   4       error LNK2019: unresolved external symbol "public: int __thiscall pugi::xml_attribute::as_int(int)const " (?as_int@xml_attribute@pugi@@QBEHH@Z) referenced in function "private: bool __thiscall tmx::MapLoader::m_ParseMapNode(class pugi::xml_node const &)" (?m_ParseMapNode@MapLoader@tmx@@AAE_NABVxml_node@pugi@@@Z)       C:\Users\aanthonyz\OneDrive\Programming\SFML Applications\TMX\TMX\MapLoaderPrivate.obj  TMX

Error   5       error LNK2019: unresolved external symbol "public: unsigned int __thiscall pugi::xml_attribute::as_uint(unsigned int)const " (?as_uint@xml_attribute@pugi@@QBEII@Z) referenced in function "private: bool __thiscall tmx::MapLoader::m_ParseLayer(class pugi::xml_node const &)" (?m_ParseLayer@MapLoader@tmx@@AAE_NABVxml_node@pugi@@@Z)       C:\Users\aanthonyz\OneDrive\Programming\SFML Applications\TMX\TMX\MapLoaderPrivate.obj  TMX

Error   6       error LNK2019: unresolved external symbol "public: float __thiscall pugi::xml_attribute::as_float(float)const " (?as_float@xml_attribute@pugi@@QBEMM@Z) referenced in function "private: bool __thiscall tmx::MapLoader::m_ParseImageLayer(class pugi::xml_node const &)" (?m_ParseImageLayer@MapLoader@tmx@@AAE_NABVxml_node@pugi@@@Z) C:\Users\aanthonyz\OneDrive\Programming\SFML Applications\TMX\TMX\MapLoaderPrivate.obj  TMX

Error   7       error LNK2019: unresolved external symbol "public: bool __thiscall pugi::xml_attribute::as_bool(bool)const " (?as_bool@xml_attribute@pugi@@QBE_N_N@Z) referenced in function "private: bool __thiscall tmx::MapLoader::m_ParseLayer(class pugi::xml_node const &)" (?m_ParseLayer@MapLoader@tmx@@AAE_NABVxml_node@pugi@@@Z)     C:\Users\aanthonyz\OneDrive\Programming\SFML Applications\TMX\TMX\MapLoaderPrivate.obj  TMX

Error   8       error LNK2019: unresolved external symbol "public: __thiscall pugi::xml_node::xml_node(void)" (??0xml_node@pugi@@QAE@XZ) referenced in function "private: bool __thiscall tmx::MapLoader::m_ParseImageLayer(class pugi::xml_node const &)" (?m_ParseImageLayer@MapLoader@tmx@@AAE_NABVxml_node@pugi@@@Z)        C:\Users\aanthonyz\OneDrive\Programming\SFML Applications\TMX\TMX\MapLoaderPrivate.obj  TMX

Error   9       error LNK2019: unresolved external symbol "public: __thiscall pugi::xml_node::operator void (__cdecl*)(class pugi::xml_node * * *)(void)const " (??Bxml_node@pugi@@QBEP6AXPAPAPAV01@@ZXZ) referenced in function "private: bool __thiscall tmx::MapLoader::m_ParseImageLayer(class pugi::xml_node const &)" (?m_ParseImageLayer@MapLoader@tmx@@AAE_NABVxml_node@pugi@@@Z)       C:\Users\aanthonyz\OneDrive\Programming\SFML Applications\TMX\TMX\MapLoaderPrivate.obj  TMX

Error   10      error LNK2001: unresolved external symbol "public: __thiscall pugi::xml_node::operator void (__cdecl*)(class pugi::xml_node * * *)(void)const " (??Bxml_node@pugi@@QBEP6AXPAPAPAV01@@ZXZ)       C:\Users\aanthonyz\OneDrive\Programming\SFML Applications\TMX\TMX\MapLoaderPublic.obj   TMX

Error   11      error LNK2019: unresolved external symbol "public: bool __thiscall pugi::xml_node::operator!(void)const " (??7xml_node@pugi@@QBE_NXZ) referenced in function "private: bool __thiscall tmx::MapLoader::m_ParseImageLayer(class pugi::xml_node const &)" (?m_ParseImageLayer@MapLoader@tmx@@AAE_NABVxml_node@pugi@@@Z)   C:\Users\aanthonyz\OneDrive\Programming\SFML Applications\TMX\TMX\MapLoaderPrivate.obj  TMX

Error   12      error LNK2001: unresolved external symbol "public: bool __thiscall pugi::xml_node::operator!(void)const " (??7xml_node@pugi@@QBE_NXZ)   C:\Users\aanthonyz\OneDrive\Programming\SFML Applications\TMX\TMX\MapLoaderPublic.obj   TMX

Error   13      error LNK2019: unresolved external symbol "public: class pugi::xml_node __thiscall pugi::xml_node::first_child(void)const " (?first_child@xml_node@pugi@@QBE?AV12@XZ) referenced in function "private: bool __thiscall tmx::MapLoader::m_ParseObjectgroup(class pugi::xml_node const &)" (?m_ParseObjectgroup@MapLoader@tmx@@AAE_NABVxml_node@pugi@@@Z) C:\Users\aanthonyz\OneDrive\Programming\SFML Applications\TMX\TMX\MapLoaderPrivate.obj  TMX

Error   14      error LNK2001: unresolved external symbol "public: class pugi::xml_node __thiscall pugi::xml_node::first_child(void)const " (?first_child@xml_node@pugi@@QBE?AV12@XZ)   C:\Users\aanthonyz\OneDrive\Programming\SFML Applications\TMX\TMX\MapLoaderPublic.obj   TMX

Error   15      error LNK2019: unresolved external symbol "public: class pugi::xml_text __thiscall pugi::xml_node::text(void)const " (?text@xml_node@pugi@@QBE?AVxml_text@2@XZ) referenced in function "private: bool __thiscall tmx::MapLoader::m_ParseLayer(class pugi::xml_node const &)" (?m_ParseLayer@MapLoader@tmx@@AAE_NABVxml_node@pugi@@@Z)   C:\Users\aanthonyz\OneDrive\Programming\SFML Applications\TMX\TMX\MapLoaderPrivate.obj  TMX

Error   16      error LNK2019: unresolved external symbol "public: class pugi::xml_node __thiscall pugi::xml_node::child(char const *)const " (?child@xml_node@pugi@@QBE?AV12@PBD@Z) referenced in function "private: bool __thiscall tmx::MapLoader::m_ParseImageLayer(class pugi::xml_node const &)" (?m_ParseImageLayer@MapLoader@tmx@@AAE_NABVxml_node@pugi@@@Z)    C:\Users\aanthonyz\OneDrive\Programming\SFML Applications\TMX\TMX\MapLoaderPrivate.obj  TMX

Error   17      error LNK2001: unresolved external symbol "public: class pugi::xml_node __thiscall pugi::xml_node::child(char const *)const " (?child@xml_node@pugi@@QBE?AV12@PBD@Z)    C:\Users\aanthonyz\OneDrive\Programming\SFML Applications\TMX\TMX\MapLoaderPublic.obj   TMX

Error   18      error LNK2019: unresolved external symbol "public: class pugi::xml_attribute __thiscall pugi::xml_node::attribute(char const *)const " (?attribute@xml_node@pugi@@QBE?AVxml_attribute@2@PBD@Z) referenced in function "private: bool __thiscall tmx::MapLoader::m_ParseImageLayer(class pugi::xml_node const &)" (?m_ParseImageLayer@MapLoader@tmx@@AAE_NABVxml_node@pugi@@@Z)  C:\Users\aanthonyz\OneDrive\Programming\SFML Applications\TMX\TMX\MapLoaderPrivate.obj  TMX

Error   19      error LNK2019: unresolved external symbol "public: class pugi::xml_node __thiscall pugi::xml_node::next_sibling(char const *)const " (?next_sibling@xml_node@pugi@@QBE?AV12@PBD@Z) referenced in function "private: bool __thiscall tmx::MapLoader::m_ParseLayer(class pugi::xml_node const &)" (?m_ParseLayer@MapLoader@tmx@@AAE_NABVxml_node@pugi@@@Z)        C:\Users\aanthonyz\OneDrive\Programming\SFML Applications\TMX\TMX\MapLoaderPrivate.obj  TMX

Error   20      error LNK2019: unresolved external symbol "public: char const * __thiscall pugi::xml_text::as_string(char const *)const " (?as_string@xml_text@pugi@@QBEPBDPBD@Z) referenced in function "private: bool __thiscall tmx::MapLoader::m_ParseLayer(class pugi::xml_node const &)" (?m_ParseLayer@MapLoader@tmx@@AAE_NABVxml_node@pugi@@@Z) C:\Users\aanthonyz\OneDrive\Programming\SFML Applications\TMX\TMX\MapLoaderPrivate.obj  TMX

Error   21      error LNK2019: unresolved external symbol "public: __thiscall pugi::xml_parse_result::xml_parse_result(void)" (??0xml_parse_result@pugi@@QAE@XZ) referenced in function "private: bool __thiscall tmx::MapLoader::m_ParseTileSets(class pugi::xml_node const &)" (?m_ParseTileSets@MapLoader@tmx@@AAE_NABVxml_node@pugi@@@Z)    C:\Users\aanthonyz\OneDrive\Programming\SFML Applications\TMX\TMX\MapLoaderPrivate.obj  TMX

Error   22      error LNK2019: unresolved external symbol "public: __thiscall pugi::xml_parse_result::operator bool(void)const " (??Bxml_parse_result@pugi@@QBE_NXZ) referenced in function "private: bool __thiscall tmx::MapLoader::m_ParseTileSets(class pugi::xml_node const &)" (?m_ParseTileSets@MapLoader@tmx@@AAE_NABVxml_node@pugi@@@Z)        C:\Users\aanthonyz\OneDrive\Programming\SFML Applications\TMX\TMX\MapLoaderPrivate.obj  TMX

Error   23      error LNK2001: unresolved external symbol "public: __thiscall pugi::xml_parse_result::operator bool(void)const " (??Bxml_parse_result@pugi@@QBE_NXZ)    C:\Users\aanthonyz\OneDrive\Programming\SFML Applications\TMX\TMX\MapLoaderPublic.obj   TMX

Error   24      error LNK2019: unresolved external symbol "public: char const * __thiscall pugi::xml_parse_result::description(void)const " (?description@xml_parse_result@pugi@@QBEPBDXZ) referenced in function "private: bool __thiscall tmx::MapLoader::m_ParseTileSets(class pugi::xml_node const &)" (?m_ParseTileSets@MapLoader@tmx@@AAE_NABVxml_node@pugi@@@Z)  C:\Users\aanthonyz\OneDrive\Programming\SFML Applications\TMX\TMX\MapLoaderPrivate.obj  TMX

Error   25      error LNK2001: unresolved external symbol "public: char const * __thiscall pugi::xml_parse_result::description(void)const " (?description@xml_parse_result@pugi@@QBEPBDXZ)      C:\Users\aanthonyz\OneDrive\Programming\SFML Applications\TMX\TMX\MapLoaderPublic.obj   TMX

Error   26      error LNK2019: unresolved external symbol "public: __thiscall pugi::xml_document::xml_document(void)" (??0xml_document@pugi@@QAE@XZ) referenced in function "private: bool __thiscall tmx::MapLoader::m_ParseTileSets(class pugi::xml_node const &)" (?m_ParseTileSets@MapLoader@tmx@@AAE_NABVxml_node@pugi@@@Z)        C:\Users\aanthonyz\OneDrive\Programming\SFML Applications\TMX\TMX\MapLoaderPrivate.obj  TMX

Error   27      error LNK2001: unresolved external symbol "public: __thiscall pugi::xml_document::xml_document(void)" (??0xml_document@pugi@@QAE@XZ)    C:\Users\aanthonyz\OneDrive\Programming\SFML Applications\TMX\TMX\MapLoaderPublic.obj   TMX

Error   28      error LNK2019: unresolved external symbol "public: __thiscall pugi::xml_document::~xml_document(void)" (??1xml_document@pugi@@QAE@XZ) referenced in function "private: bool __thiscall tmx::MapLoader::m_ParseTileSets(class pugi::xml_node const &)" (?m_ParseTileSets@MapLoader@tmx@@AAE_NABVxml_node@pugi@@@Z)       C:\Users\aanthonyz\OneDrive\Programming\SFML Applications\TMX\TMX\MapLoaderPrivate.obj  TMX

Error   29      error LNK2001: unresolved external symbol "public: __thiscall pugi::xml_document::~xml_document(void)" (??1xml_document@pugi@@QAE@XZ)   C:\Users\aanthonyz\OneDrive\Programming\SFML Applications\TMX\TMX\MapLoaderPublic.obj   TMX

Error   30      error LNK2019: unresolved external symbol "public: struct pugi::xml_parse_result __thiscall pugi::xml_document::load_file(char const *,unsigned int,enum pugi::xml_encoding)" (?load_file@xml_document@pugi@@QAE?AUxml_parse_result@2@PBDIW4xml_encoding@2@@Z) referenced in function "private: bool __thiscall tmx::MapLoader::m_ParseTileSets(class pugi::xml_node const &)" (?m_ParseTileSets@MapLoader@tmx@@AAE_NABVxml_node@pugi@@@Z)      C:\Users\aanthonyz\OneDrive\Programming\SFML Applications\TMX\TMX\MapLoaderPrivate.obj  TMX

Error   31      error LNK2001: unresolved external symbol "public: struct pugi::xml_parse_result __thiscall pugi::xml_document::load_file(char const *,unsigned int,enum pugi::xml_encoding)" (?load_file@xml_document@pugi@@QAE?AUxml_parse_result@2@PBDIW4xml_encoding@2@@Z)  C:\Users\aanthonyz\OneDrive\Programming\SFML Applications\TMX\TMX\MapLoaderPublic.obj   TMX

Error   32      error LNK2019: unresolved external symbol "public: char const * __thiscall pugi::xml_node::name(void)const " (?name@xml_node@pugi@@QBEPBDXZ) referenced in function "public: bool __thiscall tmx::MapLoader::Load(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &)" (?Load@MapLoader@tmx@@QAE_NABV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@Z)      C:\Users\aanthonyz\OneDrive\Programming\SFML Applications\TMX\TMX\MapLoaderPublic.obj   TMX

Error   33      error LNK2019: unresolved external symbol "public: class pugi::xml_node __thiscall pugi::xml_node::next_sibling(void)const " (?next_sibling@xml_node@pugi@@QBE?AV12@XZ) referenced in function "public: bool __thiscall tmx::MapLoader::Load(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &)" (?Load@MapLoader@tmx@@QAE_NABV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@Z)   C:\Users\aanthonyz\OneDrive\Programming\SFML Applications\TMX\TMX\MapLoaderPublic.obj   TMX

Error   34      error LNK1120: 24 unresolved externals  C:\Users\aanthonyz\OneDrive\Programming\SFML Applications\TMX\Debug\TMX.exe     TMX

 

Any help?[/code]

4
Graphics / Re: Creating a Text Wrapper
« on: December 30, 2014, 05:11:55 pm »
No errors at all just doesnt display the text.

#include <SFML\Graphics.hpp>
#pragma once
class Menu
{
public:
        Menu(void);
        ~Menu(void);
        bool MainMenuLoad();
        void Display(sf::RenderWindow* Display);
        void SetText(sf::Text &Text,char* Output,int Size);
private:
        sf::Font MainMenuFont;
        sf::Text MainMenuText[5];
        sf::Texture MainMenuTexture[5];
        sf::Sprite MainMenuSprite[5];
};
#include "Menu.h"


Menu::Menu(void)
{
        MainMenuLoad();
}

bool Menu::MainMenuLoad()
{
        //Font
        MainMenuFont.loadFromFile("Textures\\ka1.ttf");
        MainMenuText[0].setFont(MainMenuFont);
        MainMenuText[0].setString("Version: 0.1a");
        MainMenuText[0].setCharacterSize(30);
        MainMenuText[0].setPosition(0,1080-MainMenuText[0].getLocalBounds().height);
        MainMenuText[1].setFont(MainMenuFont);
        MainMenuText[1].setString("Singleplayer");
        MainMenuText[1].setCharacterSize(75);
        MainMenuText[1].setPosition(1920-MainMenuText[1].getLocalBounds().width,330);
        MainMenuText[2].setFont(MainMenuFont);
        MainMenuText[2].setString("Multiplayer");
        MainMenuText[2].setCharacterSize(75);
        MainMenuText[2].setPosition(1920-MainMenuText[2].getLocalBounds().width,420);
        MainMenuText[3].setFont(MainMenuFont);
        MainMenuText[3].setString("Options");
        MainMenuText[3].setCharacterSize(75);
        MainMenuText[3].setPosition(1920-MainMenuText[3].getLocalBounds().width,510);
        MainMenuText[4].setFont(MainMenuFont);
        MainMenuText[4].setString("Exit");
        MainMenuText[4].setCharacterSize(75);
        MainMenuText[4].setPosition(1920-MainMenuText[4].getLocalBounds().width,600);
        //SetText(MainMenuText[0],"Version: 0.1a",100);
        //Background Image
        MainMenuTexture[0].loadFromFile("Textures\\Main_1.png");
        MainMenuSprite[0].setTexture(MainMenuTexture[0]);
        //Logo
        MainMenuTexture[1].loadFromFile("Textures\\Logo.png");
        MainMenuSprite[1].setTexture(MainMenuTexture[1]);
        MainMenuSprite[1].scale(sf::Vector2f(1.5,1.5));
        return true;
}

void Menu::SetText(sf::Text &Text,char* Output,int Size)
{
        Text.setColor(sf::Color::White);
        Text.setString(Output);
        Text.setCharacterSize(Size);
        Text.setPosition(0,0);
}
void Menu::Display(sf::RenderWindow* Display)
{
        Display->draw(MainMenuSprite[0]);
        Display->draw(MainMenuSprite[1]);
        Display->draw(MainMenuText[0]);
        Display->draw(MainMenuText[1]);
        Display->draw(MainMenuText[2]);
        Display->draw(MainMenuText[3]);
        Display->draw(MainMenuText[4]);
}

 

So this is what I have so far. If I write out every single line like I have on the top it works. but when I try to use the SetText function which I made it. It complies with no errors but nothing actually shows up on the screen, which should be white text that says "Version: 0.1a".

5
Graphics / Creating a Text Wrapper
« on: December 30, 2014, 08:13:14 am »
Im trying to create a function where I can input parameters for everything(size, text, color, pos, etc) rather than making individual functions but for some reason it doesnt appear on the screen when I implement it.

void Menu::SetText(sf::Text &Text,char* Output,int Size)
{
        Text.setColor(sf::Color::White);
        Text.setString(Output);
        Text.setCharacterSize(Size);
        Text.setPosition(0,0);
}
 

When I use this function it doesnt work but when I input each line manually then it displays perfectly fine. Any help would be appreciated.

6
Graphics / Re: Tile Editor
« on: September 10, 2014, 07:50:20 am »
I want to work on a project as a hobby which incorporates 2D graphics but not specifically to the point of making a game.

7
Graphics / Tile Editor
« on: September 10, 2014, 06:24:52 am »
Im trying to create my own Tile or Map Editor with SFML. I was wondering if anyone knew which GUI toolkit has the most compatibility with SFML? Ive been looking at Qt but its outdated for 1.6 same for WxWidgets. Any help would be appreciated

8
General / Sprite Origin
« on: May 14, 2014, 06:39:44 am »
Hello, so for textures and and sprites, the origin is the top left, 0,0. If I want to change this to the bottoms left, should I just make it 0,(whatever the size of the image is), when I use the function setOrigin, or does that function do something completely different?

9
General / SFML and OpenGL
« on: April 27, 2014, 03:19:44 am »
Are there any tutorials on drawing with OpenGL. I know about the SFML OpenGL tutorial that Laurent created but im a bit confused when it comes to actually drawing. Can I draw like I would normally draw with SFML, like creating a texture, sprite, and displaying it or do I have to do it completely through OpenGL now?

10
General / Re: Resolution problem
« on: April 25, 2014, 02:42:04 am »
Well now im trying to figure it out. Sorry for my slowness since this is my first graphic programming language.
So both would stay constant and if the screen gets resized just reset the view?

11
General / Re: Resolution problem
« on: April 25, 2014, 12:45:43 am »
Wait both view and viewport have to change? Now I understand that view has to stay the same 1920x1080 but wouldnt viewport have to change that way it fits the screen?

12
General / Re: Resolution problem
« on: April 25, 2014, 12:27:54 am »
What I was thinking was depending on their resolution change this:

sf::View view(sf::FloatRect(0, 0, 1920, 1080));

to whatever size they have it set at.

13
General / Resolution problem
« on: April 24, 2014, 11:44:54 pm »
Hello, im making a game in 1920x1080, all images are to that size etc. How can I make it so people can use different resolutions with the game? If you want a specific example I have a friend who was testing it and has 1366x768.Would I have to make separate images for each resolution I want to support or can I do a scale for everything or a view scale?

14
General / Creating objects
« on: March 28, 2014, 12:28:21 am »
Hello, in efforts to clean up my code, I have decided to use files to store data. So far im working on loading the data in the first place. I have a file called Loading.txt and inside I have 3 lines:
times.ttf
music.ogg
Scene1.jpg
Images//NPC.jpg

Now this is my function so far:
sf::Font font;
sf::Music music;
void Load()
{
        std::ifstream loadfile("load.txt");
        std::getline(loadfile,filepath);
        font.loadFromFile(filepath);
        std::getline(loadfile,filepath);
        music.openFromFile(filepath);
        //etc...
        loadfile.close();

}
So far I have globally declared textures,font,music. etc, and i hard code in each one for loading.The part where im stuck at is, how should I approach implementing the Font, Music, and Textures. Would it be better to just hard code in a list of textures like I am currently doing, or is there a way to create them on the go? I dont know if im explaining it correctly but essentially is it possible to create a function that can read from the file and create a texture, font, or music object and then load it for use later down the line? At most I will have about 5 images on the screen at a time, so I was also thinking about just hard coding 5 textures and changing around each path and reloading when needed. Which do you guys recommend?

15
General / Re: Displaying Text using .txt files
« on: March 27, 2014, 05:19:30 pm »
Yes, use a vector for your texts.

To me it seems you have little knowledge and rarely any experience with C++ and/or programming. You first should learn the basics with a good C++ book. ;)

Yeah, I know some programming not enough to say I can do a entire game without asking for help. Currently im taking a Fundamentals of Programming course in college and im doing this as a side project

Pages: [1] 2
anything