![]() Sep 17 2013, 2:22 pm
In response to Hiro the Dragon King
|
|
I couldn't imagine doing animation prior to the age of computers. 4fps would make it bearable, but 24 fps done without software would be horrible.
|
Bravo1 wrote:
well I've managed to get rotating 2d projection onto an isometric plane working in code. Can you show that off a bit? I'm interested in what other people are doing with this, because there's a number of things I want to try, but only one of me to do it. |
With a single line of code, I turned this into this:
![]() I made this over a month ago: ![]() I might try that one again, maybe. |
Might I see the transform you are doing on those tiles in your racer there, Kiao?
|
Note that everything visible there is an object in client.screen.
First, translate by the displacement between you and the object. Second, rotate by the negative of the viewing angle. The screen object's screen_loc is just CENTER. That's all it takes to get the top-down view. To get the isometric-style view, all you have to do is Scale(1, [between 0 and 1]) last. |
Bravo1 wrote:
https://dl.dropboxusercontent.com/u/25108410/ iso_spin_test.rar Here's the link again for isometric rotation on a 2D plane. I'm okay with posting a code snippet if you'd like to recreate it. |
This is what I made with animate().. I know, I know, it's simple. I just wanted to post :D
![]() |
That initial lag seems a bit annoying... (not talking about waiting for the gif to load, i wanted until it repeated)
|
Ter13 wrote:
I couldn't imagine doing animation prior to the age of computers. http://www.youtube.com/ watch?feature=player_detailpage&v=GYSfncB4peU#t=84 Hope this helps your imagination :D |
You guys need to show me how it's done! Looks so cool! =P
I'm still getting trying to get the hang of this! |
For those trying to make a particle system: remember that memory allocation and deallocation is generally slow. Instead of creating and destroying your particles, why not pull them from a list of projectiles you don't need anymore?
This should already be obvious, but I suppose it's worth saying. |
LOL after fiddling a bit and learning how animate() works, I almost got it!!! =P
![]() Doesn't look as good as you guys but this is sooo cooool lol. |
I wrote a new lighting system that makes heavy use of atom.transform and atom.animate
It runs fairly smoothly at 30fps, even though I haven't optimized it yet. ![]() ![]() ![]() Unfortunately there are some SEVERE limitations that are imposed by this lighting system. I don't think it'll take off. |
That looks fucktastically amazing. If you can make something that works well with isometric and client.dir, even side-map and client.dir, I'd blow you.
|