Hi. I'm a recently new user of Corona and I was wondering, is there was a logic already made for making puzzle pieces in Corona (For example, you have a bunch of pieces of a full image that you can put together on the screen)? If not, I'm working on something like that and I'm finishing the bugs on the logic. I can put it in the code exchange pretty soon, but I would rather not post what someone already did.
Label: corona android iphone ipad building error inmobi problem display screen View image tableView failed object physics touch button game lua config event listener |
Puzzle Piece Game Logic
For clarification do you mean a jigsaw puzzle?
Not exactly I'm talking about having a picture broken apart into separate squares and scattered in a gridded layout. You then have to can shuffle the pieces around to try and get the full view. This logic can be used for jigsaw puzzles to with a little tweaking though.
James,
Thank you for your effort!
Do you have any code to share yet?
Leo
Yea I do. I'll be submitting it this Saturday. Just wasn't sure if It was already posted previously.
Wonderful!
I'm looking forward to try it out.
Thank you,
Leo
Any updates (links) yet?
Leo
@anscamobile8,
use a sprite sheet, split the image into squares depending on the size you want, each frame is the image you want.
see the samples in the Corona Directory to know more about SpriteSheets
cheers,
?:)
Hey ansca,
It's up now: http://developer.anscamobile.com/code/puzzle-piece-game-logic.
Let me know what you think and I hope it helps!
send message and call to a person
Forum: Report Spam + PM
[INSTALL_PARSE_FAILED_NO_CERTIFICATES]
[SOLVED] Director ERROR: Failed to execute new( params ) function on 'screen1'
Too many (200) local variables
Corona SVG Level Builder released. Drag and drop physics level editor with Inkscape and SVG.
Small bug in Collectible Items example
Pivot Joints and apparent elasticity
Can't make removeSelf() delayed
Adding Collision With Sensor?!
Director Class and Modules / external files
PDF Support
GIF > Sprite Sheet - The Easy Way Tutorial
Apple Rejecting Apps with OpenFeint
App frozen when add InnerActive ads
director class compatible with WindowsSDK ?
Centre Text on a screen coordinate
How to make it so score resets (0) when ball hits ground?