Computer Weekly – LiveCode and Games, The Most Popular Form of Mobile Applications
by Jana Doughty on December 7, 2011 No commentsiPhone Life – LiveCode offers an easy on-ramp to app development
by Jana Doughty on December 5, 2011 No commentsCult of Mac – 4 Star Review of LiveCode
by Jana Doughty on November 30, 2011 No commentsLiveCode 5.0.1
by Ben Beaumont on November 24, 2011 No commentsWhat’s new?
Firstly, on all platforms we have implemented improvements to the Accelerated Rendering which was introduced with LiveCode 5. No fewer than 35 bugs were squished, many on desktop/all platforms (see below). Generally, this is a fairly Android centric release in terms of features. We’ve added:
Open GL support on Android
As well as the new graphics architecture introduced across all platforms in LiveCode 5.0, you can now use the Open GL features on Android as well as iOS. Get the fastest possible performance out of your animations!
In App purchasing for Android
This important feature allowing you to earrn more money from your apps now works on Android as well as iOS, and you can find out how to use it by following our hands on lesson. Start adding powerups to your Android games to boost your user engagement 🙂
Support for the hardware “Menu” key on Android.
A simple but important feature. Use this with the following syntax:
on menuKey answer "You pressed the menu key" with "Okay" end menuKey
This allows you to handle the menuKey message to perform an action when the menu key is pressed by your user.
Support for the hardware “Search” key on Android
Sent to the current card of the defaultStack when the hardware search button is pressed.
on searchKey answer "You pressed the search key" with "Okay" end searchKey
Again, a very welcome addition to the Android features available to you.
Store on the SD card as well as device.
This is going to make your apps much more popular with end users – now you can store them externally, saving space on the device.
iOS gets some new features too:
Activity indicator
iOS provides a native animated activity indicator that sits above all other components and is used to indicate that an app is busy processing. Use the iphoneActivityIndicatorStart command to display a native iOS activity indicator on the top of the LiveCode stack that is running.
iphoneActivityIndicatorStart [type], [xposition, yposition]
Here, type can be one of:
- gray – default, displays a small gray spoked animation
- white – displays a small white spoked animation
- whiteLarge – displays a large white spoked animation
The xposition and yposition specify the location in pixels of the activity indicator. If a location is
not specified, then the animation is positioned in the middle of the screen. You can turn the activity indicator off by calling iphoneActivityIndicatorStop.
Media picker
You can present the user with the standard iOS media picker using:
iphonePickMedia [multiple], [type…]
Set multiple to true if you want to allow the user to pick more than one item.
You can specify the type of media item the user is to select from by passing one or more of the
following:
- music – Specifies that the user should be allowed to select music items.
- podCast – Specifies that the user should be allowed to select pod casts.
- audioBook – Specifies that the user should be allowed to select audio books.
- anyAudio – Specifies that the user should be allowed to select any audio item.
If no types are passed, all media items will be displayed. A return separated list of all the media items the user has picked will be present in the result. A media item can be played back using the play command.
We’ve also updated the play command to support playback of files in iPod
library and updated native browser control to send a new message “browserLoadRequested”.
What’s Fixed?
We’ve ironed flat no fewer than 35 bugs in this release, many on desktop, a large number on iOS and a handful on Android. To list them all here would be tedious, but some noteworthy beasties were:Â
- Visual effects now working when transitioning from card to stack (iOS)
- Export snapshot no longer produces inverted images in landscape mode. (iOS)
- Launch image is displayed with the correct orientation (iOS).
- PDF printing now works on iOS4 (iOS).
- Date picker permits the selection of dates before 1970 (iOS).
- Updated template plists to remove deprecated entry CFBundleIcon. (iOS)
- Device builds no longer confused by externals built for 5.0 simulator (iOS)
- opaque graphics render correctly using OpenGL compositor (Android)
- No black screen when switching between OpenGL and Bitmap modes ( Android)
- Visual effects now work in OpenGL mode ( Android)
- Focus correctly revoked when object hidden using ‘hide … with visual effect’ (desktop)
- Redraw issues fixed with QT players on Mac (desktop)
- New objects redraw correctly when created (desktop)
- Toggling ‘show invisibles’ now redraws bottom-most stack (desktop)
- Focus border is included in redraw when hiding field (desktop)
- Posting to HTTPS URLs now works (desktop)
- Now able to set blendLevel of stacks with a windowShape that contains alpha (desktop)
For a full listing of fixed issues, please check the release notes for each platform.
read moreLiveCode 5
by Ben Beaumont on October 13, 2011 No commentsLiveCode 5 now lets you create apps with hardware accelerated graphics.This means you can now create stunning multimedia rich apps and exciting games that run faster and more smoothly than ever before on mobile platforms as well as the desktop.
The rendering speed of LiveCode 5 is up to 10x faster than its predecessor.
Other Headline Features
Not only that, we’ve brought you In-App purchasing, iOS 5 compatibility, and a brand new Learning Portal. This Learning Portal is well worth a look. Elanor got such great feedback in the Academy course, that we asked her to create these six videos together with the learning materials. Below is the first one in the series, and you can check the rest out at your leisure here.
In this first lesson we take you on a tour of LiveCode and introduce basic concepts like stacks (windows), cards (screens), objects (buttons, fields etc) and how actions and information are passed between them. We’ll also show you the various panes within LiveCode and what they all do.
What else is new?
If you’ve been reading our blog or seen our new front door you’ll know all about the headline features already. What you may not appreciate yet is all the additional work that has been done, across the board, to make LiveCode 5 the best LiveCode ever. On your behalf I’ve been digging through the release notes for the various platforms, to see what else has been done by our hard working team.
Bug fixing
Not the sexiest topic, but as every programmer knows, one more bug squished is one less sleepless night for someone, somewhere. I’ve counted up 54 bugs mentioned as fixed in the release notes across desktop, iOS and Android. Here are a handful of gems:
Desktop fixes
Fixed: Building a standalone cuts off a stack
Fixed: Wrong color used to draw on Windows if new color has same red and blue when inverted as old color
… and 31 more bugs eliminated on desktop!
Android fixes
Fixed: card/stack initialized with wrong size during Android startup.
Fixed: import/export snapshot inverts colors on Android
… and 5 more specific Android bugs gone!
iOS fixes
Fixed: allowed orientations not set to plist settings on startup on iPad.
Fixed: nested controls don’t receive touch messages
… and 18 more nasty little bugs squished here!
Android Love
You might be thinking – hey, great, LiveCode iOS gets in-app purchasing and support for iOS 5, but what’s in it for Android? A quote from our user base answers this rather well:
“The new engine works great on Android and I can attest that it makes an amazing difference. Also, visual effects are now functional, stability and memory management has been markedly improved, redraw and background pattern issues have been addressed, orientation is better supported, graphic effects (shadows, etc) now work. These are all in parity with iOS.” ~ Jacque Landman-Gay
In-App purchasing is coming very shortly to Android, it just didn’t quite make the cut for 5.0. We decided to hold it back and give it a little more polish, rather than risk shipping it in a slightly experimental form.
More features
As well as the major features, LiveCode 5 brings you Pixel Perfect Intersect and the Auto-Updater on desktop. LiveCode will now inform you when there is a new release available that you might be interested in, and you can grab your update right from inside the program. Android gets support for all the standard visual effects, and even Server gets a sneaky little feature add – support for sessions has been added.
Recent Comments