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

Image data format


In other authoring tools, such as Adobe Director and Adobe Flash, bitmap data is stored as a matrix of 24-bit or 32-bit values. If you want to know the color of the 20th pixel from the left edge in the 15th row from the top of the image, you would have to use a getPixel function with these numbers filled in. In Flash, which uses a zero starting point for all its variable types, you would have to write the following code:

pixelcolor = bitmapvariable.getPixel(19,14);

You would in fact have to start this line with var pixelcolor:uint, but here we're looking at the main differences and not the oddities of having a strongly typed programming language! In Director, which like LiveCode uses 1 based variables, you would have to write the following code:

pixelcolor = imagevariable.getPixel(20,15)

Again, there's no need for variable typing or even a semicolon at the end of the line. While we digress, Flash too, doesn't need the semicolon at the end or at least, you don't have to type...

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