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

Author Topic: What's wrong with this? (white sprites)  (Read 1401 times)

0 Members and 1 Guest are viewing this topic.

ILostMyAccount

  • Newbie
  • *
  • Posts: 22
    • View Profile
What's wrong with this? (white sprites)
« on: December 19, 2014, 03:49:09 pm »
So, I wrote this:


The problem is that when I use it it draws white textures instead of the one that i've used  :-[

ILostMyAccount

  • Newbie
  • *
  • Posts: 22
    • View Profile
Re: What's wrong with this? (white sprites)
« Reply #1 on: December 19, 2014, 03:56:40 pm »
Nevermind i fixed it, I didn't use a pointer in my Tile constructor for the texture

Hapax

  • Hero Member
  • *****
  • Posts: 3379
  • My number of posts is shown in hexadecimal.
    • View Profile
    • Links
Re: What's wrong with this? (white sprites)
« Reply #2 on: December 19, 2014, 04:12:59 pm »
I think it's very odd that I find this code hard to read on this forum as opposed to pasting the code inside code tags, especially considering that my code looks the same as this normally. I'm guessing that it's the colour contrast.
Selba Ward -SFML drawables
Cheese Map -Drawable Layered Tile Map
Kairos -Timing Library
Grambol
 *Hapaxia Links*

StormWingDelta

  • Sr. Member
  • ****
  • Posts: 365
    • View Profile
Re: What's wrong with this? (white sprites)
« Reply #3 on: December 20, 2014, 12:06:04 am »
I think it's very odd that I find this code hard to read on this forum as opposed to pasting the code inside code tags, especially considering that my code looks the same as this normally. I'm guessing that it's the colour contrast.

lol don't worry about it too much since I use the same theme in visual studio he does from the looks of the code block picture.  Mainly have that dark theme because I'm working on code in a bright room or a very dark room and the bright theme is painful on the eyes.
I have many ideas but need the help of others to find way to make use of them.

 

anything