Image Puzzle

Post your own tutorials, guides and demos.

Post » Sat Oct 09, 2010 11:16 pm

Here's an example/game of a Image puzzle with randomly shaped pieces.

Enjoy
B
79
S
24
G
54
Posts: 4,754
Reputation: 40,771

Post » Sun Oct 10, 2010 10:41 am

Thanks RojoHound.Ok so now to disable the mouse type movement when the right tile is dropped on the right place.And when you drop the wrong tile on the wrong place then that tile must move to it's default position on the table.
B
22
S
3
G
6
Posts: 1,356
Reputation: 7,141

Post » Sun Oct 10, 2010 7:48 pm

I made a puzzle game once but with freeform pre-made pieces. Actually it was a map of the country with states as pieces.

The pieces were frames in an animation, put in their destination spots in the editor, set to invisible on runtime startup and disabled for mouse dragging. Then a random piece was created by selecting a random frame. This piece could be dragged and upon being dropped it would snap into place if it was within a small distance of an invisible piece with the same frame number. Otherwise it would snap back to its original position.

Maybe that gives you some ideas for your own game, cheers.
B
3
S
2
G
4
Posts: 1,445
Reputation: 4,665

Post » Sun Oct 10, 2010 8:11 pm

Thanks for the advice madster.Now my puzzle game works like a charm.
B
22
S
3
G
6
Posts: 1,356
Reputation: 7,141


Return to Your tutorials & example files

Who is online

Users browsing this forum: No registered users and 1 guest