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

Time for action – testing a getPixel function


Before getting to useful examples, let's make a getPixel function to obtain the color components of a point in the image and then complete a quick test case. The following steps will help you in this process:

  1. Make a new Mainstack. Click on Save to save it as ImageDataTests.

    Note

    We'll use the same stack to illustrate several things and at the end, we may dare to try it on a mobile device!

  2. Set the stack's resolution to the size of your largest test device or just try 1024 x 768 if you'll be using the iPad Simulator.

  3. From the File menu, navigate to Import as Control | Image and select any small image file you have, to place it in the upper-left corner of the card window. The next example, uses a LiveCode logo image that can easily be obtained from any LiveCode web page.

  4. Place a new Graphic object next to the image. It's going to show a single color, so just make it big enough so that you can easily see the color. Name it swatch.

  5. Set graphics to default...

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