Search found 5 matches

by nibylev
Sun Oct 11, 2015 12:17 am
Forum: Libraries and Tools
Topic: I want to contribute to your project!
Replies: 4
Views: 2826

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...
by nibylev
Wed Jul 08, 2015 9:35 am
Forum: General
Topic: Trying to use hump.tween to tween arrays... without success.
Replies: 7
Views: 2948

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.
by nibylev
Tue Jul 07, 2015 12:17 am
Forum: General
Topic: Trying to use hump.tween to tween arrays... without success.
Replies: 7
Views: 2948

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

Code: Select all

fg.timer:tween(time, object, {param = value})
tweens object.param from current value to value specified in {}. What is that thing I am missing?
by nibylev
Mon Jul 06, 2015 4:33 pm
Forum: General
Topic: Trying to use hump.tween to tween arrays... without success.
Replies: 7
Views: 2948

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?
by nibylev
Mon Jul 06, 2015 1:22 pm
Forum: General
Topic: Trying to use hump.tween to tween arrays... without success.
Replies: 7
Views: 2948

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...