Search found 11 matches
- Tue Jul 05, 2016 8:06 am
- Forum: Libraries and Tools
- Topic: Flash animation in LÖVE
- Replies: 22
- Views: 12230
Re: Flash animation in LÖVE
zorg, pgimeno, i can't express my gratitude for your efforts. You did the magic :) Skewing works flawlessly now! I also corrected a pair of bugs, like framerate handling, and i'm still not super-sure about pivot points, but I can confirm that: - i run tests with the flies making love, animating them...
- Mon Jul 04, 2016 1:55 pm
- Forum: Libraries and Tools
- Topic: Flash animation in LÖVE
- Replies: 22
- Views: 12230
Re: Flash animation in LÖVE
So it's probably combined, my guess anyway: [SkewX] _ [ cos(r) sin(r)] ( [1. kx] [x] ) [SkewY] ¯ [-sin(r) cos(r)] ( [ky 1.] [y] ) Yes, it's combined. As soon as i get home i'll try implementing it. Never tried your approach, i'll explore it and update the thread. Thank you so much. Just to be sure,...
- Mon Jul 04, 2016 12:53 pm
- Forum: Libraries and Tools
- Topic: Flash animation in LÖVE
- Replies: 22
- Views: 12230
Re: Flash animation in LÖVE
Okay, i exported the test cases you requested: https://love2d.org/imgmirrur/fTb7gSV.png Just a note, as the naming for my library is so similar to Flump. Lump just _reads_ the values exported from Flump. Any publish / export logic of the values we are looking at remains in the Flash -> Flump area; L...
- Mon Jul 04, 2016 11:43 am
- Forum: Libraries and Tools
- Topic: Flash animation in LÖVE
- Replies: 22
- Views: 12230
Re: Flash animation in LÖVE
These are the test cases I had in mind (made with Inkscape). In the 3rd example, the angle of the horizontal edge is 30°. Please also add a fourth one as in the illustration. Please include the scale values as well if possible. http://www.formauri.es/personal/pgimeno/temp/skew-tests.png The fourth ...
- Mon Jul 04, 2016 11:42 am
- Forum: Libraries and Tools
- Topic: Flash animation in LÖVE
- Replies: 22
- Views: 12230
Re: Flash animation in LÖVE
Let me clarify a bit, i found that wiki article, and linked it here to ask whether that's the part of flash you want to implement here, or not. If it is, then you may be able to do a bit more stuff with meshes, since their vertices can be modified however one would like; with the proper math, somew...
- Mon Jul 04, 2016 11:38 am
- Forum: Libraries and Tools
- Topic: Flash animation in LÖVE
- Replies: 22
- Views: 12230
Re: Flash animation in LÖVE
Your lib is dependent on globals. I did not try it out yet but looking at the code you use globals and the lib depends on globals. Both of which is generally not good design for a library. The library will not work as is in a new project. Hi bobbyjones, I updated the library to fix the issues you h...
- Sun Jul 03, 2016 11:07 am
- Forum: Libraries and Tools
- Topic: Flash animation in LÖVE
- Replies: 22
- Views: 12230
Re: Flash animation in LÖVE
pgimeno, zorg, thanks for your help. pgimeno, i'm specially curious to try out your math. Your approach is new to me and could make sense. Today i'll put some care in fixing portability issues, then move on immediately with the testcase you're asking for. Just to be sure i understood, the 3d point i...
- Sat Jul 02, 2016 4:53 pm
- Forum: Libraries and Tools
- Topic: Flash animation in LÖVE
- Replies: 22
- Views: 12230
Re: Flash animation in LÖVE
Yep, i know, but after a long while, i couldn't find a way to calculate it. The strangeness begins with Flash, which exports rotation _and_ skew in just two values (instead of three). I really think it's possible, but was unable to come up with a solution. Again, any hints are really appreciated :)...
- Fri Jul 01, 2016 12:14 pm
- Forum: Libraries and Tools
- Topic: Flash animation in LÖVE
- Replies: 22
- Views: 12230
Re: Flash animation in LÖVE
Also, not really familiar with what kind of transforms are in flash, but löve does support shearing, and i believe you can "combine" transforms to get what you want, within one lg.push level; granted it needs a bit more math than just manually giving all values of a 4x4 matrix, but should...
- Fri Jul 01, 2016 12:12 pm
- Forum: Libraries and Tools
- Topic: Flash animation in LÖVE
- Replies: 22
- Views: 12230
Re: Flash animation in LÖVE
Your lib is dependent on globals. I did not try it out yet but looking at the code you use globals and the lib depends on globals. Both of which is generally not good design for a library. The library will not work as is in a new project. Hi bobbyjones, thanks for your comments. The library has bee...