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

Pages: [1]
Python / Help with PySFML
« on: January 15, 2012, 05:51:50 am »
Quote from: "bastien"
The default copy constructor may also be disabled, so I can only trust the documentation (since I was too lazy to read the source code). :)
Looks like I should add a copy() method, and maybe __copy__() too.

Well I tried using both copy.copy() and copy.deepcopy() on a sprite and the result appears to be the same as using sf.Sprite() to generate a new object.

Python / Coping Sprites - PySFML (cython)
« on: January 14, 2012, 12:38:36 am »
Is there any facility to copy a sprite (That is create a new sprite with a reference to the same texture and all the same transformations?)

Pages: [1]