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

Pages: [1]
1
Graphics / Re: sf::Text transforming properties not working
« on: September 15, 2015, 03:01:32 am »
Okay, after reading other threads in this forum, I decided to change the constructor for the DialogueBox class to pass in a font through reference, and the game works now.

I guess this can be marked as solved.

2
Graphics / sf::Text transforming properties not working
« on: September 15, 2015, 01:17:19 am »
I'm new to SFML, and I'm trying to make a basic rpg game. I tried making a dialogue system, but when I try to modify or retrieve the location of an sf::Text (e.g. setOrigin() or getLocalBounds()), I get this error:


These properties on the other sprites have been working perfectly, and the sf::Text's other functions such as getColor() or setString() are working without crashing. I don't know why this is crashing, could someone help me?

Pages: [1]