2008-12-22

iPhone continues next year

Well, here are some screenshots from nonsense I'm testing.

These screenshots in no way reflect on any performance limits, SDK artifacts or in fact, ANY technical details about the iPhone whatsoever. In fact, I implemented ALL of these in SDL with C++ before putting them on the iPhone.

Point is, pictures that prove I can load models and scenes into my phone:


This was from 'YoBro', a blender game I played with. You can see that some of the nodes are missing, because I haven't put in correct parenting in my node tree, so it drops em. That kinda looks like a taurus, right?

Hey look, it's me in the iPhone!
Adventure clone without textures is lame. But, it's nice to see that the iPhone can handle 1000's of nodes.This is a poly-reduction of 'Delgadosaurus', a free poser model out there if you go looking; forgot the guy's name who made it, but cred to him! (will get ref eventually)

This is a bomberfan level, at a better angle.

This is one of the spaceships from GSS6, the cool part is it has the interior modeled, so you can actually fly/walk around the decks, crew quarters and sit at the bridge.
This is the classic 'dancing lizards' scene from an odd angle, I probably should have found the shotgun and taken a picture of that. But you can see nodes!


This is the classic 'Saurosaur' in 3D from one of my older games noone ever saw, and for good reason! It's a fully articulated model, but that's for later, right? Point is, it looks alright, and was quick to draw, which is interesting!

and OMG, bomberfan is stuck in the floor because I didn;t have the time to add in the node-parenting system like in FrameGL2! Dammit. Point is, his level works great.

So, textures to add; better node system, and then I'll be just about the the point I want to be at in terms of graphical powers.

Here's the kicker; These files are loaded from a website, so anyone can load any file they want! Extensible iPhone games! How rawk is that?!?!!?

...apple will probably shit a brick, good thing I can defend it:
1. All loaded data (external data) must fit a size maximum constraint (1MB)
2. All loaded data (external data) MUST be interpreted, and cannot be directly copied (IE instead of float memcpy, you have to: x = *(float*)data; along with brutally slow size checks
Files may be only ASCII in the future to enforce safe non-hacking conventions (you can;'t break it if there's nothign to break!)

Ah well.

c'yall later!

2008-12-21

Obscure graphic dream

WARNING

GORE, ADULT SITUATIONS, GRAPHIC VIOLENCE, GRAPHIC IMAGERY


... I bet you started reading, didn't you?

Well, to summarize before details, there was this Sean Connery look-alike that was the bad guy, kinda like Dr. Breen, and there was a host of other characters (people characters), specifically this always scantily clad heroine that looked like Alesia, and there was a giant "bunny-girl" running around. Also, lots of horrible mutated zombie-biohazard monsters.

For details;

It wasn't me in this dream, oddly, it was more like playing a movie, sometimes the camera would be switching between first and third persons. But, there was this brown haired 22 year old college student and his fiance, studying in this university that seemed to border a large industrial city, something like the outskirts of chicago, except by a much larger river/ocean. As the story began, we see a monologue of this guy, ralph, apparently was his name, but it never came up till the end. He looks out the side of a window of what looks like a plane, but ends up being a nice hydofoil watercraft, used to cross this channel into the city where he worked part time outside of school. Everyone was wearing this darker brown jumpsuit, and had alphanumerica band codes on their jackets, like some sort of weird work-nazi camp. But people were okay with this, you hear mutters about 'order' and 'accidents' and 'govenrmental authority'. It was starting out a lot like Half life or HL2.... So, the camera pulls back, and he talks to his chick, Rico, who was a cute asian chick, but more physically fit. They get on some stupid cute conversation about work, and the boat/plane stops, everyone filters off into this oddly designed city; all of the buildings were dark metal glass and concrete, the bottom 12 floors were pylons and raised, but contained civilian shops and municipal utilities. There were NO cars allowed in this city, people had to walk or bicycle to work. It was hard to describe the feel, it had a sort of Mirror's Edge tinge to the outlay, massing, sprawling metroplex, with no end in sight, but it also was condensed and looked worn; rusty fences and steamy iron grates, some parts of the city were destroyed, looked like missile attacks from something. In fact, it seemed that this was a generic distopia, but people were still working like slaves for some reason.
But, contrary to our initial assumptions, we follow the line of people as they enter the 'gate', which has a mass of people on one side, and the new arrivers at the other. the people on the OTHER side were dirty, soiled, some were bleeding, having puncture wounds, glass, and rusty marks as if they were trying to mercenary into the city somehow. Well, it turns out the brown suits ARE govenrment issue suits that help protect the workers from death in this city, as they are distributed this nifty energy-pistol and spade shovel-pickaxe. They are all herded into a group, where a fully armored person instructs them what to do today; Apparently, they were to clean building #35. What that means is still a mystery at this point, but in the background you can hear... noises...
So, the group sticks together, no mentions of the specifc threats they will face, and you see they plod on as the other group gets their issued suits burned off (painless, I assure you) and are forced to strip and go through a chemical bath and get thin white-robes before being scanned and allowed back on the hydroplane. This was some sort of odd war scenario, but what was the enemy? this didn't make a lot of sense.
So, we follow Rico for a moment, the group reaches the building, and are mumbling about what they have to do and all this, and they mobilize and tackle the 1st floor, pretty adventurous it seemed. The building itself (the first floor, mind you, was civilian) seemed intact, but there were odd brownish-red splotches every so often, lining and staining concrete, glass, plastic... it looked like meatloaf, but more shiny and slimey. So, we follow a small group of people, who take their shovels and begin destroying the pieces of the buildign that HAD this crap on them, you;d begin to notice most of the places were also already destroyed, and once they broke the chunk off, they;d use their energy pistol to burn it down, making a black spot that blew away with dust.
3 of the people we get to follow, as they decide to sneak off for a smoke. The second they leave the view of the rest of the group, and huddle down back in a corner of the building, you get a typical monster-horror shot of them crouched, smoking a joint, as slimey-creepy noises come up from behind, and the 'shadow of the monster' appears over them. They get frightened, and one of them tries to shoot it, but you actually get the camera instantly flipped around to see this grotesque fleshpile that has a pseudo humanoid form and pieces of bone, flesh, and other disgusting bits constantly dripping or bubbling up, and it simply lashes out and tears the guy's arm off. Apparently, contact with the stuff destroys you in horrible ways, we see lots of blood go everywhere as the monster seems to hack and slash these people to bits, spraying organs over the hallway like a ticker tape parade. IT then meticulously slithers over each of the dismemebered parts, seeming to 'eat' or assemble it into itself. It was obviously not a nessecary motion, but it seemed to then back off, simply picking off small groups. Obviously, lots of other workers were running away from the screams, but Rico and Ralph were noticing, and quicly unzip part of their suits and pull out these special guns they seemed to have made in their university (washington? huh), which looked a lot like that experimental gun from half life. they both charged forward, aiming and seeming to want to take on the monster themselves, like they had been studying and analysing it for a long time. Of course, they are greeted with nothing but more brown piles and blood, no parts were left. Apparently, the brown stuff was waste product from the monster, as it consumed new flesh, it discarded the least stable part of itself. Much like we do, but far quicker.
So, they missed the first monster. Cue some plot and interpersonal development with them trying to convince the team to do monster hunting, and conflicts, the work group disbands into two groups, and the hero group (Rico and ralph) go to floor 2 of the building *gasp*
So, it's a mini mall, no lights, so it's dark and creepy as hell, there are also far less brown puddles, and this crazy cool, musty stench surrounding the place. Whatever this was, it was some sort of breeding ground for this evil. Of course, they explore, and find history (2020's stuff) and examine it, taking pictures and the like. Well, there are about 12 of them in the group, and the monster doesn't show. Period. It's not a retarded monster like in most movies. It is a REAL predator.
So, after searching quite a few more floors, they make it to #5... where, things change a lot. on floor five, the bulding seems to be 'breathing', it was far more warm, and it was entirely clean. The 5th floor wasn;t shops, it was mall utility and office space, also the place where the HVAC unit was centered to pull air in, creating that pleasent breathing effect. Except, the HVAC isnt a living organism.
Continuing onward, they find that this gross, podlike collectiong of human bodies is hanging from this equally disgusting veiny red meat-sac, constantly pulsing in rythem to the breathing. THis was some sort of part of a larger monster, maybe the entire building contained it, somewhat like a gigantic shelled beast, merely a softer organism taking advantage of natural defenses, like a hermit crab will take a shell. Of course, this part of the beast was not knowledgeable about the human presence, and we see every once in a while bodies being switched out for different one,s which look pale and less healthy. It seemed that it had symbiosed with the human structure, using it to simple grow or produce food, much like a plant would be using clrorphyll to create energy, this thing was using human lungs to convert something to some sort of energy? Hard to say.
Point is, the team was disgusted, and decided to reatreat. With this new information, maybe they can make better decisions. However, as we get a typical camera closeup, this creature emits SPORES, and, well, all of this crew inhaled those markers without knowing it. That is, until they got to the bottom floor, and one of the males starts raping another female, out of nowhere. The rest of the team beats the hell out of him, but he bites them and goes al fast zombie, so they shoot him, and find that his insides had started melting...
Soon, more people in the team zombify, and guess what Rico and ralph do? those bastards inject themselves with needles of serum they had found, and escape that group, coughing up blood and pieces of lung, but otherwise okay. But, since this was MY movie, our predator comes by to pick up the stragglers, and our heroes have to watch this spectacle which is a little different since it's prey are immobilized. HD detail spares nothing for the squeamish.
So, the two try and get to lower floors, but the predator chases them to no end, forcing them to move up instead of down. Sirens go off in the background, as the spotters saw this happen, and called everyone back. But, our heros run blindly into th depths of this building, noting that the monster refuses to go anwhere without sunlight. And, at this point, ralph steps on the wrong piece of bulding, wich collapses and seperates the two, Ralph horribly falls through a lot of floors, ending up in a large seqer pipe fulled with seething human remain and waste; Not being a wimp, he fights his hardest to swim through the muck in any direction that seemed correct, wventually making it and crawling to a (like shawshank redemption, btw) intersection in the pipe, which was a large box (like in real sewers) that had a ventilator and ladder. Being soaked in this shit, he vainly tries cleaning it off, realizing that cool, clean air was coming from somewhere.
Meanwhile, Rico, screams for her partner, and hears the monster. It wanted to kill solo people, but was still afraid of the dark. Rico runs into one of the office complexes, which turns out the be a medical facility for some sort of oncological firm. she begins to look for supplies, hoping to construct a weapon of some kind, continuing to turn on and off lights at intervals, deciding to try and do it in the dark, which is really creepy.
Meanwhile, Ralph finds and crawls through an air duct to the outside world, gasping for breath and trying not to lose anything, but vomits and hangs there for a moment. A sniper on the ground starts shooting at him; He kinda looked like the monster, being covered in shit, so he crawls back before they could take another shot. Of course, that means the only way is up, ahd he begins to manuever through the grate upward, only to find part of the creature blocking on of the air vents, with a human body leaking a black fluid from it's missing eye sockets, which was not corrosive, just waste product. It seems the creature had made this building it's body in all senses, ducts for veins, cracks for storage and larger areas for organs.
Of course, Ralph takes a turn, and coincidentally ends up breaking through the ceiling, falling into the lab with Rico, who promtly was freaking out because of the scary noises coming from the pipes as he crawled through them, which made her turn on the lights to see what was happeneing. She ALMOST kills him, but realizes it was ralph, but isn't about to go touch him, and get's him to the safety shower.
However, after ralph has on a lab coat, the light they were using attracts the monster, and it begins pounding on the windows, which displays lots of gross details about it's composition; It had no real face, but seemed to have some sort of skeletal shape, comprized of all the organisms it has assimilated. Naturally, there's no way to escape but through the sewer again, so they both go for the air grate and hastily clamber on down the air duct, almost getting nabbed by the creature, who seems to be unable to fit into the air duct, good to know. Of course, it gets mad and breaks the lab, yadda yadda. They eventually escape, but through a different vent through the back of the building, which shows part of the city you were not able to see in the beginning of the movie.
At this point, both people are pretty badly beat, their clothes have been semi-digested from the horrible liquids they've been in, they are both vomiting blood from the air they've inhaled, and all their clothes are torn or missing. But, they make it OUT of the building, away from the snipers, and clamber down to some sort of respite inside of a freight car, which conveniently has a hose nearby where we get a nice gratuitous shower scene with Rico, because she made Ralph not watch. Both now have their clothes on now, which were suits taken from the storage crate, and things at this point begin to get a little weird;
They are now battered herors, and out of nowhere, this breen/connery lookalike appears, standin on top of a mass of crates, in full business attire, saying somethign to them about knowing too much, interfering with plans, and some more nonsense. Words start to be exchanged, but 4 duke-nukem clones show up as bodyguards, ready to gun them down. Of course, for no good reason, it's time for this giant macro-bunny anthro monster to show up, but I clarify:
It wasn;t exactly a 'bunny gal', it was more of a female body with paws/claws instead of hands feet, and instead of a bunny face, it was quite draconic, except it had ears. Really messed up, who knows why this suddenly turned into furry-macro-fandom. Goddamit.
But either way, this bunny starts attacking the duke clones, eats one of them and everyone starts runnin! So the fight begins, with a giant yard full of fencing, crates, and what looks like a super mario sunshine level. Our heros split up to avoid the gunfire, breen guy just appears and reappears everywhere, apparently the giant does not take sides, more duke clones get killed in somewhat kinky-grotesque ways (you probably want details, but all you gotta know is that 2 things with enough mass easily crush human bodies), all the while you geep getting told details about military experiements and light-rays and weird shit. You don;t care, you're mind is blown from previous experience, the monster from before seems to have no bearing on anything going on at the moment, and this odd noise begins to fill the air, some sort of highly consistent humming, much like that from a powerline, and after our giant bunny monster finishes off the remaining villians, leaving breen, it leaves at hearing the noise, rather hastily too. Breen continues to appear closer and closer, but the noise and brightness of the scene increases, and suddenly a closeup of his face, a flash of seizure white, and a long series of mother language words from satan himself were heard, and then, nothing, and you were on your knees, along, choking on blood and losing your hearing, eyes burining. Rico was dead, she had been shot in the head, her corpse next to yours. Now without any recourse, fiance dead, mission failed, everything going wrong, you continue on, and eventually get to the other end of the island, eyes melted, skin burning, and your body soon to die.
Apparently, what happened was some sort of odd meteorite hit this town, and was highly highly radioactive. It mutated-fried everyone in that building, and the surrounding town, and you were etting small doses a day of radiation to clean up the parts of the land... apparently, they can;t missile the site because it would spread the radiation, but you wish you knew beforehard.
It's a rather pretty city, and the camera pans out as you finally collapse and die from exposure, showing the shape of the island to be of some signifigance in the world...

And the movie ended! I left out some salicious details.

...this is yet another example of why I should continue making games. With THIS kind of inspiration, how can I not!?!?!

iPhone progress continues.

2008-12-18

Drunk dreams

So, one of my favorite waitresses in one of my favorite establishments got me drunk on some redneck teas...

So I get home, and fight my iPhone till about 2:30 am.

but the crazy dream I had... MAN it was nuts.

I can't entirely remember all of it, but I was in DC with a bunch of co-workers, giving a presentation to Air Bus or something like that, and our building get's implosion bombed.
That's right, just like what happened in sept. 11, this building collapsed on all of us, and probably make a huge mess.
However, being dream world, it turned out just the middle of the building collapsed, and no one was hurt or killed, so it looked like some sort of godzilla reject had just stomped through the middle of the building, making it into this giant 'death arena' sorta thing, with a flat concrete floor. On the top floor, all the recent presidential nominees and their appointees were having some sort of conference, and I got to help Mcain and some other people I'm supposed to know up from the rubble. Obama didn't NEED help, he's badass like that.
So, I began talking to these political players, since we just had to wait for fire crews and other public servants to rescue em. There was some sort of awesome conversation we had about the economy, and I really wish I had it recorded, because they said some things I wasn't aware of, kinda solving and exposing more detail about the problem. Lots of DOD stuff, really.
But the fun part came when Mcain started to act like Mcain, and got angry at Obama for wanting to try and decentralize some things, and they started this Stree- Fighter kinda fighting game, and suddenly, out of nowhere, it turned into a PS3 fighting game in 'Fighter's Destiny' style, and Obama and Mcain start going at it, in their suits... they box for a while, with lots of political figureheads cheering their sides on, it was freaking awesome.

Hard to describe, I was pretty drunk still when I got up this morning. Most importantly, watching political candidates fight for real causes was awesome. Maybe if we made those fat white guys actually physically come to blows, then more problems would get solved faster...

I got my develoepr id from apple. Now it's time to fly.

2008-12-07

Weird dream

Well, I suppose it wasn't that weird, but here's the summary:

Take Mirror's Edge, and merge it with Dead Space, and remove the stupid guro style violence in substitute for more humorous RE violence.

It was quite a neat extension to Mirror's Edge, I was very impressed with the way it was NOT a sequel, but rather a logical extension to the mechanics, for example, in the original mirrors edge, it was somewhat like a parkour(sp?) simulation, in that holding items meant you couldn;t grab onto ledges and so forth.
In this version, we take the same type of plot, it is in the future and we start out on this cluster of 'sky cities' which are on a jovian style planet, basically large floating platforms controlled by some form of generic opressive government. Spaceships, lasers, and lots of futuristic stuff in the spirit of dead space happen, and you along with a team of peoples are some sort of underground movement to try and goldeneye your way to stopping this opression. So, you can split screen, as well as normal play. The game starts out much like mirrors edge, except you get a slew of new tools so you can actually fight back, and play minigames to solve puzzles and so forth. Combat was much improved, and you actually had to fight back at times since some aliens were present that would and will kill you.
So, from what I remember, you run around in the lower part of this skyblock, parkouring your way down concrete and metal corridors, hitting switches, collecting guns and upgrading your wrist utilties. It wasn't just about running around, as you did have to focuse on espionage a lot, so it was more like goldeneye.
However, at some point in the game, you have to infilitrate this guarded base and steal a computer chip from the core, and fight parkour bosses (large moving machines, basically) and real bosses (shadows of the empire style). The blending and timing of doing both was really well done, it was quite fun to play. But, when you grab that chip, the plot twists, and this race of large mutant cool looking bug-monster aliens comes down and starts to kill the opressors.
Here's where it went different, like Crysis, the aliens can destroy the level realtime as they try and shove their spiked appendage through your chest (like isaac). So, as you are trying to escape, this bug monster comes storming through the hallway, rippinag appart the people and walls, to which the game automatically calculates new routes to follow for your parkour escape. And it's not scripted, as you can go different ways and the bug fllows YOU because it wants that chip! Which makes it all sorts of difficult if you double back on yourself.
Graphics were PS3 quality, of course, and the gameplay was pretty intense at times. More importantly, it felt like a perfectly balanced logical extension to the Mirror's Edge series.



Of great importance, is I am developing apps for the iPhone.

See ya'll new years!

2008-11-23

Days 73-70; ROOM AVAILABLE FOR RENT

Only 69 days left;

I was unable to get much accomplished; I lost a friend to the deadly frozen north this week.

As a result, I have 1 9x12 room available for rent;

Base rent is a fixed value of 316.50$ for rent, utilities are added on top (usually about 150 total, so rent stays below 400 a month)

Anyways,

I've created the BRF format specification, which is a generalized format for any data. As the original idea was not the greatest (wish I had some help) it was modified to merely specify a generic 4CC chunk based format so that chunk types are specific to the loader, and the BRF code has a lot of generic array routines and important conversions like htonl, ntohl and other equivalents (if you don't know and understand these functions, stop programming and get another degree. Or learn them.)
This allows you to inherit from the base loader class, and override either the generic load function, and read chunks as you will, OR:
Thread loading works.
This changes a lot of things, and enforces the need for a memory manager, because as you all know,
Threads cannot change values in another thread
What this means, is if your thread is loading a Mesh, then if that thread allocates memory, where did it come from? Ideally, it comes from your applications heap (threads share execution space) however, that isn;t exactly ideal. It's simple, and it does work, but if a THREAD allocates memory, and I am using a memory manager, then what happens if two things use that MM? Your CPU dies, that's what. Hard. Bluescreen easy.
So, to fix this, you must either make a new HeapAllocator that is for that thread, and then merge it with the main one, OR, add an additional mutex lock so that you can have the main thread itself create the memory using whatever heap it wants to.
In fact, the mutex solution is a good one, albeit slow.
In testing,
The normal loading procedure on a harsh test (5MB file, 4 bytes at a time) takes about 3 seconds. IT locks up the main thread too. yay.
The thread loader, operates concurrently with the main thread, dropping it's IFPS from 10000 down to about 3000 (which is still ~150000 FPS), however, the main thread continues to run flawlessly (meaning kinky loading screens are possible), BUT, the loading takes about 6-8 seconds. For a doubled loading time, I'll use the stream loading since it lets me load things behind your back, making level transitions flawless. Yay!

In summary:

*BRF format spec done
-Linkage files are separate.
*Thread loading possible and works

*Need to develop "MicroFormats" for each loadable data class.
-For example, 'Mesh' microformat needs to be developed (chunk specification for the generic BRF file)
*This necessitates a redesign of IGTL::RenderBase for the following reason:
-VA/IA paradigm is incorrect; Replaced with VD/PrimSet paradigm (more accurate, faster, abstract)
-RenderBase should not do anything that Graphics does; It should only manage the low level render state (IE, extremely minimal objectified support for abstracting hardware render objects like lights, materials, textures, VA/IA's), and the removal of immediate mode except in special implementations.

Also, the BRF specs don't make me 100% happy; I still worry about data concurrency and streaming issues like:

[tag][size]...
[data]...

Which should allow the header space to be loaded into memory, so you know all the chunks, and THEN the loader can continue on as normal... except, well, that requires nasty memory allocations issues, which is getting harder to work with across threads.

I should have had something out; Yesterday was supposed to be a milestone.

I failed.

-Z

2008-11-18

Days 76 - 74

Only 74 days left till demo;

Progress made,

I've correct multiple errors in SDLGameBase; Primarily with the Audio and Graphics setup, as well as tweaking it's loop setup.
Worked with IGTL::WMod music player; fun stuff there, looked up how to work mod files, made a few different players, still eperimenting
Updated the BRF 3.0 specifications greatly; I'm going to focus on that and RenderBase since I might have help in making graphics! (yay artists!)
Made some threads, working on the thread pool for procedural loading and fun stuff, although it hangs badly.
Got glextplus.h to work perfectly, extensions are now instant and very easy, as well as stable and no GLEW bullshit.
Played a bit with particles, I can now toggle correctly from HD to SD resolutions regardless of screensize
Screen resizing needs tweaking

Next,

BRF 3.0 format specs need to be finalized in mechanics, and then Section types need to be added, as well as the required basis data types. Compressions to implement (done before) are the generic RLE compression, Quad encoding (MIF/QIF image format) and LZSS generic style algorithm for some data compression. Also, more thought about breaking apart the different sections to make more logical sense.

Manditory screenshot for the dev blog:

Please note this is a SD screen with the HD box overlayed into it. Each green square is 1 meter accuracy, and you probably recognize that collision box from previous posts. The white thing is a "stream particle" that flows around, I was just playing with it so I could check visible FPS with the threads. SO YOU KNOW, the "FPS" is the fixed internal game frames per second (never changes), the IFPS is the number of frames run inside of that one game frame (yes, this is over 100,000 FPS (493,900 to be exact), try it yourself and see. You need this to catch network messages, but this will drop a lot when I get this thing fully threaded) and, I have the VBO (vertex Buffer Object) extension loaded and ready.

Only 74 days left! (Planned demo Feb. 2nd 2009) Wish me luck!

2008-11-15

I hate GM, I love Blender

So I hate GM again.

Usually doesn't take long. ;P


However, now I have developed a much more robust triangle stripping algorithm that directly translates into huge vertex/VA savings in rendering. This is a really good thing, as instancing a model requires copying the base meshes's vertex VA, which means each instance takes a good chunk of memory (for a 1300 vertex red dragon, that translates to ~1800 vertices for strips, or 3900 for raw triangles. So, each instance requires 4*3*1300 bytes, which is about 16 kB, lol)

Either way, now it's onto making good things like a Memory Manager so I can dump ram as I see fit, and do tracked allocations and all that low level shit that I shouldn't have to do again. Also, I now have to use VBO's (if you card supports them) to do the rendering, and this is a very interesting thing:

VERTEX ARRAYS ARE SLOWER THAN IMMEDIATE MODE

Why, you ask? Draw a picture for yourself. Immediate mode is a 1 direction pipeline. The GPU pipeline just gets pushed data. The end. Vertex Arrays require synchronization of the GPU and system memory, which is about like trying to unflush a toiet. My FPS drops from ~230 to near 20 with immediate mode versus VA's. With VBO's, I can get into the 780 FPS range.

Therefore, use VBO's. Make sure your array data is SEPARATE (do not stride) so you can easily plug in instance VA data.

More testing is required, but here is a toolchain picture that makes me happy:


Note that this is a goofy looking stupid lizard monster. Also, note that it has collision boxes (defined each by two verticies inside the keyframe). Also note, that that collision information is exported correctly into SDL. Does this look anything like Mortal Kombat or Mugen to you? Exactly. The problem is, this lizard has bones. And, I had to write MORE scripts to convert it's animations into mesh keyframes. And MORE scripts to read and export the animation file that defines the animations, as well as game information like attack boxes and physics and so forth.

However, it's really nice to be able to quickly make something, and see it work in the game. No doubting that at all.

Until next update.

-Z

2008-11-05

Blender and Game Maker

So I got a GM bug again.

GM is quite fun to toy with, but WOW it can't do motion or collisions AT ALL. Anyways.
I have techniques to make it work, so I'm cool.

Also, I was thinking about it, and since GM can draw primitives like triangle strips, I figured I could make it load 3D or 2D Odin Sphere style models

So I did.


(cue more stupid goofy lizards monsters, but in 2D!)
Turns out, it works fantastically well, and, since I do all the sprite and modeling in Blender, I can reuse the work for just about anything. Plus, it's really easy and super fast to make animations in this setup. Unfortunately, Blender has a real problem that I'm going to complain about for along time. (Why the FUCK did they put a KEYFRAME ACTION editor when the fucking keyframes are stuck on the GLOBAL timeline?!? REGULAR actions are LOCAL timelines, so logically, KEYFRAME ACTIONS should FUCKING be on the FUCKING local TIMELINE!! GOD FUCKING DAMMNIT! ARRGHGH!!!!111!1!111!!)

But! It does work, and it looks way better than sprites when animated. I'll be fooling with this as a break, until I get more discrete space things to work.

If you like this idea, go try it out yourself, or IM me and I'll throw you the python script exporter I wrote for Blender. It's pretty nice to have.

-Z

2008-10-15

Busy stuff; Mental Agony; And booze to death

Been a while; Been to busy with my Game Co. to do much else; Lots to do, lots that needs to be done; And there are literally thousands of options available for usage;

I looked hard, very hard at some 'game engines'. Those of you who know me well know I hate them with a passion; There should never be a 'Game engine' there should only be a component based toolkit (define your interface before coding, idiots!) that can tackle the basic repetitive problems in games. It should also be documented, and very clean to work with and read. IGTL is slowly putting itself together more and more; More tools and abilities crop up all the time, and I wonder how to recruit more coders.

It comes to my attention that the complexity of building an engine isn't really so much in doing so; It's actually derived from two specific things, 1 being platform compatibility, the other mathematics. Trying to make things work on windows and mac and linux is magnitudes easier than it used to be, things are more standard. But in the REAL world, you end up still doing #define out the ass in order to make your cute little interface work per compiler per platform. I hate it, but there is no other way to get around it, unless you wrote code to write the code itself like I did. So far as tackling the huge collection of advanced mathematical problems in a 3D environment, most people wimp out and curl up and die when they see something hard. Instead of just thinking it through, they say 'I'll let someone else do it'. This is generally accepted for people on a budget and time constraint; I feel sorry for the people that have to 'just make it work'. On the other side of that, all of this math was ALREADY DONE in the 1930's, and has been forever repeated due to lack of documentation and academic jacking.
For example, when some jackoff starts writing articles about quaternions and rotations, they start talking about affine transformations, linear algebra, matrix blah de blah... and neglect to mention the ACTUAL PRACTICAL APPLICATION which means X forward, Y left, Z up, which is also called 'right hand coordinate system'. They also don't name functions that make sense; overloading operators, lacking any sort of conversion sense...

I really, really hate programmers. And programming. It's a horrible, stupid thing that we all have to re-do so many stupid problems because of industry incompatibility; I understand WHY we have to, but it still seems so wrong. Defeats the purpose of being sentient, almost. That's okay, because the promise of money is soon to fall, and everything will literally go to hell. Regardless of which way you vote (Obama rules!) you're still going to die.


....aaaanyways, enough of me bitching out code. Let's talk bidness. Logically speaking, I would much prefer to use a decent rendering system; OGRE kinda worked, but ended up being clunky, and bloated, and didn't work. G3D and most other engines relied on the MS compiler series; fine for them, shitty for me. OpenGL & GLSL is still the driving force behind all the pretty, and that works everywhere. So long as you write code to read Khronos groups' glext.h and create your own cross-platform glextplus.h so you can load extensions via macros for any platform (yeah yeah yeah, "glew did that already!". Have you TRIED using it? a$$.). Always, always ALWAYS use some sort of premade wrapper per OS. (SDL is good, wxWidgets is great, but not so much for games. Actually, in speed tests, SDL is slightly faster, but wxWidgets does NOT have correct joystick or media support. So use SDL for the game, console for the server, and wxWidgets for the dev tools. Simple as that.) Try using a 3rd party rendering system. If you have to roll your own, DESIGN THE GAME FIRST so you don;t blow your brains out trying to figure out 'oh emm gee, my occlusion culling super material shader proxy instancing node tree up my ass is broken!'.
Work with your team. Find out what they can do, and what data they are comfortable making. Use this information to build or select a uniform media type THAT HAS A FUCKING OPEN SPECIFICATION, dammit. And make absolutely sure it fits within the constraints of your game (for example, if you want IK, don't use a MD2, dipshit)

GAAARRGGHHHH!! I need more coders to help me. One guy can do it, but not without losing his sanity.

Here's a collage of old school demo stuff I played with. Since all the art (minus that green dragon) is mine, it doesn;t look good. Pretend I hired a 5th grader to make it for me.


This week I will be partying with my brothers in blood;
Tomorrow, WE DRINK IN HELLLLL!!!

2008-09-17

More weird dreams

Lots of weird dream things,

The first was a false God Versus true God problem, really long scene.

Basically, I was out at some shopping mall, playing a new version of beatmania with some kids I didn't know at an arcade. Buzzwords were going around about a new church, maybe meteorites that happened, and I didn't really know what was going on, but people began to leave and just walk away, like something was drawing them in. Apparently, there was this vibrant magenta stone that was percieved as God, and people were gathering around it as the stone began to split into more and more stones... which, would make people happy and joyous if they were near these floating stones. So people began to encourage everyone else to join in, and come rejoice at the rapture or some shit like that, but weirdly, it applied to ALL religions, which was an immediate warning sign to me. People began to try and push me to join this crowd, which was getting massive (millions) and people were just singing, celebrating with no cause. I observed this for a long time, before they began to get violent toward people that didn;t join them (I was the only one, apparently) and I tried to explain to them I didn;t believe in false gods, as I knew a true god personally and didn;t want to get trapped again. (Raesir) So, they began to mob me, this black guy and this older mexican lady were trying to fight me to force me to go near the circle, and THAT's when things began to go south... for some odd reason, the sky formed that ubiquitous spiraling dark cloud phenomenon, and out of it descended this ginormous lion form, that basically had no physical presence but provided a logical, known symbol to that idiot group of humans, at least before engulfing them all somehow. I didn;t care, I knew this was bogus, so they left as I got to the top of this cliff, which, it was weird, there was this very sharp non-rocky cliff, like a glaciar hole, that looked down into a nice forested area, it was at least a mile drop, and it had some lakes, and was a beutiful sight, but no safety rails or nothing, but it did have a road near it. It looked like colorado, actually, when I went there to see a real cliff like this. Either way! The beast turned toward me, having no power over me, and began to try and argue with me about why I would not join it. Some generic points like "I will provide all your needs, and wants, making you happy and joyous for eternity" and some shit like that, I didn't need much of a reply, more like "If you weren't as young as you were, you might be smart enough to know that is not the way things go. Go back to your idealized world" And so on. It's a pretty basic argument, going back to the "Alien Slug Problem" that goathouse immortalized. If a entity will provide you eternal ease of life and happiness, at no cost or detriment to you, then, what is the point of living? Turns out, there IS none, because then you just become a simple, happy animal, and are no longer part of a sentient race. Which, knowing what I know about some of my favorite alien's politics, that means that they can execute a sweeping order, and harvest you for food/resources without any guilt on the concious. Sounds about right. So anyways, after arguing the way the world works with a infantile false god, it relented, and put everyone back in the circle and left, leaving those purple rocks to be nothing but obsidian stones. People were real confused, and immediately got upset at being so close together with race, religion, and ideals. Pretty sick to observe, I know life isn;t that simple, but goddamn people; Grow up. then, I just smile to myself, knowing all these motherfuckers are going to die in the next round anyway. Worthless mortals.


The second, will, me and reed went back to the arcade, and he showed us a game he had made, "Mega Man X 4 - Zero Hour" or something like that, and it had basically boiled down to a extremely violent megaman game. It looked normal at first, but megaman had a slew of new abilities that were really fluid and fun to use, like ninja spikes to cling to anything, a knife in the spirit of the Z-sabre, the Z-sabre itself, specialized automatic aiming guns, and he could actually FIGHT for once, with kicks, punches and suplexes. So, runing around, stabbing the little yellow dudes, oild goes everywhere, he get's shot, lots of blood splatters and sound effects, it was really pretty damn funny. Another weird point was knockback was important, if you rolled, you could smash your face onto things, blood again went all over the place. So we watch him play to this frog monster boss thing, and he starts doing the dash jumps, and knfie's the thing in the face, but, well, it was a frog monster, so it bi him, and he mashed buttons to stab it's mouth to pieces to make it let go... he rolled back, hit his face on the wall, blood went everywhere, will was like, "oh that's it" and then dash kicked, shoryukened, and then did this mugen style punch kick punch punch combo on the dam thing, followed by stratigic Z-sabre use and THEN actually shooting it to finish it. Controls were real intuitive, it seemed to rely on context sensetive controls more than anything else. But yeah. Super violent Megaman is a BAD idea, but improving the mechanics makes it not megaman. Don't forget it.

As prelude to all of this, I had this resident evil dream again! It was nice, but, got more difficult, as the virus had been discovered in this office/mall complex building, so, we were coptered into the top (Wasn't this an arcade game?) and worked our way to the bottom, fighting these nwere, smaller and quicker deadly enemies, like 4 legged bity things, two leggeded winged death bombers, large generator enemies, and some nemesisis (nemii? nemisis's?). there were complications once we got to floor 1 though, as we had Chris and Jill with us, all STARS'd up like normal, and we encountered some newer bidpedal monster, with nothing for weapons but the environment, throwing whole desks and crap at us, making the rocket launcher and aiming pointless. We chased it into the basement via fire, and found a giant generic-gross slimy alien/mutant egg factory thing coating the hallways. So, we burned that, moved forward. Apparently, this led to the truck depot, so the dude got away by just going through an open door... who planned this?!? We chased, blew up the building, and then things just got fuzzy. there was probably a lot more too this, but I don't remember most of it.


But, so far as RL goes, well, I own a house? And it's slowly getting put together? Not much to say, asides from that indexvector is useful, as well as igtl_GLAppWrap being the next replacement for SDL, HOWEVER, the joystick support sucks nutz, so, I'll probably have to beat some children to fix it. Game company is going along well, as usual, they want demos, whiny bastards.

Peace ya'll! Maybe I'll have this pimpmobile ready when Oct 15-19 rolls around.

2008-09-04

HOUSE CLOSED

As of September, 02, 2008, I am now hugely in debt.

Congratulations! I'll make videos as I move in since I get evicted the 7th! No time to do anything else.

Peace homies!

2008-09-01

Potential Rift in Chaos

I may close on my house tomorrow.

This means I may vanish for a month.

Do not read the below if you are squeamish.

...


So, I was cleaning my house. Well, it's not technically *my* house yet, but my Realtor gave me the thumbs up to go ahead and clean it as much as I could without doing any damage to the home. So naturally, I get a steam cleaner, a 50$ in chemicals, and two 75$ bottles of 'MadaCide' which you normal mortals can't buy. So we clean. And we clean.
There are three primary spots; Two of them are catheter bags that had leaked onto the floor, the urine itself when pulled up contained blood (brownish color) and was pretty odoriferous. One of the stains was insanely large and did contain feces/sediment from some other type of accident, partly bloody too. I didn't care too much, we used the steam cleaner dozens of times, pulling up more and more urine each time. It must have soaked all the way into the pad, so I eventually conceded defeat, and rented my RugDoctor for 25$ for 24 hours, and bought 4 bottles, 2 of pet odor and stain, 1 odor and soil, and one regular cleaner. We went over each spot almost 5 times with that doctor, each time was less and less bloody, and the smell was eventually going away.
So, after playing with urine for hours, we eventually just doctored the entire carpet and moved on. We had tag-team going, so it went quick, we got most of the spiders, webs, and bugs out of the house, and it actually began to feel more movable. Though, I only worry about termites now...

2008-08-29

Spiritual Curse; I met Satan, and found out God doesn't exist

A very powerful spiritual dream (not like getting soul vored though :3)

I remember a little about the beginning of the dream, which lasted a very long time. The dream basically occurs in two distinct parts; Before death and after death. Normally, in dreams, my deaths are either painful, torturous, or generally caused by me fighting something I can't take. Rarely is death pleasant, but you all know what I mean by that.

So! To start off, the Earth, as a whole nation, was a few years down the road. I was about 27, I was working in my new job, and we just so happened to be somewhere else besides home, we were on a business trip demonstrating our new awesome software, it was me, Duane, Robert, and some other guys setting it up, when the news comes on every channel. This was strange, but, apparently, we had made first contact with an alien species; And it was immediately hostile. So, right away this became independence day, and these aliens were pretty stupid, the little green dudes in silver sport jackets. However, they did not have any super advanced technology, they kinda of operated like ants, they were running from something, found a edible, workable, livable planet, and started ousting the locals to make room for themselves. NOT a good idea to do to the human race, but, they didn't have magical ray guns or space ships or some shit like that, they took a more classic HL2 pod-rocket approach to deliver doses of this gas, which was largely ineffective to anything (they goofed, it just smelled bad to us.) So they had to actually physically drop ships down and start shooting; people took them out left and right, it was a marginally fair fight. However, somewhere later, after this long session of gunfights, espionage, and general camaraderie by our human species as a whole (it's amazing how race, religion, and personal barriers become meaningless when we are threatened as a species), we managed to stop them from invading any more territory, however, they had invaded one city successfully, putting ALL of their people in it to defend like mad while the probably built more weapons out of their ship. This was all after a interlude where we shot manned rockets into space to guided KO the mothership and all that, so we had wiped these guys out pretty easy, I don't think more than a couple million people died, really. That was a scene all it's own, and kinda goofy, and didn't involve me directly, but! Here were me, duane and robert (who is awesome with guns) holding fort outside of this colony, and the US government had given us permission to use this bomb.
This was no ordinary bomb, this was like one of my fictional (temporarily) AM-bombs, it had a very impressive yield with little or no radiation. Just a high energy magnitude blast, way more than a hurricane of volcano even! Unfortunately, it was a networked bomb, and had to be powered, as well as connected to a "SS~**.exe" something exe file with a laptop, and we all knew how this worked, and no one else nearby did, so basically, we were sentenced to death by the US government. But, as true americans, we do the best for the country, at all costs to preserve the nations future. So, we sneak into the city, lots of it was in shambles, destroyed parts, chunks of buildings missing, bodies everywhere, it was generally like HL2, but way better looking, this was a RL resolution dream. We had a lot of other people with us, and some indian kid, and some others, so we hook up this huge bomb stand. What they neglected to tell us, was that the bomb had a 10 minute timer! So we could leave and survive. (Get to zee chopper!) So, we set it up, and I was about to get in the chopper, when all three of us click... If we leave a POWERED, idle, easy to disarm bomb, it is VERY likely it will fall into enemy hands. I ran back to it, grabbed my gun, a Desert Eagle variant, and shot one of the little green guys that had approached. NOW we had to die, because the bomb had been seen. Of course, then the little alien dudes cut the power, so the bomb turned off. This was bad, and we spent a few minutes frantically building a power supply out of a vacuum cleaner and some bicycle we found and a rubber stopper. Robert was biking the hell out of it (distance runner) and me and duane were setting up a fake network on two laptops to keep the bomb 'alive', it took a while, but eventually we got the time to 00:00:00.0000, and the bomb didn't do anything. More precisely, it gave us a button to click. It was only me, robert, duane, the indian dude and an asian dude left, we could press the button and be instantly vaporized, saving the world from a new alien race, or we could not, and potentially kill off the entire human race...
I turned to duane, "...well, I love you guys. See you on the other side." and clicked the button.
Part two of this dream, however, was vastly scary, disturbing, and downright terrifying.
Right before I hit that button, I looked up to see the sky one last time, there were buildings in the background, I could see my friends faces, anguish and terror on them, but strong faces so that normal people couldn't tell. The sky was blue, buildings were greyish ashen, some on fire... Either way, When the bomb went off, there was no noise, there was no pain, just everything went and felt white...
Of course, I immediately, without ANY doubt in my mind, felt, heard, and was told directly by our God himself, that I was going to hell. It was a very overwhelming sensation, as if everything that ever mattered suddenly coalesced into a single, direct piercing beam of cognizance, all that chaos and randomness was really just the whim of some true god entity hovering over our planet, and deciding who was righteous enough to enter some mystical kingdom of heaven. I died a million deaths in that instant, a sort of super flashback to all the times I *could* have really helped people, but didn't. It was trite and meaningless though, and after that microsecond of pure intelligence, the whiteness began to fade, senses returned, everything begun to form into view... I was dead now, but I was also in hell... However, what hell REALLY is, as I found out today, would blow the minds of nearly every idiot that has a personal view of it. The same buildings, the street, the frame we had for the bomb, hell, even the bomb itself, everything was still there... except, it was entirely frozen with white. There were gigantic icicles on every structure, snow was constantly falling, the sky was grey with ashes, I looked around, robert and Duane were gone entirely, but indian and chinese dude were still there, looking around... Apparently, hell isn't personal! We tried to talk, but we could make no sounds. We could see, smell, fear, touch, and hear, but we could not produce sounds. I walked over, using normal hand signals to try and talk to the indian guy, trodding through the snow, but he looked very spacey, and his face distorted slightly, warping, bubbling a little, getting slight boils... I was freaked out, and ran away, noticing there were an awful lot of people here, most of them I had never seen, zombies walking around in this grey purgatory. I ran over to where people seemed to be moving, and was greeted with more of the central city, huge blocks of ice on everything, icicles connecting floors of buildings, meters and meters of it all over the tops of things, but not so much the ground, as if a sleeting rain had fallen but never touched earth. As I walked as fast as this ethereal body could carry me, I noticed my speed was capped, I began to sore and hurt, as if the very act of motion itself was impossible in this realm. I saw other people collapse, and get swallowed up by the snow, disappearing into the fine white powder, to how knows what kind of fate. Never the less, I plodded on, this wasn't anything too weird, after all, having Raesir as a friend, I'd been through worse. Eventually, the number of people turned into a crowed, all trying to push their way through this small corridor, beyond there was color! Apparently, this snow and desolation was merely another illusion, and beyond this special passage was a second state of hell itself... of course, as I approached the crowd, I was tempted to push and throw people out of the way. that desire became very strong, and suddenly, in the back of my mind everything stood up on my neck, pure terror struck my heart, and everything for me froze. In this real, a temptation to perform evil deeds was truly manifested within 'Satan' himself, by succumbing to temptation, HE would appear and offer you trade or a bribe... for me, Satan was nothing more than, well, I say nothing more, there are no words in which I can describe the terror of being that close to a true god, this overpowering sensation of worthlessness, belittlement, and sheer terror at a greater power, driven into you by the flames of some lower level of heaven. For me, this fiery goat skull rose up from the ground next to me as I was paralyzed, the jaw moved to talk, spewing hot flames slightly as it did so, the skull could deform and smirk, it was quite the true demon. What it said though, was more terrifying than I think I can explain, Try to imagine the 'Mother language', a literally universal language for ALL life, in which basic concepts are communicated through verbal words, a lost, ancient and powerful language, most people often associate it with 'magic' though words do absolutely nothing, THESE words are potent when spoken from the mouth of the devil. I don't remember what it was saying, but that low grizzled tone and high pitched screechy laugh made me lose everything, I had to get away, but I couldn't! In a puff of smoke after laughing at me, the flames of hell vanished, time resumed from where it stopped, and I fell down, shaken badly, curling in the fetal position to try and recover, but was immediately remind that the snow on the ground was actually a living thing, and got back up, brushing it off of me as best I could before I was enveloped by an apparently mass of dead souls; the snow itself was the collection of discarded configurations of souls, each just a small snowflake, each one unique, and entirely worthless. I shook my head, my heart rate was to high so I want to lean next to the wall, watching more people come to that gate. As I noticed before, these people were fucking horrible, they all had scarred, boiled faces, tears and streaks of red, blistery, damaged beings. this extended to their arms and legs, they were like no zombie I had ever seen; they were still humans, but very bad off humans. I decided to follow the crowd, and got in line, still breathing fast, heart down to ~ 190 or so bpm now, maybe some mindless droning would help. As I was shuffled through the crowd, I noticed that not many people were coming out the end of the tunnel, and I began to suspect a trap, though, as I got to the end, I merely stepped into the colored region, turning around, I saw all these people, which all had on the same black to dark brown robe & hood, turning to snow and their clothes being sucked into that living mass, from the other end of the line, if you didn't look up, you would never notice that you were simply being devoured by a large mass of things that all do the same thing for eternity, a cycle for all dead to start, and never finish, constantly desiring more, which should click for a Buddhist practitioner, that 'desire' is certainly an evil!
I was not sure why I was able to pass, but as I looked around, this place was the same, except minus the snow and ice from dead souls. there were people looking up here, there was the asian dude and the indian dude, they were walking around, some sitting on things, nobody was moving very fast, it seemed like a solemn, entry level to heave sort of deal, however, their bodies and faces were still just as scarred. I walked by, people could talk here, but they could only speak their heart, making raspy, hoarse whines to eachother, some were able to sing, some were not. No voice was used, the 'Mother language' was the only voice heard, and it did not come from the mouth. I walked past all these people, I went to the people I knew, and tried to say something, but my heart made a different sound, it made a 'ufff' sound, like pushing air out of a balloon. I wasn't sure what it meant, but, it immediately made people more calm around me, they looked at me suddenly, and some of their wounds healed. I was freaked out, and I ran again, trying to press in the same direction as before, but the people that heard me began following, suddenly turning darker, and more zombified. Apparently, Satan had given them a 'want', and they accepted. I began running, and He appeared again, right in the tunnel I was running to, a larger skull this time, big enough to block my way, if he wasn't already scary enough. It laughed, and said more things in a language that tore me to shreds, I understood what he was saying, of course, and it was something like 'You fool, you only cause others to suffer by trying to help, do you not think they realize their pain? You shall burn for this! You will be mine! I am!' and so on, extremely dominating, aggressive words, but contextually he was just telling me to give up, and give my soul to him for whatever reason. I jut waited, after he vanished, he burned me a little, I had to put out my coat and continue to run from zombies, if he didn't kill me, they would. But I vomited blood along the way, it was darker red than it should be, I felt really bad at this point, making past another tunnel to yet another stage of heaven, I turned around, those zombies were melted to bones at the end of the tunnel, the bones clattering down through a grate designed for it, skulls and cages rolling off to the side to feed THAT never ending cycle. Again, I was mystified as to why I was here, I noted that people here were generally better looking, and that asian guy and indian guy were here, so they made it too! these people could speak verbally, and we all spoke my language, if they talked, I heard english, if asian guy was listening, I was speaking mandarin chinese to him and so forth. People nodded to acknowledge my presence, they were moving about more, and this hallway was a big T shape, people were skiddish, talking about demons that took them away, and other horrors. Well, every time a new person enters, a new demon tries to eat one of these people, so, naturally, that happens, and we all run left in the T-shaped intersection, which had lots of boxes, and a halfpipe at the end that sloped down into a long bridge across a pit full of something, I didn't bother looking, a demon was chasing us! I turned around, and watched it rend some poor guy of his flesh, drinking the blood like a freaking capri-sun. After he finished, he just threw the shreds into that pit and stomped off the right direction in the T, which, was weird, because that must be the way it always happens. Again, I was in another level of heaven, and this was the highest level I could get to, apparently, as this looked exactly like real life now, except, people all had on the same style of clothes, this tweed robe in any color that person liked, with optional belt. our group looked about, there were fewer people here, but, there were also a vast amount of temptations here as well, fast food, movies, cars, commercial things... it was a city, it was still a little white painted, and we split up, I wandered around the streets, looking around. My robe was more white with gold, I don;t know why, I guess it was fitting to me. There were no cars driving, in fact, people I saw getting into cars disappeared, so I observed that everything here we were used to was probably just a demon or the Devil in disguise, so I went to the movie theater to observe masses of people wanting entertainment, or something else to hold onto, there were posters that looked like an everyman from that 'A Scanner Darkly' movie, I watched people for a while, and asked someone what the ticket price was, and they said they didn't care. My own personal vice began to gnaw at me, and I went to the KFC next door, I was about to get in line, but that familiar feeling crept up, and I saw a flash of flames to my left, so I watched instead. People went up to the counter, ordered some food, and then turned to leave, but, really, they never left, it was like they kept going, but they were gone, skeletonized, and sucked into the ground upon leaving the door, but only when out of sight of me. This was frightening, but after surviving all those trials, I knew something was entirely wrong with this, why was *I* one of the only ones able to see these things? I noticed other people like me, wandering around with similar white robes, but different colored belts. I talked to one of them, but they instantly turned to ashes when Satan appeared, larger than ever, still just a giant 20ft tall goat skull bathed in searing flames, yelling the loudest, most hateful and crushing words I could ever imagine, I fell to my knees, I couldn't do this much longer, I knew it, but I had to do something, He would just keep explaining to me all the evils that life and the afterlife consisted of, telling me about sentience, it's burden, it's necessary role in some sort of spiritual foodchain, and continually telling me I could never do it, I could never make it, and how I was already as good as a slave. I looked up, after a while, my eyes were bleeding, my nose was bleeding, and I knelt there and coughed up more, trembling as my body started to finally give out. I stood up though, and began wandering more zombie like, eventually, days later wandering myself into a large warehouse at the end of warf connected to the city, there were a few other people here, nobody was here that did not have a white robe though. I remember walking around for a bit, the place was dark, alone, easy to gather your thoughts in. It was the most comfortable place I had found in Heaven thus far, and that's when I began to flash in and out of this place, I could flash forward to see Duane, he was exalted, eating some small meal at a white table in an all white room, chatting with his friends and relatives that made it to that same place, but... I knew something else too. Satan was right, of course, although heaven may be something we are used to on earth, and something we find simplicity and comfort in, there will always be something else we desire, it is our nature as living beings to do so, and the entire reason true gods like Satan created this place, to feed off the suffering of the living. I laid back and let myself sink into the floor; I was defeated. But that didn't happen, everything just sort of whited out, back to a grey background with little white flakes falling from the sky, everything else just became muted, and that was the end.

So, as a commentary, yes, I said it a lot, but there really is no way to describe the power of being spoken to by a real god; Satan is actually 'the' god, in case you christians were wondering. 'God' does not exist, it's just 'Satan'. Also, to explain what I mean by a 'true god, you have to understand how the universe works; Put simply, a true god has absolute control over their region of mass influence; IE, they are bound by all normal 'gravitational' laws, but can do with that matter as they please, altering perceptions and creating real things and events as they wish. Of course, their influence is directly related to the mass density of things they are near enough to, so they are not 'all powerful', nothing is, or ever will be. Also, when I refer to the mother language, the symbols spoken within it do not sound like much I had ever heard in my life, they were sounds, but also accompanied by feelings, you were forced to think a certain thing when hearing it, not because that was what you heard, but it was also a totally sensory overload to feel that word.

I feel pretty messed up today; It's not often I have to confront something like Satan.

2008-08-24

Super Chinese Viking Hero Story 2

So I had this dream that quite accurately fit the title.

Very interestingly, this is a recurring dream, the beginning starts out in the parking garage of a large, metropolitan area, which had been abandoned for about a year or so. IT looks like the city had been bombed, the sky was purply grey, there was gunpowder in the air, and the crew for this session, was Me, Scott, Ted, Mike, Amanda, Nicole, and a few other people (about 20) that didn't make it out.

So, the game starts, we are all armed with grungy leather vests for armor, M-16's and some of those HK-5 machine guns, we all had bandoleers with some grenades and mini-shotguns (hand cannons), some of us had bandannas or doorags,
but, the camera panned around the group, and then immediately, these gross pig monsters (like you see from zelda, or battletoads, or probably any series with a pig monster) on motorcycles come roaring down the parking garage ramp; This was a gang war apparently, they have Uzi weapons, and we scatter and start taking them down. Being trapped in the bottom of this building was quite annoying, me, Ted and Mike went left flank, and I went point and instructed that we had to get out, they had RPG's they were setting up to kill us with. So were were in a very bad situation, Me and mike went all badass and got everyone to grenade shower
the fools as we spread outside of the building, but by this time they had a tank (we were 45 seconds too slow) and they mowed down everyone on the right flank... but, being a war, we managed to take out everything but that tank with good, well places shots on the move, leaving the garage there was a lot of safe rubble piles around, we were running low on ammo and the loss of our crew was pretty devastating... As we tried to MGS4 our way around the tank, the camera would pan out into a cinema scene, showing the small concrete maze me Mike and Ted were walking through. At the end there was this strange blue orb, swirling with some mist around it, a portal of some sorts! But, we heard the shot, and I jumped back, knocking Ted over, but I missed Mike... and the shell hit the wall next to us, killed him instantly with a block to the head, but we missed the collapsing wall, not too much damage. I had already rolled back, and helped Ted up, but, now I knew we were screwed, Mike was the best guy we had for this stuff, so, we just ran at this point. The Tank wasn't very accurate, it missed a few more shells, neither of us were critically wounded, just shrapnel bloody. Out of ammo, except for handcannons, we find the portal, and I stopped, but Ted seemed to know what the hell it was, and yanked me though.

At the OTHER side of the portal, we have ancient china, we had kept all the equipment, but our enemies were now only equipped with swords and full armor, where we had leather armor and plenty of light damage. we both looked around confused, at least till those pig monsters gave chase. We did have utility knives, but Ted wasn't keen on the combat, and I figured he was right in this case, so we ran down this road though some dense bamboo and trees, to a set of walls leading into a fortress. At this point, I was seeing some silver medallions, and I made sure to get them all as we went (Sonic for PS3? maybe.). The farther along this trail, the lower the ground level was, this seemed to be some sort of fortress for defending, it was very interesting in terms of how it was built. Though, arrows started to discourage us from screwing around too long, we ran up the other side of it (it was snake shaped), and turning right we ran into a NPC, this weird looking old dude with that annoying Chinese straw hat said something to us, Ted stopped to listen, I just went right past the guy. Of course, THEN he got mad, and turned into a dragon, naturally, and started to say something to Ted, but I didn't care, and continue walking down the corridor, noticing that this was actually a weapons and supply station, not a fortress, so this must be part of a larger city or something. While Ted and easter dragon talked, I investigated the stuff in this depot; There were no guards, so perhaps we came in at the right time to protect it... There was lots of food stored, and very little gunpowder. Also, after poking around the stuff, there were large deposits of money (little clay tablets worth a lot) here, hidden in the panels! This was getting weird, so I turned to Ted, who was done befriending said dragon, and poking through the stuff with me, when some guy comes screaming about vikings, and since it was a game, we both knew that meant we couldn't fight these things without an army, so we ran. Apparently, a 'Viking' in this game was like a huge anglo-saxon-mongolian nightmare, kinda built like a dwarf that is 7" even.
Scary, dirty mofo's, so we ran out of the depot, I grabbed what I thought we would need in a rucksack, but as we left, the guards that were SUPPOSED to be in the fort began to apprehend us, but they figured out that we were serious, so we all took up arms. Oddly, all these guards looked like the fodder guards from Dynasty Warriors. Sucks to be them! Now we had a decision to make, whether to stay and fight, or continue on. I decided to fight, but Ted wanted to move on, he was probably right, but that stupid little dragon he had on his back now wanted to fight too, and hopped off, grew to normal size, and began furiously pwning the viking freaks that came at us. I got a spear, tore off the flint head and began making bombs (pinch bombs) and blasting the forces that came through. At this point, we actually got overwhelmed, they killed the dragon, and speared everyone except the heros. The game over sign appeared, and we had to restart from the beginning portal we came in, this time I collected more medallions, and we just ran through and past everyone, the dragon stayed with the fight, naturally, and died. As we ran past, a cinema scene told of this story we would go on, Some sort of weird adventure that had no meaning aside from survival, for the moment. We got to see a world map view, someone was reciting prose about the history and shit, then it shows us walking into this village nestled into the side of a giant rocky cliff with a waterfall, the town ran off the power of the water (it's called waterwheels, no magic here) and we RPG'd our way though it. A 2 player RPG is pretty kickass, especially when NPC's are actually dynamic, and remember things, making the immersion much greater. I forget what were doing here, something like restocking like a Neverwinter Nights mission or something, but there was a lot of dialog about the coming invasion, and other problems and stuff we could forsee. We went back to the world map, and I guess I just skipped the gameplay parts from here, and we were on the world save screen, apparently, we could save items like Mario 3, and progress as 'dragon gates' or some stupid stuff, but saving a dragon gate option took 3 item slots (we had 20 available) instead of the normal 1 save slot for progress. Apparently, saves in the game were only saves of relevant equipment profiles, and the advanced dragon save would striate multiple files, so that you could MERGE save data as additional resources. this was weird, and we experimented playing around with our save data so that when we loaded the next time, we would have all the additional equipment we collected from the other two saves it encompassed. Neat little detail, I thought.
At some point, the dream drastically changed to the end of the game, it was just me, Dr. Grant, and this hot chick from 'Cadillacs and Dinosaurs', apparently, something about jurassic park was happening, and me and Grant had to shut down the power grid to reset fence relays... so we did, in a generic, white metal/concrete JP facility style setup, but with an emphasis on water creatures. So we turn off the power, raptors attack but I had my HK5, so, well, that was short lived. Grant got all pissy though XD Then, after some screwing around with a giant mechanical brontosaurus, we got in a plane and left.

As a note, this dream was in better than HD 1080p detail, which was weird, it was a whole lot more realistic than other game-style dreams. Another weird thing, was violence in the dream was muted; Like, all my friends getting shot to death by a tank machine gun was just dust particles and them falling over, no blood or gutsy stuff. Usually, that kind of violence is accurately detailed, but I guess the presence of fantastical pig monsters muted that. Also, normally when I have some stupid dragon in my dreams, I usually interact with it, but, I guess since I brought along a more experienced dragon-expert, I let him handle that shit. Saves time! I really wonder what the game content was like, it seemed to be some sort of game like that one with Yoshitsune and Benke, or something, what was that game... either way, it played out like that a lot, but we really didn't see much combat aside from the beginning MGS4 style fighting.

I close on my house Wednesday, woo!

Also, Blender 2.47 is out, but the GE crashes if you connect a add actuator, scene actuator, or game actuator to a controller. I haven;t figured this out and anticipate a bugfix for that in the near future. (Only the GE is broke, and HOLY HELL they added a lot of shit. It's worse than ever now! I might just stop with GUtil if they keep making it like that. Whoever is on that design team, MAN I do not respect them at all now. IDIOTS!)

2008-08-22

Just a post, like every normal blaugh

So, I'm closing my house wednesday in Galardi. I landed me a 1654 sq footer, with some nice features and dragon-sized rooms (no kidding! The ceiling is like, 10 friggin feet tall!), a big kitchen with a vaulted ceiling, breakfast room, and the living room is a good 20x18 or so feet no including the tile parts, large master about 18x12, big master bath with a jacuzzi tub, two aux bedrooms at 12x9, more normal sized but with deep closets, and a two car garage. Small yard, but no back neighbors at all! I'm just glad this mess is finally starting to be over.

Here's some interesting trivial, the price of happiness. Interestingly, it's about 23,000$USD a year! Because, I'm changing jobs, and losing THAT MUCH MONEY annually, because my happiness is worth more than that. 45k is livable, but suffering needlessly when other people who are more competent would be willing to do so for that salary (top of 80k 10 yr) can go do that. Right now, I'm too young to give a flip about doing anything more than playing into my retirement, home, and other investments. So, if you ever get in the situation where you are unhappy with your job, AND you are a good, hard worker with a solid education, just go find another job. You have no obligation to anyone, except those you actually care about.

Also, all this cash I am making has nothing to do with my degree, it is simply because I DID WORK. I did it once, my name got spread around, people WANT to employ me. Which, this breaks my heart (shutup, Regina) to no end, because I work with very great people, they're a blast to hang out with, however, the higher ups are killing me (as expected for those who know what I do) and it just isn't worth it. I neither have the correct mentality for this job, or the chronological maturity to handle this type of situation; I have NOTHING stopping me (kids, debts) so why put up with this shit? IF I did, I could use that as emotional and physical support to survive for the paycheck to provide for my family. Without that, my only family is my friends, and I don't provide for them, except that I guess I'm fun to get drunk or something like that. And I certainly don't pay for them... maybe.

To sum it up, I do not think that a 'guaranteed financial future' means shit in a world that does not have a future. Thus, I will choose the path that makes me happy, fuck you world. And your 80k a year job. *flips the bird*


On other notes! I've run into some issues with GUtil for Blender, here's the results:
-You can use a simple function to convert GE position and orientation into any camera flawlessly (refer to _camera functions in game.py)
-When you duplicate a object, it duplicates all child objects with it. So, the Entity philosophy is being rewritten with this in mind, and storing and REMAPPING objects on runtime, that way, the same functionality is present, but none of the gross duplications (this also makes it WYSIWYG)
-Ray sensors are the only sensor that detects static triangle meshes.
-Sensors only detect dynamic objects that are not ghosts (sometimes they detect actors, eh. trying to figure this out)
-A sound actuator cannot load sounds; For each sound you want, you need a new sound actuator (ballz)
-Armature actuators can change most things except blendin times. This is broken, and crashes blender if done in python.
-Using blended animations crashes blender on the second game run (memory leak)
-Rasterizer.mist functions don;t do anything. Someone needs to go glFog some shit.
-If you save a controller object( on your root controller, save that controller) you can add objects instantly, from anywhere (this is key to GUtil)
-Remember that python sucks, and if you delete a object in a sequence you are iterating through, it crashes. So, delay your deletions and additions, but allow the user to kill themselves with a AddNow and RemoveNow function.
-Function calls hurt a lot in python, I wish function pointers could be automatic (working on it, I wish there was a python function that called a function for each object in an array WITHOUT making a new array!!!)
-Obtaining armature bone positions works, but only if there are at least 3 distinct unique verticies in that bone group (IE, a head has ~ 200 verts, at least 140 of those are unique, so we CAN get it's true bone position and orientation). This is done via 'gram schmiddt orthonormalization' or, for those of you like me who hate formalities, you take 3 points, a center, x, and y, calculate x - center and y - center, and cross those to get z, then make your matrix from them. From that matrix, if you know the bone matrix you can calculate the offset and rotational offset to get that point calculated matrix to the bone position. This is easy to do, but must be done in blender, not your game engine (IE, save all the armature and vertex data your can (xyz that is) and then sync it to your game on loading) This works well, and is a very nice thing if you want your dragon to actually pick up and eat the player.
-Sometimes ray sensors miss greatly if they are moving
-You can't store function pointers correctly; Because python functions seem to be evaluated out of scope, if you store a function pointer from one modules scope, then try and call it from another, the actual calling scope changes, so you get fucked. The way around this is annoying, but using the function locals() you can get a map of function name -> function pointer, so you can just store the function name instead of the actual pointer, and this works fine because those function pointers have a different module scope or some shit.

Things to work on, or neat things I have noticed in GUtil:
-Mesh animations are good, the model is accurate and simple
-Adding meshes and sensors realtime works well, same with removing them (no damage)
-Shaders will be nice, I am not 100% sure how to tackle this.
-Generalizing the camera is the greatest thing you can do, it makes any game more fun. Also, since you can getCameraXY, maybe there should be a generalized plane projection function for motion? (IE, if you want to move mario, he moves relative to his current direction, right? If you want to move in the direction of the camera, you project the camera's forward direction onto the XY plane if gravity is in the Z direction only, that way your forward isn't trying to go up or down, and is a true 2D forward. This can also be done per plane normal that your character is on, a traditional 'ray cast' player.)
-Adding entities is OK, but slowdown seems to hit hard around 20 or so complex entities. This is annoying, because I expected 6%, my older versions of GUtil were faster, and I am not 100% sure why, except that there are many more function calls in this version. I bet if I bind functions to local names it'll go way faster. (python uses lookups so bleh)
-You can't deform a mesh that is animated yet. (would be nice to do this after the animated part.)
-Thanks to a friend, you can assign a 'overlay' to your scene via the _overlay actuator, this should allow you to easily print text via that function and move on from there.

Maybe this is too much work for something that is needed. My suggestions are:
-Add a SoundBank actuator, where you load a LIST of samples, and can change them via a property (maybe via index or string)
-Add a AnimationBank to do the same thing, have a list of selectable animations
-Fix the mist functions
-Make aramture parenting system AUTOMATIC (I did it, it should be internal!), just let us know the indices to use! (just vertex parent stuff)
-you could probably add a Motion -> Types actuator to make control a lot simpler.
-Input should have a generic device, so that input key can be set to any input to generate the same result. (I did this, it should be internal!)
-Provide some sort of python game math class. Using Mathutils isn't exactly a good idea, since it is a blender module, not a GameLogic one. We need a Vector, and Matrix, with plenty of functions for interpolation, adding, comparing, operations per element, and all the stuff I had to make myself. This has been needed for some time.
-Get rid of the logic blocks, or at least start to favor making more python classes to use. It's about time this system became useful for something. (and no, saying 'you made it work' is not valid, did you see the CPU usage? That is a crime, my friend. If my C++ games can handle 100,000 game objects and barely choke, why can't GE handle 20? shoot for at least 100 on a decent CPU (2GHz single core))
-What about simd optimizations? SSE2/3 could be great in the game math class!

2008-08-17

GUtil progress

Yes, I am still working on AdventureClone, for those of you who pay attention to what the heck I do.

It required a massive rewrite of the Blender Game Engine, and since it's so crazy (I mean it's retarded) The concept is simple, I restrict certain layers (15-20) to specific types of objects:
16 - Meshes only (animated, or static meshes that do NOT collide, things that need to be duplicated, graphical ONLY)
17 - Armatures for those meshes
18 - Sensors of any type (Ray, COllision, Touch, whatever. You can reuse them, instead of making 1 unique one (how stupid is that? bleh!)
19 - Collision shapes (WIP)
20 - Entities (collection of all of the above, usually parented to some physical shape like a cylinder)

Which means, To make your level/game, just add empties or other shapes as 'spawn points' to the level, and use the massively awesome 'game.py' I wrote to code your game (it eleimates so much, you won;t believe it!)
With this system, you get:
Armature bone parenting - Not entirely accurate, but it DOES work for N-simplex groups (refer to docs)
Easy animations
Deleteion/addition on runtime (you can add/remove anything, anytime)
UID system for tracking entities
smart objects
"Entity' class that handles access to sensors, animations, keyframes, shaders, and everything else that sucks to write repeatedly
Simplified interface
NO LOGIC BLOCKS USED FOR YOU GAME. (This is VERY important)

And the result, is you can actually make a decent, and viable game with only the blender game engine! It's freaking incredible. Once I get demo, I post demo.



Enough banter, my dream lately was pretty gross, I distinctly remember me, mike and caleb running around a froze, snowy blizzard mountain, when caleb says 'aw fuck it' and gets in his insight and drives away (that car is so light, it drives on snow) Me and mike shrug, and continue on down the mountain! After a while, the mountain goes directly to a swamp, I point at a gator and laugh, cause it was so fake I knew it was a dream. Mike said, that was because it was fake, and points to the real one. Apparently, the house across the swamp had put fake gators in the pond? weird. We crossed, I had found a double barreled rifle with that ammo clicky thingy on the end that looks cool, plus the barrel was two pieces, you could flip it up to add 3 ft of extra rifle to your bullet for supreme accuracy or something stupid like that. But it was rusted all to hell and didn't work. Got it off a dead corpse we found. So, we enter this creepy mansion, and find a witch, who was surprised to see anyone, and does some spell bullshit, but, well, I have friends in high places (like Raesir) and so it didn't even do anything, just sorta fizzed out in front of us. She freaked out, screaming something about dragons, me and mike shrugged, then Harry Potter comes up from behind, says some BS, his stuff doesn't work either (lol, he was soooo sad face) so he transforms himself into a moth (? that was weird...) and this bird eats him. Now, normally, I would have kept laughing, but from what I could tell, he didn't figure on that one, so I threw the gun, hit this bird (it looked like a cockatoo) and then went over and CRUSHED ITS HEAD WITH MY BARE HAND, making this nasty cracking noise... I peeled back the skull and pulled out this nasty acid- smelling moth, shaking it off and tossing it on the floor, where it turned back into a severely beaten Harry... was pretty fuckin sick, lot of detail in that scene, ugh! So, it turns out Mike was just karate-ing a buncha lizard people that that hag created (gators = generic videogame foreshadowing!), he was doing great, had himself a pile of CQC idjits. So, we regroup, the witch had left, and Harry was just on the ground crying like a baby. I don't blame him, that probably hurt like all hell. Then I just woke up, no point, plot, or conclusion at all. It was definitely sickening.

2008-08-14

Pokemon Plus, I mean Monster Rancher 5 ?

Looks like my roomate got me internets.

Not easy to remember, I was losing sleep over how this house deal would work out, primarily since the f%#@$*&^ucking bank that owns it is being too slow to respond; They're basically screwing me, like, with a giant sandpapery golden-rule dildo. It's fucking bullshit. All banks are crooks. Don't forget that, they do ANYTHING to make money, and they WILL find a way.

So far, thanks to banks, I've lost more than 1600 dollars in liquid income due to having to move twice and pay for rent and a larger eschrow. So much for me having a projector!

so, anyways, last nights dream was something involving a lot of pokemon, not som uch the classic or newer crappy ones, but a more graffiti kingdom style, like they were all pretty cool looking, not just some of them. Also, the way the battle system worked was drastically changed, I think it was 'TM's they called those silly 'add a move to your monster' things, right? Well, in THIS version (HD, 1080p) creatures operated on a more Graffiti Kingdom system, if you gave them a move (say, bite, kick, punch) and they couldn't physically figure it out, then it would be far less effective. On the other hand, if a creature was good at, say, back-kick (like a horse) then it did extra percent damage. Also, moves could be swapped in and out like items, at cost of slight time (fro training) and monies. So anyways, the fighting pokemon on pokemon is more of a deranged form of cockfighting (in all senses) and that element was pretty much removed from this game, people didn't just walk around and start fights, cause that hurt their pokemon, making them resentful and disobedient. Rather, fights were much more elegant, and it instead favore puzzle solving and using your pokemon as world tools to complete objectives (sounds like monster rancher...) more than battling eachother. Also, people had them as pets, I didn't see any pokeball's or other de-humanizing machines to remove you from the fact you were raising and training a living, breathing creature capable of making it's own decisions. What a weird conflict. Either way! It started out as me investigating this town, we have another dense city in what looked like Tennessee, based on the geography of the place, lower buildings, rolling, spanned out hills and such. Apparently, this town was full of some sort of pokemon addicts, which was interesting. I talked to some of them, I met a lot of cameos of people I had seen before, I attended a fight (it was a kinda unfair fight, this drill-mole thing versus this metal bird thing, and the metal bird thing had 'shrink' apparently, so, well. Somebody lost a pokemon, and apparently, if you eat another pokemon, you can gain all it's abilities, kinda like kirby. But then you have to deal with a whiny trainer...) and I found a place to buy these things; I said no, and just sorta used other peoples animals as I found fit to get across this town, which, this was yet another pseudo future, being inside was the only safe place since the world was full of hypermutating genetic abominations, so you would be killed if you went TOO far away, hence the pokemon in the first place (tamed mutants!). I forget what the hell I was needing to do, but there were a lot of cameos, I think I saw everyone I knew, including them with a target creature that suited them. I can't remember accurate details, but people without pokemon (moi) were more or less looked down on, probably because chance of survival was low. there were a lot of water fountains so you could water your pets, food was the most expensive thing, and at a high premium since it was grown indoors in hydroponics style places, and since everything had been contaminated, it was merely a matter of time before humans themselves were annihilated by the mutations. The pokemon could vocalize much better as well, some of them could even partially talk. As for the graphics, the pokemon looked no better than they did in the Pokemon gamecube games, except they were shaded and had some slightly shinier details (eyes, decorations were higher res, skin sometimes had bumpmappy textures) but people and the buildings were MGS4 quality or better, which was pretty nice to keep a strong mental barrier from the fantasy monsters and the reality of the situation.

Ever notice those vorish food slogans? Ergo, wheat thins: "Feels good, Tastes good" though, I guess that isn't really a fair comparison since it is comparing apples to apples. Oh well.

Interesting note, today, at walkmart, I was getting some wasp spray for a nest I found as big as my head (amazing, I almost feel bad for killing them... NOT) and I was thinking, maybe terrorism would be fun today... go to lawn and garden, grab a can of wasp spray, douse all the food... before I was jailed, I bet I'd at least kill some children, and if nobody noticed, I'd kill a lot of people. How much fun!