I think that’s the main advantage with Ansca Mobile. They found a really good venture capitalist. They were nurturing and helped Corona to grow.
Progress Report: February 25, 2011
This is getting crazy. Heh, I keep hitting some of the worst parts of Corona development. Even just to place an image on the screen requires some big thinking…
The Hello World tutorial shows how to display an image…
[lua]local background = display.newImage( “world.jpg” )[/lua]
…but that doesn’t exactly work for me. Here’s why…
While having a headstart in development is useful, it can also be a hindrance. Instead of just going through the various APIs, I’m trying to learn Corona with a specific project in mind. I’m trying to recreate Commove. Why would I want to do that? It’s because Corona has Universal Binary support and Android support. So, I can create one project for multiple platforms.
But to do that, I have to master content scaling and resolution independence. Wow, it’s an advanced topic for someone just starting out. Yet, it’s important, as this determines the overall game design.
So, I’ve been playing with the differences between zoomScale, zoomEven and letterbox. I’ve been switching things around, so that’s neat. I even figured out simple stuff, like creating the GameSalad equivalent of Attributes.
I was pleased to see the os time on the screen… 1298648299. There’s so much I can do with that information. I learned how to display attribute information on the screen. I even messed around with vector polygons.
…and that’s the real problem in this. I can see how much extra work is involved to add retina display support and content scaling. Corona handles the problem the way it should, similar to how Flash does it. Yet, Flash has more advanced Vector graphics support. I’d recreate the artwork in vector, so I wouldn’t have to create multiple copies of the artwork. Unfortunately, I don’t think that’s a possible solution yet.
Getting started is tricky with Corona. I have to keep reminding myself that this is a good thing. It makes the book more valuable. Heh, I this morning I was thinking how much easier this would be if there was a book I could read. But if there was such a book, then I probably wouldn’t be working on this project — such irony.
I did manage to get my title screen in the simulator…
[lua]local title = display.newImageRect( “title-screen.png”, display.contentWidth, display.contentHeight )
title.x = display.contentWidth / 2
title.y = display.contentHeight / 2[/lua]
…but now I have to figure out the best way to reorganize my content. Do I really want to support Android?! If so, that’s going to be tricky with the narrow screen.
This is great material for the book! Even though I feel frustrated, I’m learning a lot! [import]uid: 13264 topic_id: 4938 reply_id: 25124[/import]