Get The Code

Tuesday, May 31, 2011

Added Note, Detach and 12 Count Block

Added Note, Detach and 12 Count Block
Note plays a Note(Piano wave file)
Detach moves the node away based on frequency
12 Count Cycles through 12  values * frequency

Working On Adding a Note Block

Trying out a Note Block that will play A,B,C,D,E Based on the frequency

I think I will also need a divide by 2 and a -1 Block

Having some problems with the Nifty GUI Library and NullPointer Crashes.  I think its the way I am creating and destroying them.

Sunday, May 29, 2011

New Demo "Im on a quad copter"

http://www.youtube.com/watch?v=nOBL_oRYeXk
I had fun making this little quad copter
I found I have some bugs in my exporter though so I cant export it yet.

I added a Inventory "I" key screen to help me select the blocks since that are more then 10 now

I also put the first  10 on the number keys 0-9 on the keyboard
Am using the 5 key on the numpad as a on and off button for the Master Block

Changed the color of the Color Block to grey when its powered off.

Friday, May 27, 2011

Reversing Fequency is done and Possibly Switching how I Store my variables

I was thinking that I might switch to JSON for storing my script parameters.
I could possibly just switch to just a parameter map for each Block

So instead of a getter and setter for say frequency value on the blocks I would get it from a parameter map

var frequency = thisBlock.getFequency();
vs
var frequency = thisBlock.getParameter("frequency");

Thursday, May 26, 2011

Reversing The Frequency

I want to add two new blocks a constant (1) Frequency and a 2X Multiplier Frequency
I ran into a problem with my recursive function that sends the frequency to the child Nodes.

I realized that it was overriding all of the child frequencies that are set in the custom scripts

I am going to do it in reverse so that the child will look at what the parents frequency is and act accordingly
instead of the parent setting the child frequency.

Wednesday, May 25, 2011

Released Second Alpha For Testing

Released Second Alpha For Testing

Changed the way textures are used

Fixed the Build Files
Now using script.dir to tell where to find scripts instead of jaring them inside the jar file

Also now using contents of the Scripts/blocks to load the blocks