Page 1 of 1

a javascript powered animation, just a test

PostPosted: Sun Dec 09, 2012 10:00 pm
by pencilcheck
basictest.herokuapp.com

I have created a small test simulating a simple doggy position animation with box2d and some joints. There is no flash, this is pure javascript.
Currently it looks promising but it is really hard to get exactly what I want from the beginning, so many tweaks to her body movements :P.

You can use your mouse to move its body to the doggy position and you are set, it will start shaking automatically, so both of your hands could be free ......... to do whatever you feel like to :)


Currently I am interested in expending this idea into a small game, and also looking for some artists and also programmers to collaborate.
This project is just for fun. Can't see how much far using physics engine could get us to.

Send me your contact info if you want to try something interesting :)

What do you guys think?

Re: a javascript powered animation, just a test

PostPosted: Mon Dec 10, 2012 12:18 am
by QuizmasterBos
pencilcheck Wrote:basictest.herokuapp.com

I have created a small test simulating a simple doggy position animation with box2d and some joints. There is no flash, this is pure javascript.
Currently it looks promising but it is really hard to get exactly what I want from the beginning, so many tweaks to her body movements :P.

You can use your mouse to move its body to the doggy position and you are set, it will start shaking automatically, so both of your hands could be free ......... to do whatever you feel like to :)


Currently I am interested in expending this idea into a small game, and also looking for some artists and also programmers to collaborate.
This project is just for fun. Can't see how much far using physics engine could get us to.

Send me your contact info if you want to try something interesting :)

What do you guys think?


It looks promising, but right now it doesn't look much like she is being humped from behind.
But it is an interesting idea nonetheless.

I noticed that her hands are also free (they're stuck to her legs and not attached to her arms).

BlueLight (someone on this forum) loves Java, so I hope he catches wind of it. He might be able to help you out a little.

By the way, even though this is a test, this still belongs in the Creative Corner. (At least it doesn't belong in LoK discussion)Can a moderator please move it?

Re: a javascript powered animation, just a test

PostPosted: Mon Dec 10, 2012 5:10 am
by pencilcheck
Yes, my intention is to create a humping animation, coupled with another object to signify the humpers :P

There are no arms and hands you are right, because I was too lazy to make them


Btw, it is javascript, not java, they are totally different beast, one is developed by Sun, the other is for browsers

Re: a javascript powered animation, just a test

PostPosted: Mon Dec 10, 2012 6:57 pm
by QuizmasterBos
pencilcheck Wrote:Yes, my intention is to create a humping animation, coupled with another object to signify the humpers :P

There are no arms and hands you are right, because I was too lazy to make them


Btw, it is javascript, not java, they are totally different beast, one is developed by Sun, the other is for browsers

Aha, I did not know (not a coder, nor knowledgeable about it).
I am interested to see what you can create with this, I hope some more people check this thread out.

Re: a javascript powered animation, just a test

PostPosted: Wed Dec 12, 2012 1:05 pm
by Renara
Javascript is definitely something I've been interested in, as Adobe's support for Flash is still somewhat mixed; there has been a ton of progress in Javascript and in animation tools, for example this toolset is very promising.

The good thing is that conversion from ActionScript 3 to Javascript isn't actually too hard, the problem really is finding the best way to move animation content across; if you create vectors in Illustrator rather than Flash (much better overall if you're patient enough to learn Illustrator) then it's definitely do-able.

Re: a javascript powered animation, just a test

PostPosted: Thu Jun 27, 2013 8:45 pm
by Jesus
I was going to send a message but can't since I just registered. I was wondering if it was possible to use C++ instead of Java, mostly because some C++, a two BASIC languages, and some C are all I know and learning a new language seems like more work. That and I am relatively new to prog, like 6 months ago I spent my spare time writing and drawing.

Re: a javascript powered animation, just a test

PostPosted: Sat Jun 29, 2013 11:18 am
by BlueLight
Jesus Wrote:I was going to send a message but can't since I just registered. I was wondering if it was possible to use C++ instead of Java, mostly because some C++, a two BASIC languages, and some C are all I know and learning a new language seems like more work. That and I am relatively new to prog, like 6 months ago I spent my spare time writing and drawing.

He's talking about Java script... if you went to learn java, you'd have to learn java and then javascript! once you figured out you'd been had.
I'm kinda shocked you didn't pick up on the difference. I thought you knew there was a difference.



So just because i'm a java fan boy. I think we might also want to look into using JavaFX libraries for LOK. I don't know them that well but they seem powerful in java standards... which are more powerful than java script already in my book. Granted i haven't messed around with new Javascript... but come one! It can't be stable... this is javascript! One of the buggies clients languages i have the good graces to suffer though.

Re: a javascript powered animation, just a test

PostPosted: Sun Jun 30, 2013 4:29 pm
by Jesus
I realized that after actually reading it, and I noticed this thread was nearly dead so I figured nobody would catch on.

Re: a javascript powered animation, just a test

PostPosted: Fri Nov 14, 2014 4:35 pm
by MirceaKitsune
Any idea where I can get this please? I'm interested in HTML5 over Flash, so I'd like to see a JavaScript animation with the LoK sprites.

Re: a javascript powered animation, just a test

PostPosted: Sun Apr 05, 2015 1:02 pm
by pencilcheck
I'm surprised there are people digging up this old thread after all these times!! @@

@MirceaKitsune if you are still interested, the mechanism behind is is a very simple usage of spring using box2d. If you want the source code I don't know if I still have it, see if you can open the source and download the js files that way?

Re: a javascript powered animation, just a test

PostPosted: Sun Apr 05, 2015 3:01 pm
by MirceaKitsune
pencilcheck Wrote:I'm surprised there are people digging up this old thread after all these times!! @@

@MirceaKitsune if you are still interested, the mechanism behind is is a very simple usage of spring using box2d. If you want the source code I don't know if I still have it, see if you can open the source and download the js files that way?


Sure, I wouldn't mind taking a look at it sometime perhaps. Feel free to post that here in case you find it and wish to, that could be helpful.