Tuesday, June 21, 2011

HYPE Framework v. 1.1.9 Installation Guide

Last night is a fantastic and code-ridden pow-wow session between myself and my development partner, he pushed me with no hesitation headlong in to the summer lake of the HYPE Framework. Which is, apparently, the most amazing thing ever. Who knew?

One of the best things, I was told, about HYPE was that they published out their class library with the aid of a .mxp. The wiki is pretty dry if you ask me - you would think that an obscure file extension would have a little more punch to it. If you can tell me in the comments below what precisely an .mxp is, that would be fantastic, but as far as I was able to glean conversationally, that shit installs itself. Which is nice.

The problem here is that as of 2/18/2011, HYPE no longer offers the .mxp in their download package. I'm not sure why. The trick is, in their install tutorial, they basically go "If you're a developer, you know what to do. Everyone else, install using the .mxp. Done!" So here is, what I think will be useful for you graphics-based folks, the missing how-to to getting HYPE playing nice on your machine.

=====

1) Download the .zip file linked in the upper left hand corner of the HYPE mainpage. (currently "download / 3.3 mb zip") Unzip, and place the resulting file somewhere easy for you to find.



2) Open flash, and go to Flash > Preferences. Once there, click on "ActionScript" in the list of categories on your left.

3) At the bottom of that box you should see an option for "Language," including buttons for both ActionScript 2.0 Settings and ActionScript 3.0 Settings. Click on the button for ActionScript 3.0

4) After the panel for AS3 settings opens up, you will click on the plus (+) icon to add a new path, followed by the file icon.


Then, navigate to the folder where you saved the unzipped HYPE folder and open it. Inside the HYPE folder you will see a folder titled "src". Select that folder, and click "Choose". This will kick you back to the settings window - click OK. You will then be at the Preferences window - click OK a second time.

Congratulations! Flash is now able to access the HYPE code library, enabling you to do all sorts of massively cool things. Oh, and as a bonus - this documentation will work for any external class library you would like to be using - as you can see in my example, I have PaperVision and Tweener currently.

Happy summer solstice!

No comments:

Post a Comment