Sign In Start Free Trial
Account

Add to playlist

Create a Playlist

Modal Close icon
You need to login to use this feature.
  • Book Overview & Buying LiveCode Mobile Development Beginner's Guide (2nd Edition)
  • Table Of Contents Toc
LiveCode Mobile Development Beginner's Guide (2nd Edition)

LiveCode Mobile Development Beginner's Guide (2nd Edition)

By : Colin Holgate, Joel W Gerdeen
3 (1)
close
close
LiveCode Mobile Development Beginner's Guide (2nd Edition)

LiveCode Mobile Development Beginner's Guide (2nd Edition)

3 (1)
By: Colin Holgate, Joel W Gerdeen

Overview of this book

The ideal reader for this book would be someone who already knows LiveCode, is interested in creating mobile apps, and wants to save the many hours it took for me to track down all of the information on how to get started! Chapter 1, LiveCode Fundamentals, will help those of you who know programming but are not familiar with LiveCode. The knowledge you've acquired should be enough for you to benefit from the remainder of the book.
Table of Contents (10 chapters)
close
close
9
Index

Chapter 5. Making a Jigsaw Puzzle Application

Picture this…

So far, we've been dealing with a lot of text or calling mobile OS features. These are neat things, but they're not that visual. If you were longing to mess around with pictures and image data, your time has come!

LiveCode isn't naturally a graphics powerhouse and its way of handling image data (often referred to as "bitmap data" by other tools) is somewhat unusual. It effectively stores the pixels of an image as a series of single byte characters to represent the red, green, and blue values of each pixel. Handling a final image is quite flexible, but in order to create something along the lines of a jigsaw puzzle, we need to understand the format of imageData, a LiveCode property.

In this chapter, we will:

  • Examine the way LiveCode stores bitmap data in an image object
  • Find a way to use a single bitmap in place of 50 buttons
  • Make a collision detection map
  • Create a jigsaw puzzle app that takes...
CONTINUE READING
83
Tech Concepts
36
Programming languages
73
Tech Tools
Icon Unlimited access to the largest independent learning library in tech of over 8,000 expert-authored tech books and videos.
Icon Innovative learning tools, including AI book assistants, code context explainers, and text-to-speech.
Icon 50+ new titles added per month and exclusive early access to books as they are being written.
LiveCode Mobile Development Beginner's Guide (2nd Edition)
notes
bookmark Notes and Bookmarks search Search in title playlist Add to playlist font-size Font size

Change the font size

margin-width Margin width

Change margin width

day-mode Day/Sepia/Night Modes

Change background colour

Close icon Search
Country selected

Close icon Your notes and bookmarks

Confirmation

Modal Close icon
claim successful

Buy this book with your credits?

Modal Close icon
Are you sure you want to buy this book with one of your credits?
Close
YES, BUY

Submit Your Feedback

Modal Close icon
Modal Close icon
Modal Close icon