Tuesday, April 29, 2008

Green light when on.

Hey, I got money!

Even so much money that I was able to by GTA IV today, AND a 360 controler for my PC, AND enougth for my first 'perfection drive' tomorrow (that got something to do with the austrian driving licent stuff ...).

And that is not enought! ... I'll probable another bunch of money on May the first (I'll meet all my other related).


About GTA IV:
I just had played 2 hours, because my mom wanted her HDTV back, but I have to say that I probalby one of the realistic games I've ever have player, I can't say if it is the best game ever, but at least a great game.
Endorphin ROCKS!!!!!!!

About 360 Controler:
I only spend around 30mins with it yet, but I alread applayed the first stuff like throttle and sensitive waepon controls (as harder you press the trigger, as faster you shoot), but as long I don't stumble over GTA IV, the internet, or something different, I'll spend more time with it tomorrow.

About my Pants:
Slowly ... S L O W L Y ... the sommer is comming, and I'm one of the first people who took their short pants and shirst out of the locked and stared wearing them. ... I like the fresh feeling, and fortunatyl I got the legs to wear such clothes, but they also remind me that I don't got the skin typ that gets that easy tan ... :(
... its the 'Geek' skin typ. Not as white as the 'Nerd' skin typ, but also no 'Normal' skin tone.


So Long, and I even wear them when its reaning :P


Greg the Mad

Sunday, April 27, 2008

19!

Today is my 19th birthday! Woot!

I never was that guy that celabreated such days with all my friends, alkohol, partys, etc
Probalby because I don't got enought friends to fill a room, and that is because I don't drink any alkohol (never), even if I got to a party/pub/disco which happens around 2 times is a year.

Woot 1 year closer to death!

But even if I'm one of those broing, not drinking, driver geeks, I still wanted to do at least something yesterday night. But the friend that wanted to go with me into a disco, and probably also wanted to force my to drink a beer, suddenly feared that I could be the only one he knew in that disco and so he stayed home ...
I feard too that I could be the only one I knew in that disco, so I too stayed at home.

... But I'm not supriced about that, he always stays at home when I want to go away ... capullo!


(yes, I searched some spanish cuss words in my online dictionary ;) )



And now about something happy :D
I did not write the force from absolut to relative code, that I need for my physics, as I was entertaimed the last few days:
SMA test, VKM test, Engish presentation (I got a +B, because I've spoken too fast, one even sayed that I speack like a english man! Woot!)

And I finaly don't to pay back anymore, and 200€ on my balance! ... - 60€ for GTA 4, - 50€ for a 360 controler for my PC (and the game development).

And the other 90€ ... I played with the thought to buy a instrument, and finlay start playing one (I wistle the whole day melodys, only because I can't play one), but I don't think that I'll get one for that much, so it will stay on my balance. :)


So Long


Gre the Mad

Thursday, April 24, 2008

Control

I just have writen a the second way of controling my space ship.

The first was the engine controls, accelorate, deccelorate forward.

And now the sceond way are the jets.


If you ever have seen a Star Wars movie or any other SciFi thing, you may have noticed that there are always little jets of gas when they land a space ship. I took that idea of little jets all around the ship and created so the 'Emergency Control Jets'!


The idea behind that is, that even if your ship is hit by a EMP bolt, you still got at least weak jets to turn and accelorate/deccelorate your ship, very usefull if you're hit while you try to land on a planet (see => Serenity). This is possible because the jets, or valves, a connected to the cockpit via several lines, and got tornister filled with enougth gas presure to lift the ship up for a few seconds with out any other energie.

As the presure tornistor get constantly refilled, if energie is avaliable, you also can use them for a perfect landing on a space station/planed. But keep in mind that, on planets, the forces, that the jets have to provide, are much heigher than in space, so even if you got a black hole reaktor in your ship, you might woun't got endless energy to hoverer longer than a few seconds.

Currently I control those jets with the Numberblock, but I already got some ideas how I can swich to those controls on a 360 controller. :)


The next thing would be the Mouse control unit, but once I got this thing done I'll focus on how to transfere a force from absolut (used for the acceloration) and relative (used to turn the ship) ... that'll get complicated ...


Gre the Mad

Tuesday, April 22, 2008

Turn, Scale, Move ... Rebuild!

I had a few little confusing moments in the last days.

For example is the Vector3.Forward value equal (0,0,-1). Minus?!? Its called 'Forward' but actually points into the negative direction?!?

Ok, that would not the a problem, you can live with it.

But what next?
The Blender Y-axis is not equal the XNA Y-axin, but ther to are some ways you can live with.

I have to scale a Blender model with 0.001 to get it more or less right into XNA, but the exproter got 0.01 as the smallest scale value.


It appears that my force physics, somehow, work now. It may turns the ship into the wrong direktion, but after I spend two days (!) in changing the ship model (because of that the title), it still don't work yet.

Fortunatly I build the TPS camera with such a great code that I only had to change two values and it looked into the same direction like the ship.

But its still not finished. I still don't put any great deal of time into the absolut force into relative force thing. For example did I just a few minutes ago discover that the forces I used where something beyond absolut and relative ...
Not to mention that I also changed the relative axis with the whole ship changing thing, so it may take a few minutes till I cleanded the code up ...

So long.


Greg the Mad

Saturday, April 19, 2008

Publishing

There is a new page online http://www.xnawiki.com/index.php?title=Main_Page

Its XNA Wiki!!!

That what makes it a special awsome to me is that it freatures a code I put on.!

Woot!

Its my old camera movement class, that lets you hover the camera free through space to watch the awsomeness you're programming ;)



Else ther is noting new, yet.

I didn't found any time for the physics yet, because a friend of mine decided to come to my home and play Halo 3 with me.

So Long


Greg the Mad

Wednesday, April 16, 2008

Progress?

As my ship started turning (spinning would probably be the right word) and moving based on the one force I apply at the rear, next to the planed exhaustfumes, I somehow feel good.

Good about where this is going. Just thing about how much stuff I'll be able to make once I got such basic physics?
Particles (good animated particles ;) ), ... objects that react physical correct, and ... a bunch of other stuff ...

.. Its just so basic to got a force and its effects ... *whiping a tear away* ... I'm so proud of my physic engine ... even if it dose not work right, even if I only use on force and no collition, but ... but ...



Anyway, no about something complet differnt:
I start to get scared. The end o thies years term comes closer, and I still got that subject where I'm in the red numbers, and if I don't start learning for test, that one I got tomorrow, ... Math, I don't got any problems with it, ... I programmed a own programm on my hand held calculator just to calculate the half of tomorrows test, so ...
... I'll have to start to lear, ... for those subject where I got bad grades, and the want to bee's ...

(In on subject I earned A, A, C, and now the teacher wants to tell me that I might get a E in the end WTF?)


So thats all for now. Its already later here, and I still want to go to bed, so long and thanks for reading.


Greg the Mad

Monday, April 14, 2008

Physics? Ship Control? Baby?

Hmmm ...

I'm done with the basic structure of the physics I'll use to control my ship. ... ok ... I have to admit that it was a work of 5 minutes, I did in a short break at school, ... but its a structure.

And so that what wondered me was that it pretty looks like physics I also could use for other, not controled, objects ...
I may would have to make some changes here and there, but it apears solid to me ...

The only thing why I didn't applayed the new code yet is that I somehow fear to loos the old one ... I'll have to make a back up of it, even if its nothing special on it, to be honest ... I even would say that the whole code is crap, ... but its my baby :(

I even will have to add a lot of new values, like the float that tell the code of strong my shields are and so how strong the effects of the controls are, not to mention the pill of stuff I'll have to do to make the jet controls (that a little jet, like you know from real spacecrafts, which a supposed to work even if your hit by EMP, and will make fun when you got gravity to fight with :D )

So there may will pass some time till I got jing and jang in perfect flow for this task, but once I got it I can applay it to the editor and got something ... yeah ... I actually don't know why I did stop working on the editor and made that ... but it will be done soon ... ?


Greg the Mad

Saturday, April 12, 2008

Forcing the ship to turn

Hey, it worked!

I now got a ship that turns in use of forces.

It might not be finished as I only turn the ship propably and not accelorate it with them ...

Hey ... while I was writing the last line I read the article on wikiperdia about torque (How the heck to pronounce that word?) and read there that a force dose accelorate a mass and rotates it if the force goes not straigt through the center of gravity ... GREAT!

All I need now is to get that some how into a system ... where I put the keys (AWSD) and the mouse position in and get the rotation out ... with pysics!!!

Now that I more or less got the basics, all I need it to draw a ground concept of it on paper, falt that paper, create a cigarett, smok it, use the ash as shampoo and I can create the control system for a space ship!!!

Why the fuck I want to make it with forces?
Easy! Not only that I so can make that shield stuff that I've talked of last post, but also that I'll get a realistic change in fly physics when I change the weigth and sice of the ship!

AWSOME!!!


Greg the Mad

Thursday, April 10, 2008

... and it made damage

Well I actually spend 20 mintues on this new physics thing yesterday ...

I stoped it because it ended up with my ship shooting through my little solarsystem.
Ther problem was not that I don't got any control about the physics, but because I ended up without any control over the forces. It was like my first trys of 3D motion.

The problem is that I don't got those anti momentum shield yet, that I've spocken of. All that they would make is to applay a force that would affect the actuall velocity so that its always pointing into the direction the ship looks. No problem, applay a force that rotates the ship and deliveres enought acceloration that also turns the actuall velocity vector.
But how dose a Force realy turn a object like a ship?

F = m * a

M = F * l

M = J * 'alpha'

J = ?

'alpha' is that what I need, but how dose I got J?
My ships are normaly not a easy shape so I could use the basic shapes J's for that ...
One way would be to easy take every object as a sphere and use J=2/5 m*r^2 ...
But somehow I would never be quite happy with it, but for now it have to be enougth ...

Also how dose I know how much a force dose rotate a object and how much it accelorates it? I don't got an answer on this one yet ...

And I made a misstake.
Its a habbit I dislike, but which can be handy from time to time. ... Somehow I don't got fear ... OK, I got fear from ... I can't think of anything yet, but I got it ... sometimes, as long its nothing like to code physics. What I mean is that did not prepare for that yesterday. Ther was no line I've drawn on paper before I started, and that is not good. You easyly loos track if you work like that ... and I'll have to change this!

And I'll start now with it ... today ... soon!
And make some basice logic for the physics!


Greg the Mad

Wednesday, April 9, 2008

A Apple hit my head ...

Last week I spend around 5 minutes in coding anything usefull, and even less in doing anything meaningfull, I think oyu can imagne how I feel now about the last week ...

And just on monday I've seen something that should change my code, and now is the moment I'll start with it!

I watched Serenity and found out that the system I used till now woun't work in futur. Till now I tolled the space ship where to be in the next frame, but that would get hard to tell, once I start to make stuff like landing on planets (shaking), or if one of two engines is brocken and the ship starts turning around all three axis ...

And so I plan to use some physics for that, easy stuff like F=m*a => a=F/m only to accelorate the ship and later a use a little method to change the resulting Vector based on the rotation of the ship. (I easyly could turn the velocity vector, but that would not fit to my planed design ;) ).

That would be the first step to create the final ship behav, with anti- external force shields, anti momentum shields, atmosspheric control trusters, multiple engines typs and all that stuff can be toggled on and off.
That would add a nice simulation touch to my game. I your ship is heading towards a enemy ship and you start shooting, but instead of stoping shooing and flying pass the ship, you just disable your anti momentum shield and the thrusters, so that you can turn your ship will you stay on your flypath, enabling you to continuo the shooting.

Its just a little detail and the player may woun't use it that often, ... but he can!

So enougth talk, I'll now grap my old prototype and try to applay that new system, wish me luck!


Greg the Mad

Saturday, April 5, 2008

Its getting better

My cold is getting better. I already was at school yesterday for a test, ... which was a mistake ...

It don't look that good if you sneeze and all that snot hangs out of your nose ...

Not to mention the amout of hankys I needed. I run out after the 6th lesson, fortunatly it was the last lesson and because of my high driving skill (which disables every kind of sneezing while I drive) I made it home in time to reach for the first hanky and make a big honk.

... This adventure persueded me to stay at home for the next day (today). Yes, I got school on saturdays, ... as long I don't got a cold.


Anyway. I finaly found out why I make all that stuff, no not the point of life, I figured that out years ago, no, but why I write this blog while it appears that I'm the onlyone who reads it.

Not only that I practise my english skills, but also because its great to get thougth, no matter what kind of thoughts, into a string. To focus them, got think about them, to make them better!

In the last post I've writen that I did nothing about my editor project, guess what I did just a few minutes after a I'vs clicked on 'PUBLISH POST', yep, I sat down and spend some hours in my project,
I'm may didn't added that great pile of code (because I still don't fell that well), but I did at least something! Thats all what it is about, ... the project, the editor and the game.

No, I don't mean that I only make it now to wast some time, but because I don't have to learn all that stuff now.
I found a public school in vienna, that got a field of study called: "Game Engineering and Simulation Technology'. Its a masters degree and so I'll have to make a bacelor before that, something like ... computer science.
So I got a way of finaly becoming a Game Designer, I realy can afford the money for! (ONLY: ~400€ à semester!).

But just think about it ... How cool It had to be in a interview to be able to say: "I got a degree in Mechanical Engineering, a Bacelor of Computer Science and a Master of Game Engineering and Simultaion Technology" ... I know that still woun't get me the job and stat I'll need stuff like my current project (port folio), good ideas, sympathy, evil madness powers, hamster like skills and luck to get a job, ... but ...
Man, ... that would be so cool!

All I need now is to finish my current school (D'OH!) and pass the accepance test. The test should be that hard and the school thing ... well ... we'll see :)


And yes, it look like not only my cold is getting better. :D


Greg the Mad

Thursday, April 3, 2008

Handkerchief Invaders

Not only that I was sick at the start of my holidays last month, I now got a nother cold again ... even worst ...

I'm actually not that guy that stays at home if he got a little cold, but this one stricked me down ... I've stayed at home for the last 3 days and have done nothing, apert form producing 3 paper bags full of used handkerchiefs (and more to come).


... I hate such kind of cold ... sometimes is takes me 3 handkerchiefs for one honk, and I don't want to go into the details now ...

I also have done nothing about the Mad-Ed, ... I actually didn't even opend the C# Express Edition ...

But ... if you didn't already noticed I spend 5 minutes in the html of my blog, changed some collors and scales, it may not be perfect yet, but ... I just like green. :)


Greg the Mad