Search found 5 matches
- Thu Jan 20, 2022 6:17 pm
- Forum: Support and Development
- Topic: Animation problem
- Replies: 8
- Views: 4351
Re: Animation problem
Thanks darkfrei for this nice alternative !
- Thu Jan 20, 2022 9:39 am
- Forum: Support and Development
- Topic: Animation problem
- Replies: 8
- Views: 4351
Re: Animation problem
Thanks again for your help pgimeno ! It's now exactly what i want.
In conclusion, the main problem was a lack of understanding with the setViewport and newQuad instructions.
Setviewport can only be used for the animations of the same sprite in loops.
Have a nice day !
In conclusion, the main problem was a lack of understanding with the setViewport and newQuad instructions.
Setviewport can only be used for the animations of the same sprite in loops.
Have a nice day !
- Wed Jan 19, 2022 1:47 pm
- Forum: Support and Development
- Topic: Animation problem
- Replies: 8
- Views: 4351
Re: Animation problem
Tank you very much pgimeno ! With your advices i nearly manage to correct my animation code. I choose the second methode. Just one probleme remain : the explosion table doesn't remove herself when the animation is done. The explosions during forever. Perhaps a problem with the remove.table instructi...
- Tue Jan 18, 2022 11:01 am
- Forum: Support and Development
- Topic: Animation problem
- Replies: 8
- Views: 4351
Re: Animation problem
@pgimeno : thanks for answering and your advices ! I don't understand what do you mean about the viewport ? I stock the data of each exlosion in the variable "spritExplo" in a table relatively to each generated explosion. Can you show me what's wrong in my code ? Something to change in the...
- Mon Jan 17, 2022 11:17 am
- Forum: Support and Development
- Topic: Animation problem
- Replies: 8
- Views: 4351
Animation problem
Hello i’m a brand new beginner with lua and Love2D stuff. Sorry for my bad english cause i’m french ;) . My goal is to code a little shoot them up. I need help because one of my fonction doesn’t work as I expect. When a shoot hit an alien ship, for each ship hit i want to play an explosion animation...