Wednesday, November 19, 2008

OOPSIEDOODLE!

Listening to: Open Future, by CarboHydroM

Must've left the wrong box at the factory!

Well, actually, it seems that the IDE I use doesn't agree with my computer, for some inexplicable reason. Any programs made with it will have a seemingly random chance of freezing everything and then turning my screen black after a while. However, processes are not stopped. I can use SKYPE while this is going on, and can continue to do so indefinitely, even after the screen turns black and the computer unresponsive. But I have to shut down the computer using the button, if I want to, you know... do something.
Unfortunately, this occurred while I had just gotten something to work, and hadn't saved. So I lost the part that made it work. Luckily I remembered how to do it and so I rewrote it and now it works again! But boy that was annoying and a little time-consuming. The results may interest you, though:

See the little white square outline next to the light-orange 7s near the bottom-right? Well, this is a tile-matching game where you can rotate any square portion of the board by 90 degrees, and match tiles that way. That little square is the cursor which you use to do the rotating.
The top-left numbers are debug info which the end user would probably not see. You can record any combination of moves, and then do them again automatically, as much as you like. This game started as a make-this-shape-from-these-tiles game (and it will have that feature again, later). That "macro recording" feature was more useful in that version.
Also, I learned earlier in development that no matter how complex a macro you record, if you play it back enough times you will ALWAYS reach the way the board looked when you started. Crazy. Also maybe I will make a video later in case you don't have a clue what I'm saying.

Here's what the old version looked like:
Yes, the pieces look fancier. But eye-candy makes it harder to debug (in this case) and that's why the upper screenshot doesn't look as fancy. But maybe this picture gives you a better idea of how the rotating system works. Also this version didn't count the number of adjacent pieces (because it was a different game, primarily) and that's part of why there are no numbers on the tiles.

Tuesday, November 18, 2008

To start

Listening to: Orbital Flower, by Sidewinder

I'm starting this separately from my (bleah) Myspace weblog, because I want to put stories (Here is the first one; not coincidentally it is by far the worst)there and other stuff here. Here I shall put links to and/or discussion of some of my projects in computing, and such. I realised that I was actually using DeviantArt (http://guf.deviantart.com) for this purpose, and that's kind of goofy hyuk hyuk! But for now...

Here, have some backstory about me, since you obviously care SO MUCH!
I wasn't born. I was grown from a cell in a dish, then moved to a tube, then to a thing that's like a bowl but more sciencey, and then I could support myself in thinner materials than I had been submerged in previously so I was in an air.
Maybe I'll back up a little more. First I was some particles, and not living. Then my superiors constructed a cell-like thingy and that was, through means I don't really understand, given life. Due to the manner of my construction (and possibly the manner of my being given life) this cell ate things and got bigger. Eventually, I learned to detect vibrations, and some other stimuli. Eyes are kind of complicated, though, so I received a mechanical eye, and after figuring out what it was doing I made some organic ones. I ate the mechanical one and while doing so learned how to replicate it, using the substrate of my own being.
I got the eye while in the tube, and ate it while in the science-bowl-thing. Just for a time frame of reference.
As to the reason of my creation, well, I was made to go to Earth and study humans and what they know and what they can do. Purely for archival purposes, I assure you...
Naturally, having an indefinite lifespan, I procrastinated for around 179253 Phaician years (over 190,000 Earth years). But that was okay because it didn't matter when I went so long as I did it some time before Earth was destroyed by whatever. Obviously a bunch of EVENTS took place during that time but if you care that's too bad because I have to go work on a thing now.