Jump to content

[TOPIC: topicViewTemplate]
[GLOBAL: userSmallPhoto]
Photo

1 App a Day for Corona SDK
Started by altuzar Nov 01 2010 02:19 AM

12 replies to this topic
[TOPIC CONTROLS]
This topic has been archived. This means that you cannot reply to this topic.
[/TOPIC CONTROLS]
[modOptionsDropdown]
[/modOptionsDropdown]
[reputationFilter]
[TOPIC: post.html]
#1

altuzar

[GLOBAL: userInfoPane.html]
altuzar
  • Observer

  • 14 posts
  • 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.

uid: 10828 topic_id: 3263 reply_id: 303263


[TOPIC: post.html]
#2

altuzar

[GLOBAL: userInfoPane.html]
altuzar
  • Observer

  • 14 posts
  • Corona SDK

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
uid: 10828 topic_id: 3263 reply_id: 9797


[TOPIC: post.html]
#3

thispedro

[GLOBAL: userInfoPane.html]
thispedro
  • Observer

  • 26 posts
  • Corona SDK

I like Your idea.
I will also participate.
uid: 10507 topic_id: 3263 reply_id: 9809


[TOPIC: post.html]
#4

altuzar

[GLOBAL: userInfoPane.html]
altuzar
  • Observer

  • 14 posts
  • Corona SDK

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?
uid: 10828 topic_id: 3263 reply_id: 9867


[TOPIC: post.html]
#5

altuzar

[GLOBAL: userInfoPane.html]
altuzar
  • Observer

  • 14 posts
  • Corona SDK

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.
uid: 10828 topic_id: 3263 reply_id: 9933


[TOPIC: post.html]
#6

Stanimation

[GLOBAL: userInfoPane.html]
Stanimation
  • Enthusiast

  • 57 posts
  • Corona SDK

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


[TOPIC: post.html]
#7

altuzar

[GLOBAL: userInfoPane.html]
altuzar
  • Observer

  • 14 posts
  • Corona SDK

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/
uid: 10828 topic_id: 3263 reply_id: 10064


[TOPIC: post.html]
#8

altuzar

[GLOBAL: userInfoPane.html]
altuzar
  • Observer

  • 14 posts
  • Corona SDK

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!

uid: 10828 topic_id: 3263 reply_id: 10374


[TOPIC: post.html]
#9

DavidBFox

[GLOBAL: userInfoPane.html]
DavidBFox
  • Contributor

  • 179 posts
  • Corona SDK

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.
uid: 9905 topic_id: 3263 reply_id: 10406


[TOPIC: post.html]
#10

altuzar

[GLOBAL: userInfoPane.html]
altuzar
  • Observer

  • 14 posts
  • Corona SDK

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!
uid: 10828 topic_id: 3263 reply_id: 10464


[TOPIC: post.html]
#11

altuzar

[GLOBAL: userInfoPane.html]
altuzar
  • Observer

  • 14 posts
  • Corona SDK

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.
uid: 10828 topic_id: 3263 reply_id: 10565


[TOPIC: post.html]
#12

DavidBFox

[GLOBAL: userInfoPane.html]
DavidBFox
  • Contributor

  • 179 posts
  • Corona SDK

You're welcome, altuzar!
uid: 9905 topic_id: 3263 reply_id: 10736


[TOPIC: post.html]
#13

altuzar

[GLOBAL: userInfoPane.html]
altuzar
  • Observer

  • 14 posts
  • Corona SDK

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.
uid: 10828 topic_id: 3263 reply_id: 10843



[topic_controls]
[/topic_controls]