Search found 5 matches

by ismyhc
Wed Feb 10, 2016 3:34 pm
Forum: General
Topic: When creating a table, how can I access the value of the table while inside
Replies: 3
Views: 1672

Re: When creating a table, how can I access the value of the table while inside

New lua user here. When creating a table, how can I access the value of a table while inside of the table? Heres what Im trying to do: cool_table = { size = { w = 10, h = 10 } quad = AssetManager:getQuad(size.w, size.h) -- < id like to access the size table here, but im not sure how } Any help much...
by ismyhc
Wed Feb 10, 2016 2:15 pm
Forum: General
Topic: When creating a table, how can I access the value of the table while inside
Replies: 3
Views: 1672

When creating a table, how can I access the value of the table while inside

New lua user here. When creating a table, how can I access the value of a table while inside of the table? Heres what Im trying to do: cool_table = { size = { w = 10, h = 10 } quad = AssetManager:getQuad(size.w, size.h) -- < id like to access the size table here, but im not sure how } Any help much ...
by ismyhc
Fri Jan 29, 2016 6:11 pm
Forum: Support and Development
Topic: anim8 - How to change duration of running animation?
Replies: 2
Views: 2412

Re: anim8 - How to change duration of running animation?

You can increase/decrease the duration by manipulating dt before passing it to `animation:update(dt)`. For example, if you pass `animation:update(dt*0.5)` the animation will update at "half speed". If you pass `animation:update(dt*3)` it will go 3 times faster than usual. Put that number ...
by ismyhc
Fri Jan 29, 2016 2:05 am
Forum: Support and Development
Topic: anim8 - How to change duration of running animation?
Replies: 2
Views: 2412

anim8 - How to change duration of running animation?

Hello, New to love2d, and enjoying it. Im using aim8 which is working out really well. I have a question about durations. I can't seem to change the duration of animation once its created. How would I do this? For instance, I want to slow the animation down when the user presses the down key. -- set...
by ismyhc
Tue Nov 20, 2012 4:06 am
Forum: Support and Development
Topic: Particle effects editor?
Replies: 17
Views: 34137

Re: Particle effects editor?

Is there an updated version of this particle editor? Im new to love2d and have tried to get it working with 0.8.0 but with no luck...

Thanks!