Content Scaling Made Easy

Posted by & filed under Tech, Training/Support, Tutorials, Tips and Demos.

(Read the follow up: Dynamic Image Resolution Made Easy) Content scaling is a very useful feature of Corona, but it’s one that I’ve found myself explaining frequently. In this post, I’ll try to boil it down to the essentials, and demonstrate how to easily target multiple screens from the same code and assets. The problem Mobile device screens now come in many different shapes and sizes. At one extreme, the iPad screen is 768 x 1024, for a 1 : 1.33 aspect ratio. Meanwhile, the Motorola Droid (480 x 854) and Samsung Galaxy Tab (600 x 1024) have aspect ratios greater than 1 : 1.7. In plain English, the iPad is more square than the iPhone, and most Android devices are taller and skinner than


Upcoming Corona Webinar: Listeners and Functions

Posted by & filed under Events and Listeners, Tech, Training/Support, Tutorials, Tips and Demos.

We thought we’d give you a little more advanced notice this time about an upcoming Corona webinar. Picking up from his previous webinar, Carlos will be talking about Corona functions and how to structurally code your apps. Also on the agenda are Event Listeners, one of the core functionalities of Corona, plus object level events and Runtime events. This webinar also will go through a quick tutorial on the differences between the two, and will cover the Corona event model using functions to create program structure and flow. You can click into the webinar via Connect Pro this Friday, November 12 at 10:00 a.m. Pacific time. Hope to see you online!


Corona Tutorial: Display Objects and Texture Memory (Part 1)

Posted by & filed under Corona SDK, Tech, Training/Support, Tutorials, Tips and Demos, Videos.

In part 1 of this tutorial, I talk about the demo program used to explore Corona Display Objects and how it affects texture memory on mobile devices. I demonstrate how adding display objects (images) affects texture memory, and show the best practices for removing display objects to avoid app crashes. You can download the Corona program used in this video here.


Corona SDK Welcome Screen and On-Device Simulator

Posted by & filed under Corona SDK, Training/Support, Tutorials, Tips and Demos, Videos.

Since we just shipped it as a feature in the latest version of Corona, here’s a video explaining the new welcome screen in Corona SDK. Also, I use a couple sample apps (included with the SDK) to demonstrate how you can use the Corona Simulator to test-drive your creations on the iPhone, iPad, and the Android platforms. Have you found the new welcome screen to be helpful?


Create scrolling list views with text and graphics in Corona

Posted by & filed under Corona SDK, Tech, Training/Support, Tutorials, Tips and Demos.

We’ve created a set of mobile user interface frameworks that will give you a jumpstart on creating professional, touch screen apps in Corona. In this article, I’ll show you how to add text, graphics, and custom behaviors to the List View. The List View accepts a variety of parameters. The following are the basic parameters you’ll need for this tutorial: data. A table containing elements that the list can iterate through to display in each row. default. An image for the row background. Defines the hit area for the touch. backgroundColor. Specify a table that contains R, G, B values. Example: {255, 255, 255}. callback. A function that defines how to display the data in each row. Each element in the data table will be


Corona Meetup from this past weekend

Posted by & filed under Android, Corona SDK, Events and Listeners, Game Development, News & Announcements, Training/Support, Videos.

This past Saturday, Ansca Mobile was invited to lead a Bay Area workshop on iOS and Android development with Corona. We were thrilled to show the packed house of developers (from beginners to seasoned vets) how to use the newest Corona features.  The entire Ansca Mobile team was on-hand to provide insight about the toolkit to the new class of Corona developers, and help them with their own specific coding questions afterward.  Those who stuck around until the end got to partake in some “show and tell” with their app creations — the best ones received App Store gift prizes! Thanks to everyone who came out, and special thanks to Michael P. Wang of the Silicon Valley iPhone/iPad Business Meetup group for organizing the event.


Corona Workshop in the Bay Area This Saturday!

Posted by & filed under Events and Listeners, iPad, iPhone, Training/Support.

This week, not only are we launching new versions of Corona, but we’re also showing you how to use them! On Saturday, September 18, we’ll be leading a “Beginning iPhone/iPad App Development with Corona” workshop at Northwestern Polytechnic University in Fremont. Our very own CTO Walter Luh and senior engineer Evan Kirchhoff will be running the show, so rest assured you’ll be getting top-quality instruction! Be sure to check out the Meetup page for more details, including RSVP info and a list of software t0 have pre-installed before coming. Admission is $20, to cover the space rental. We only have a few more spots left, so don’t wait to reserve your spot. We look forward to seeing you this weekend!


Ansca at iOS 4.0 Development Training Camp (slides now available)

Posted by & filed under Education, Events and Listeners, Training/Support.

Over the weekend, Chia and I headed down to Mountain View to speak at the iOS 4.0 Developer Training Camp, put on by the Silicon Valley iPhone/iPad Business Meetup group. Ansca was also one of the day’s sponsors, and the main topics for my session were iPhone provisioning and App Store submission. The turnout was quite high, and it was a great audience: mostly experienced developers who were new to the iPhone, but all highly engaged by the subject. Apple’s iPhone Provisioning Portal, along with the general problem of setting up your environment and signing certificates, is a notorious trouble spot for new iPhone developers. In fact, a good chunk of our customer support here at Ansca consists of resolving Apple setup issues that technically