sney2002

sney2002 supports this item

Supported

234 comments found.

Hello, I’m having an issue with the max width/height variables. They don’t seem to be doing anything. I’ve already sent an email to the author, but no response yet…

Can anyone help me please?

Hello,

I sent you an email the 10th nov to jonathan (at) ckd-communication.fr, It could be in the spam folder

yes, indeed. thanks a lot

Hello,

My image file is inconsistently being adapted at two different sizes. Sometimes the puzzle adapts it at full size. Other times the puzzle adapts the image to only the top left quadrant of the puzzle and leaves most of the puzzle pieces blank.

What am I missing?

maxHeight: 470, don’t working(((

Hi,

could you please send me a message through my profile page?

Thanks

I sent a message.

terapi

terapi Purchased

Hi,

I sent you an email from support tab. Have you received? Email address is teraphi@...

Hi,

Yes, I did answer your email, please check your inbox

terapi

terapi Purchased

Thanks.

hi i’m interested in the game, but i dont want my users to be able to pick their own images. I want them to solve puzzles with the images that I chose previously. Is this possible?

Hola,

1. si, se puede poner la opción shuffled a true para eso. 2. Si, con esa opción las fichas no se giran al desarmar el rompecabezas por lo que quedan en la posición correcta.

Listo, gracias! Ya lo compré.

Hi,

I want to know can this be made to join the correct pieces when ever they are placed together ?

Thanks

Hi Thank you very much, i just have one more thing to know, can i stop the random rotation of pieces when i shuffle the puzzle

Yes, you can set the “shuffled” option to false

thanks i will be buying this item today/tomorrow. so thank you for your time. :)

Is there a way to save a puzzel in middle of a game and get it back again?

Hi,

No, the puzzle doesn’t count with this functionality.

how can call on events? for example on puzzle completion? can you provide a sample code

No, there isn’t an event for that. I had no time to look into the size issue, I’ll look this weekend

can you point me to code where the fixing 2 pieces is done? so i can add some sort of a event or callback using that

I send you a new version of the code with a new event to know when two pieces are connected.

you can use it as follow:

jsaw.eventBus.on(jigsaw.Events.PIECES_CONNECTED, function(){
    console.log("piece connected");
});

The pieces are connected in jigsaw-controller in the “end” callback (line 378 if you haven’t done any changes, you can search for “end:”).

if after the loop “this” (the piece you are dragging) is different to “that”, is because the piece has been connected to other piece

i have an issue fixing the game canvas size, i have try to use the max width/height options but still it renders for the complete page. can you tell me how to fix this?

I answered your question on the other comment,

Can we fixed puzzle. On page load its chaning the shape of puzzle element

can you point me to code where the fixing 2 pieces is done? so i can add some sort of a event or callback using that

can you point to the js script where the puzzle size is setup? i can try to do a fix or something if i know where to look

The puzzle is resized in source/jigsaw-controller.js function resize, after any change you should concatenate the files with the following command (you should install node and uglifyjs)

uglifyjs utils.js jigsaw-objects.js jigsaw-controller.js jigsaw-ui.js jigsaw-events.js modal-window.js loader.js > canvas-puzzle.min.js
hey does this image max width option work? i used it but there is no difference. i update your example script itself check the screenshot below https://snag.gy/6GCK3P.jpg

It should work with the version I sent you, but remember it adjust the size of the image not of the playing area

Thanks dude you were super-helpful. Appreciate it.

Hey, From where i can modify the size of the pieces ? Those are too big and i want to adjust according to the play area. Check jigsawplanet how it automatically reduces the size according to the screen.

by
by
by
by
by
by