Search found 5 matches
- Sun Oct 11, 2015 12:17 am
- Forum: Libraries and Tools
- Topic: I want to contribute to your project!
- Replies: 4
- Views: 2963
I want to contribute to your project!
Hey, I need to find a project for the course on my studies "Team Project". I have searched some big projects on sourceforge but I realized that they require a lot of time to understand the code and I am not sure I can just jump into it and contribute in a couple of months. Because I alread...
- Wed Jul 08, 2015 9:35 am
- Forum: General
- Topic: Trying to use hump.tween to tween arrays... without success.
- Replies: 7
- Views: 3095
Re: Trying to use hump.tween to tween arrays... without succ
Thanks for replies, I understood some.
I will be investigating this from side of lua syntax later. This is completely new language for me.
I will be investigating this from side of lua syntax later. This is completely new language for me.
- Tue Jul 07, 2015 12:17 am
- Forum: General
- Topic: Trying to use hump.tween to tween arrays... without success.
- Replies: 7
- Views: 3095
Re: Trying to use hump.tween to tween arrays... without succ
So what is the syntax of timer:tween? The documentation suggests that the code
tweens object.param from current value to value specified in {}. What is that thing I am missing?
Code: Select all
fg.timer:tween(time, object, {param = value})
- Mon Jul 06, 2015 4:33 pm
- Forum: General
- Topic: Trying to use hump.tween to tween arrays... without success.
- Replies: 7
- Views: 3095
Re: Trying to use hump.tween to tween arrays... without succ
Thanks, although I don't get one thing: the value a.table[1] is not nil, so I would expect my code to work. How do you mean that value is nil?
- Mon Jul 06, 2015 1:22 pm
- Forum: General
- Topic: Trying to use hump.tween to tween arrays... without success.
- Replies: 7
- Views: 3095
Trying to use hump.tween to tween arrays... without success.
Hi, does anyone know if thats possible to tween arrays? I have an obejct "a" of class Foo. I set some table in it: a.table = {1, 2, 3} then I try to tween it: fg.timer:tween(1,a, {table[1] =3) but I get an error. Also tweenging the wole table does not work: [code] fg.timer:tween(1,a, {tabl...