Hi;
I want to create a very simple picture puzzle game. Let's say I will have 8x8 = 64 tiles (rectangles). the only thing to do is to drag shuffled tiles one by one on a blurry (alpha 0.6 or something) image, and when the rectangle is very near to the true coordinates, it will stick to the background. Where should I start?
Comments
I have a crappy code with very simple puzzle game.
I don't really have a time to make it clear and create comments, but may be it will help you.
In puzzle.lua
on puzzle:init you'll choose image at random, cut it to many rectangles and shuffle on a screen
on puzzle:onMouseDown(event) you'll catch a piece of puzzle.
on puzzle:onMouseMove(event) you'll drag it.
on puzzle:onMouseUp(event) position will be checked. If it will be right, piece of puzzle will be hold at this position and you will listen a sound.
Likes: altai
I am getting puzzle.lua:88: mus/yes.mp3: No such file or directory.
although I have the files in the folder.