I’m somewhere near a bunch of crates, apparently… UPDATE: Here is a bonus code sample, which is one line long. [cc lang="lua"] myMap = native.newMapView( 40, 80, 240, 280 ) [/cc]
Category: Corona SDK
This past week, we presented our Physics in 5 Lines demo at the MobiCASE conference in Silicon Valley. To our most pleasant surprise, Corona was named ‘Best Demo’ at the conference for its contribution to the field of mobile development! Thanks to the MobiCASE organizers for the honor, and thanks to you — our users — for putting our “5 Lines” demo to everyday use in your creations!
Last week, we introduced Zwoptex integration with Corona for more efficiently dealing with sprites and animations in your games. This week, we bring you the TexturePacker command line tool for handling sprites in Corona. It’s not a competitor to our previous Zwoptex integration — just another option we wanted to provide for you, our users. Here are the main specs on TexturePacker, courtesy of creator Andreas Löw from Code ‘n’ Web: Fully automated layout with detection of the optimal texture size. On-the-fly rescaling of sprites to create high-res and low-res sprite sheets. Automated cropping of transparent pixels for faster rendering and smaller files. Automated creation of aliases using space only once for identical sprites after cropping. Output size optimization for finding the smallest file size.
Over the past week or so, we’ve noticed a lot of new visitors coming to our site and checking out what Corona has to offer. We know that choosing an SDK and committing to it is no light proposition, and you certainly don’t want to put your money and dedication into a toolkit only to have it disappoint you later on. So, to help ease your transition to Corona, we’re offering it to you at 50% off the prerelease price ($174.50/year instead of $349) using the coupon code CORONA4YOU. For more details, visit us over at this page, which we’ve set up for new visitors just like you. This offer is available for anyone, but you better move quick — the coupon code expires at midnight
Corona users come in many types: some have been with us from the beginning, and have watched the product evolve; others have recently migrated from other platforms; and for some, Corona is their first programming environment. By popular request from many new users, we have just posted an absolute beginner’s guide to Corona: the Corona Quick Start Guide. This guide covers everything from installation, to writing your very first programs, to exploring the Corona Simulator itself, including how to test the same code for iPhone, iPad and Android. We will continue to post tutorials and lessons for users of all levels, but if you’re new to Corona, give the Quick Start Guide a read and let us know what you think!
It is no secret that, here at Ansca, we are looking at what our next mobile platform should be for Corona — and this should not come to a surprise to anyone, especially in this fast-moving mobile industry. While Apple iOS and Google Android have captured the minds and market as the two top mobile platforms, who is on third? Microsoft’s Windows Phone 7 (WP7)? Palm OS? RIM? Samsung’s Bada? Symbian? Meego? Several weeks ago, weeks prior to the WP 7 launch, I met with Brian H. from Microsoft to discuss Corona and WP7. He was very excited to discuss WP7 and Corona and to show me the features of his WP7. It was literally watching a kid play with the toy he has dreamed of
Yesterday, we told you about Zwoptex integration with Corona Game Edition, and touched upon its benefits for sprite animation and better device memory usage. Today, we have Zwopple Founder Robert Payne — creator of the Zwoptex app — here to pen a guest blogpost to further elaborate on what Zwoptex means for you and your Corona creations. When Ansca Mobile contacted me about integrating Zwoptex with Corona, I had little idea what they were up to. After playing around with Corona for a couple of days and seeing how easy it was to get up and running, I couldn’t have been more excited to get Zwoptex to work with Corona Game Edition! Game Edition already utilized sprite sheets. So, what’s new and how does it
A couple weeks ago, we announced the public prerelease of Corona Game Edition. Today, we’re rolling out some key improvements to Game Edition: Numerous bug fixes! All the SDK fixes are now rolled in, and we’ve paid special attention to Android, previous gaps in the sprite API, and physics API issues. Enhancements to existing features, including an improved OpenFeint API, laying the foundation for further social features. A new “gameUI” library, for easy cross-platform sound effects, cross-platform fonts, and the ability to make any physics objects multitouch-draggable with just one line of code (see the new “Multipuck” sample). Custom font support for both iOS and Android. A new welcome window that provides easy access to common development tasks such as opening projects in the Simulator, starting a device build, running sample
In part 2 of this tutorial I run the demonstration program used to explore Corona Display Objects and how it affects texture memory on mobile devices. Be sure to check out part 1 of the tutorial before watching this video. You can download the Corona program used in this video here.
Word on the street is that Sprint will be releasing the Android-based Samsung Galaxy Tab around November 14. Pricing points reportedly will run at $399 for a 2-year contract and $599 without contract. This couldn’t come at a much better time for us and, most importantly, for you! A week ago, we told you about how Corona successfully ran on the Galaxy Tab: I snagged one of the two Tab demo units in the room. These are still pretty rare, so we had literally never tested Corona on one, and I didn’t want to pass up the opportunity. It’s always a bit dangerous to try a demo in public for the first time, but in front of the live audience I pulled down some Game Edition samples