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 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]
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]
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: