Hi, i'm a bit new to SFML and the whole graphics programming stuff, but SFML has been really helpfull in learning it all. I've looked at the tutorials on the site and some others and got the basics down (moving a sprite around, even got box2dx working). But there are 2 problems that i have no idea what i'm doing wrong.
It is probably really obvious, but sometimes you need someone to press your face against the issue
It's a small project test project, so some variables might be badly named:
https://gist.github.com/arxae/71ff6c188162d8b2c0d8Problem 1, shaders:
I draw a quad and try to apply a texture to it using shaders, but all i get is a black square. The texture itself is the black and white 2x2 block from tetris.
Side question: i presume using a shader on a sprite works the same as drawing a quad. Because if it is, my second problem isn't that huge :p
Problem 2, the entity example:
I followed the entity example from the C++ tutorials. Drawing works, the problem is that if pass a new vector2f to it to change it's position, it doesn't do anything.
The tutorial says that i should use getTransform(), but that method is not available in the C# bindings.
Can i get any assistance on this? It's been bugging me for the past week and i really wan't to know what i'm doing wrong here :p