download / 3.3 mb zip
version : 1.1.9
updated : February 18, 2011
open all | close all
upcoming HYPE events
No events.
let's keep in touch.
Keep us informed what you're working on using HYPE by connecting with us, either via e-mail or through twitter.

hype@hypeframework.org
twitter.com/hypeframework
Branden Hall

automatastudios.com
twitter.com/waxpraxis
Joshua Davis

joshuadavis.com
twitter.com/joshuadavis
flickr.com/photos/joshuadavis

Alternative content

Get Adobe Flash player

01_background / mouseFollow / HYPE

using HYPE, 3 lines of code.

01. import the MouseFollowEase class
02. create a new behavior, passing the object and ease to use
03. start behavior

Enter HYPE… imagine HYPE could do all the heavy lifting for you. You could reduce your code down to the simple things you wanted to get done. We could utilize our knowledge, and with the help of other AS3 developers, use the HYPE framework to develop an ever growing list of behaviors, rhythms, triggers, layouts, etc. to bring back the ease of opening flash and sketching out ideas, animations, compositions, etc. without the tedious setup times and endless debugging.

So who is HYPE for? Artists and Designers who want to get rich dynamic results without having to pull out your hair over the complexities of using AS3. Developers and Programmers who want to help us extend what HYPE is capable of doing by writing new Classes.

import hype.extended.behavior.MouseFollowEase;
var behavior = new MouseFollowEase(MyCircle, 0.1);
behavior.start();
Leave a Comment
Casey said, on November 6th, 2009 at 2:54 pm

Very cool stuff guys, I really like the thinking behind it, keep up the good work!

andkrup said, on November 10th, 2009 at 11:59 am

How about putting package functions in the top-package that does what your 3 lines do? That also eliminates the import statement for the very lazy.

package{
import flash.display.DisplayObject;
import hype.extended.behavior.MouseFollowEase;
public function createMouseFollower(dobj.DisplayObject, num:Number):void{
var behaviour = new MouseFollowEase(dobj, num);
behaviour.start();
}
}

that would leave this to the designer:

createMouseFollower(myCircle, 0.1);

I can also understand if you want to leave it to others to clutter the top-level package :)

hans said, on November 10th, 2009 at 4:42 pm

I almost gave up on Flash. (Processing) I just could not follow the OOP path. All went to fast. So I survived in my own personal AS1-almost AS2 hide-out. I continued playing my simple games with flash. Finding this site is refreshing. Adobe should thank you guys for keeping open a door to pure flash play. I will give this Hype thing a spin, downloading… :)

mikaB said, on December 10th, 2009 at 9:56 am

hope that all will work perfect, I’m just a designer and using your framework help me like you’ll never know, thanks guys! Keep the good work free!

GiulioGrasso.NL said, on December 28th, 2009 at 6:07 am

Hi,
first of all: great job.
Then, just one, big question:
what’s the plus with your framework compared to others like caurina motion tweener?
Thanks,
Giulio

Branden Hall said, on December 29th, 2009 at 12:04 am

HYPE isn’t a tweener. I can do tweens if you’d like, but that’s not it’s goal. Instead, the goal of HYPE is making easy things easy and hard things possible without having to have encyclopedic knowledge of AS3. Essentially HYPE is as much a philosophy as a framework.

Joshua Davis said, on January 1st, 2010 at 2:07 pm

Giulio… much to Mr. Hall’s point… SoundAnalyzer for example doesn’t tween anything… what it does do is provide a simple way to get started with audio reactive situations. Our goal was to take things in AS3 that are powerful but package them in an easier way to implement them.

breeze said, on January 1st, 2010 at 3:05 pm

Which I’d hate to agree so early on is achieved by Hype. Well done to you both!
It would be great to get involved with the development of Hype.

Michael Welford said, on January 5th, 2010 at 11:11 pm

This is great… however, it would be really nice to have a script parser on top of this so that you could get rid of all the extraneous stuff. The example above is quite simple so it is hard to show any benefits from refactoring it, but something like the following would be cool:

osc myOsc(Osc.SAW, 0.1, 1);
def tri(p1,p2,p3, brush) {

}
brush mybrush(Brush.Sketchy, Color.BLACK);
loop(i,0,100, 1) {
tri myTri(p(100,100), p(10,10), p(40,120), mybrush);
myTri.pos(myOsc(10+i+r()), 20);
canvas.draw(myTri);
}

…if you get my drift. Obviously the above is pseudo code and I havn’t filled in the tri def. p is a shorthand for point, r for random.

Branden Hall said, on January 17th, 2010 at 3:34 pm

While I totally get what you’re saying Michael, your idea goes against one important feature of HYPE – for better or worse it’s just AS3. We didn’t want to introduce some new, special syntax into the mix with HYPE. We really wanted to make sure that concepts and code someone would learn from using HYPE would improve their AS3 skills.

Also – I am not a language designer and have no real background in it… the last thing the world needs is ANOTHER poorly designed DSL!

[...] Mouse に追随するインスタンスを作成したりできます。 http://hype.joshuadavis.com/01_background/mousefollow-hype/ [...]

Eric said, on February 20th, 2010 at 11:28 pm

I like it! Dy-no-mite!!!!