1 App a Day for Corona SDK

Hi. I’m learning Corona Game Edition and Lua, and to try it out I thought a little project.

Appsamuck ( http://appsamuck.com/ ) was a 1-App-A-Day effort for iPhone with the iPhone SDK. I think it was the first version of the SDK.

I’ll be working in some of those apps, hopefully to finish all of them (31), during this couple of months.

The Github rep is: http://github.com/altuzar/Appsamuck_Corona_SDK

Please tell me any suggestion of fork it directly in Github. I’m a C++ developer, but a complete newbie with Corona and Lua.

[import]uid: 10828 topic_id: 3263 reply_id: 303263[/import]

Just added day 3, 4 and 5. Tiny apps. Used a draggable view for the 3rd day, developed by Chiliberto and shared in Github:

http://github.com/gg-ansca/ATA

I had a problem with the Show My IP app. But maybe someone knows an alternative. Checked out this question in the forum, but there’re not anwers:

http://developer.anscamobile.com/forum/2010/03/09/get-ip-address-device

Anyway, the 6th day is a little game and I’m learning lots of Lua and Corona. Quite nice and fast. =D [import]uid: 10828 topic_id: 3263 reply_id: 9797[/import]

I like Your idea.
I will also participate. [import]uid: 10507 topic_id: 3263 reply_id: 9809[/import]

Awesome!

Just committed the 6th day app, a little game called Reaction Time:
http://github.com/altuzar/Appsamuck_Corona_SDK/tree/master/6/

I’ll try to do a couple of apps today. Can I have a preference pane from a Corona app? [import]uid: 10828 topic_id: 3263 reply_id: 9867[/import]

I commited day 7, 9 and 11. The 11th is a Plumb with Physics and Accelerometer, but I couldn’t test it properly because of the Apple Dev Membership. Soon I’ll have one! But meanwhile, if someone can test it, would be nice.
The Snow Flakes apps was way harder than I thought, and had some CPU and memory issues. I don’t know how to destroy the bodies with a delay hehe. [import]uid: 10828 topic_id: 3263 reply_id: 9933[/import]

those are really cool! Mucho thanks! I’m just learning and these will really help. thanks again! [import]uid: 10062 topic_id: 3263 reply_id: 10020[/import]

Thanks a lot! Glad you like this little examples. I love to learn a new language.

Just committed the 12th day. It’s called UDecide, an app that take crucial decisions =P

http://github.com/altuzar/Appsamuck_Corona_SDK/tree/master/12/
[import]uid: 10828 topic_id: 3263 reply_id: 10064[/import]

3 Days and only 1 app added? Sorry, but I had a lot of real world work hehe.

Any way, just added a little animation that actually was tricky for me.

https://github.com/altuzar/Appsamuck_Corona_SDK/tree/master/17/

Thanks to @_zetta for lot of input about this one!

[import]uid: 10828 topic_id: 3263 reply_id: 10374[/import]

altuzar, looks like “plumb” works! One problem is that there’s so much springiness on the chain that it takes a long time to settle. It’s like a pendulum that keeps swinging forever. So, definitely needs tweaks, but it does what you intended. [import]uid: 9905 topic_id: 3263 reply_id: 10406[/import]

Awesome. Thanks a lot for the info, David. So the chains of the Plumb need better physics. I think that’s the Bounce property:

physics.addBody(object, [bodyType,]{density=d, friction=f, bounce=b[,radius=r]})

Well, I’ll fix that. In the meanwhile, just added a couple of more days to Github.

Thanks again, and happy coding!
[import]uid: 10828 topic_id: 3263 reply_id: 10464[/import]

Added the 23 and 24th days.

I had some problems with the draggable image from:

http://appsamuck.com/day24.html

To make it work, I used a Movieclip with the setDrag. However, the image was very small when loaded, so I initialized a display.newImage to compare and suddenly the Movieclip worked. Don’t know why. Maybe it’s a bug. And then had some problems with the bounds of the drag.

If someone can improve my terrible code, please tell me. It’s in Github:

https://github.com/altuzar/Appsamuck_Corona_SDK/tree/master/24/

Thanks. [import]uid: 10828 topic_id: 3263 reply_id: 10565[/import]

You’re welcome, altuzar! [import]uid: 9905 topic_id: 3263 reply_id: 10736[/import]

Hi there! I’ve added 3 more tiny apps. One of them is a fractal. Was a nice experiment, create a pretty fractal with Lua.

That app is here:

https://github.com/altuzar/Appsamuck_Corona_SDK/tree/master/25/

Hope it’s useful. [import]uid: 10828 topic_id: 3263 reply_id: 10843[/import]