CSU East Bay professor Dr. Rafael Hernandez has been on a serious Corona roll lately! Last week, he released this video tutorial on coding a simple orb-smashing game from start to finish. Full run time on the video is just under 39:30 — whoa. Be sure to provide any feedback to Dr. Hernandez via Twitter, and watch out for more of his tutorials to be featured here, on our blog.
Category: Tutorials, Tips and Demos
Using Corona SDK, writing hundred of lines of code for a simple slider control will be a thing of the past. Simpler just got a whole lot more — uhhh — simplerer! …Of course, we’ll only roll out this feature to our subscribers!
Missed seeing these things, didn’t ya? Based on the incoming blog comments to our previous Corona Comics tutorials, Dwayne Ferguson of DieHard Studio will now show you how to easily yet effectively color in your comic book art as you go about making your iPad comic. In case you’ve missed any of his past pieces, Dwayne has already covered inking your art and even putting in word balloons, so you’ll be ready to go after you get coloring down pat!
This type of question has appeared on the forums multiple times. Basically, it goes something like this: I have set up a listener callback function. But when the callback function is invoked, I would really like access to a specific variable in that callback function. The event that is passed back to me doesn’t give me access to the variable I want. How can I access my variable? There are multiple solutions to this problem, but often using a global variable is the path of least resistance. But nobody really likes being forced to use global variables when they don’t have to. Well, I’m going to introduce a much more elegant solution that leverages the true power of Lua. If you read Programming in Lua,
Universal Builds are a feature I’m really excited about in the latest version of Corona SDK. There are some great possibilities that you can take advantage of in your apps with Universal Builds in Corona SDK. Corona SDK can do some amazing things with dynamic content scaling and dynamic image resolution to make sure your graphics look sharp on hi-res screens. What I’d like to add is that you can have dynamic layouts on different devices as well. Where I Last Left Off A while back I posted a tutorial on the blog, “Create scrolling list views with text and graphics in Corona”. Then I posted an update to show how easy it would be to modify so that the same code that you used
The big news this week, of course, is our Corona SDK on Windows release. However, we also announced a myriad of third-party tools that also are now available for Corona, created by brilliant users like yourself. So, now, we’ll be showcasing a new tool each day. First up is SpriteDeck, which brings the easy drag-and-drop option of game creation to Corona. SpriteDeck‘s beauty lies in what it especially brings to the field of iPad comics with its drag-and-drop interface. A quick low-down on that can be seen below: SpriteDeck currently is available for $49.00 USD, but founder Zee Yang just informed us that coupon codes can be obtained directly from him via e-mail. (See? Sometimes it pays off to read all the way to the end of
In the past, we’ve released some beginner’s guides to Corona SDK that have been very well received by our users, new and old. Now, we present part 1 of the Corona For Newbies tutorial, created by user Peach Pellen. Peach has condensed an excellent Corona crash-course into a set of quick sample sets to walk even the most aspiring yet code-illiterate developers through their first crucial steps of app creation. Head on over to Peach’s site Techority to get all the details on Corona For Newbies, or click the link below to download the tutorial (.ZIP file) now. Download Corona For Newbies, Part 1 Oh, and be sure to tweet @PeachPellen and let her know what you think!
CAUTION: This tutorial is outdated and the material cannot be confirmed as accurate. A new guide covering this topic is coming soon. This article is designed to get Flash developers quickly oriented within Corona. First, I’ll discuss how to take your existing Flash projects and turn them into Corona projects, followed by a more general introduction to Corona from a Flash perspective. (1) Exporting Assets from Flash A good first step is to export all your graphical assets. When porting from Flash Lite on older devices, I generally recreated higher-resolution assets for the larger iPhone and Android screens. However, web-based Flash games will likely have assets that are already a good size for today’s mobile devices. And of course, if the assets are vector-based, you
Over the past few months, we’ve noticed some very useful Corona SDK tutorials (complete with source code!) going up at the Mobiletuts+ mobile tutorials site. Just today, a new tutorial done by Carter Grove was posted on the site showing you how to use Corona’s path-finding algorithm. You can click the screenshot below to check it out, and see the rest of the Mobiletuts+ Corona SDK tutorials here. Also, if you want to make a tutorial yourself and share it with the rest of the Corona community (whether as a video or as a simple post with code annotations), let us know and we’ll help you out with anything you need!
Using a variant of the Douglas-Peucker algorithm in conjunction with the curve-fitting algorithm by Philip J. Schneider found in Graphics Gems I, Carlos wrote this in Corona SDK using nothing but the Corona framework to draw, reduce points, and convert the resulting polyline into a series of cubic bezier curve segments. Sample code coming soon! (you can bug Carlos if you want it immediately, though)