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

Pages: [1]
1
Python / Re: [pySFML2-cython] Issue repeating textures
« on: September 15, 2012, 11:36:03 pm »
Aha! That makes sense, it works fine now. Thanks a ton for the prompt and helpful response.

2
Python / [pySFML2-cython] Issue repeating textures
« on: September 15, 2012, 09:23:01 pm »
I can't figure out how to repeat a texture (without it automatically resizing) over a larger shape.

      texture = sf.Texture.load_from_file("test.png")
      texture.repeated = True
      rectangle.set_texture(texture, reset_rect=False)

The bool values don't appear to do anything. Does anybody know what I'm doing wrong? Thanks.

(A full example: https://gist.github.com/3728984)

Pages: [1]
anything