I have a kinda hard question i am trying to build a jigsaw game with
python, i would like to give the option for people to create there own
puzzle piece does anyone know how to accomplish this it is becoming
increasingly difficult for me
Do you want to cut them into curvy non-recangular pieces or are
rectangular pieces good enough? I'm not sure how to do non-rectangular
pieces although it's an interesting puzzle :) I think you'd need to use
the surfarray module.
--Mike
Marcus von Appen wrote:
On, Tue Nov 06, 2007, Joseph
For normal jigsaw-ish shapes (read: highly irregular) I would bounce
the images through Cairo. If all you need is a simple, repeating
cutout you may be able to do it in pure SDL, but it would be tricky.
--Noah
On Nov 6, 2007, at 12:48 PM, Michael George wrote:
Do you want to cut them into
what i want to do is make it so that the user playing the game can decide
how the pices are cut size shape and other things like that. i can't seem to
get it to where the user can use his mouse per say or have pre shaped cut
out templates to chose from to make what he wants a puzzle piece.
thanks
On Nov 6, 2007, at 9:29 AM, Joseph king wrote:
I have a kinda hard question i am trying to build a jigsaw game
with python, i would like to give the option for people to create
there own puzzle piece does anyone know how to accomplish this
it is becoming increasingly difficult for
Ok so let me get this straight what i would do i create a piece say
puzzlepiece_1 _2 and so on make them as templates that the user can use to
cut out the image where he wants to.
so what i would have is something like this.
Def curvature_func(pos, eb_size, xmod, ymod):
#A general curve to
Joseph king wrote:
i am trying to build a jigsaw game with
python, i would like to give the option for people to create there own
puzzle piece does anyone know how to accomplish this it is becoming
increasingly difficult for me
What sort of shapes do you want to be able to create? Would
i would like to create something that chose as a piece.
On Nov 6, 2007 5:25 PM, Greg Ewing [EMAIL PROTECTED] wrote:
Joseph king wrote:
i am trying to build a jigsaw game with
python, i would like to give the option for people to create there own
puzzle piece does anyone know how to