Showing posts with label stacker. Show all posts
Showing posts with label stacker. Show all posts

Saturday, January 7, 2012

Gah.... Stacking has to be redone


The way I built stacking is just not going to work. Going to have to make it it's own .swf... more delays. I knew sorting would have to be re-built and that though it looks like its working in the picture its not. So more stuff to do there as well. Overall last night was a good night of playing with stuff and not getting much to show for it. Oh well. More and more to do... starting to feel frustrated. May be time to dust off conquest.

Daisy

Friday, June 3, 2011

...Insert Title Here...



So last night was rather fun then frustrating. I did something insane, to me, programming wise that worked. I actually put pointers to the array a class is in, in the class. And it worked. I had to for the producers to work or it was at least my fix. Since I couldn't tag an image with an array. Not surprising really but it meant that I couldn't an array of producers to an image to link for float over. Since the images and the actual item are two different things it created a bit of an issue. My solution was to add an id number to them matching the id number of the item in the array. But that added one new problem... what array do I look in for the ID number? add a pointer and were done. But still some weird backwards logic. I'm sure there was a better answer and someone is going to give me a complicated correct one, that I don't understand. But my way works.

Definitely think my programming has gone up a few more levels in the last weeks.

Then of course I tried to implement into the main game. And everything broke... for some reason the sorter is converting all my classes in the array into strings... I still don't know why its tonight's project. Then hopefully once that is up and running can get the stacker working.

Daisy

Thursday, June 2, 2011

Stacking about ready to be Implemented





So a few examples. Pictures work better then trying to explain in my book. The cool part is that this is a little pop-up that appears where ever I want on the screen all class based. When you press the stack button it actually steals the arrays and functions and rebuilds everything again. That took a little time to implement properly, but was very fun to do. Changes all the listeners, and then when you get done with the sorting it puts them all back. The only way to do that is by using functions as variables.

So did you guys see the one weakness to the system? You can't have more then 2 stacks of greater then one. You can have a thousands stacks of 1. You can have one with 1000 and then a 1000 ones. Two stacks of 1000. Oh, well.

Daisy