27/10/2009

...done organizing?

At last, I'm done commenting all the code I've written... I'm only missing a last part regarding the battle system, but that is because it's roughly incomplete and probably due to changes soon, so I'll avoid commenting/explaining that since it will change soon.

Today I, also, was busy with installing and trying out the new Beta 2 for Visual Studio 2010. Too bad it doesn't support XNA GS yet, so I cannot make use of it for Harmonia Warders... well, VS 2008 is awesome already, so no loss.

Now it's time to tackle again on the battle system, I have to get this done, it's dragging me down so fast that I almost have no energies for anything else...

and still need artists. I hope someone *looks up* sends me an angel to help and draw all my images, but that won't work I bet, don't know just why though...

26/10/2009

Organizing the style, boring...

Hello everyone,

Today felt the urge to just re-read the whole code I've written so far and... I have to say I'm impressed with the amount of work I've pulled out and I still have to do, it's really huge. Some parts of codes to me seemed obscure and not really clear, even though I was the one that wrote them... and that is understandable since I had not touched them for a couple of months, especially the ones around the TileEngine (which, as I said, I took from Nick and slightly modified).

That is the main reason why I realized I do have to keep my code clean and well commented, to save troubles later on, when I have to come back to what I've already written and change/polish/optimize it, it really bothers me when something is unclear and entangled, spaghetti code is a bad thing and generally leads to bug and glitches, which I'd rather not have in the final product.

Exploiting the awesome feature of Visual Studio 2008, I've just started adding comments and a small documentation on my code, for every line of code, member, method, class, whatever... It is a very boring task but, in the end, it is very rewarding because the end-product seems really professional and it is easier to be modified and re-used for later projects as well... and who knows, I may also leak it around the intertubes for people to use it on their own projects... as long as it appears good, working and clean enough.

So far I'm not even at a quarter of the way done, so I'll keep on going and commenting everything I have to, while sipping a nice cup of fruity tea and watching my awesome Opeth DVD on the Xbox360 in the background. It's very mellow and relaxing, the perfect mood to get a nice job done.

Everything will probably be done tonight or tomorrow night at most, then I'm back to coding... That battle engine won't get completed on its own (yet... hehe)!

Cheers! ~Morgy

18/10/2009

New rush kicking in

Welcome back Morgy!

Thanks Morgy, I'm back!

Yeah, that's it, I'm finally back on this project. Since university kicked in (*ahem*Aion*ahem*) I didn't have much time to program and I felt kept out of my own project. I found it harder and harder to go back to it, but I promised to myself I had to complete this, especially if I want to even try to participate in next year's DreamBuildPlay (if there is one). That (and a lot of boredom today) is why I finally managed to get my head focused on this and read back to pages of code I wrote and now I'm back kicking, programming the game once again.

Today I improved my battle screen management, adding a BattleSkillList screen for the skill selection. I don't like "hard-coding" everything since I want to keep my classes as flexible as I can, however I had reached a real dead end with this BattleScreen stuff. I had to resort to have one screen of each action type (skill, attack, enemy select, item, etc etc) coded slightly different from the others if I wanted to keep going with this. Probably there was a better solution, but as long as I can get this to work and I don't drawn entangled into my own lines of code, it should be ok. In later versions I may try to revisit it all once again and make it better, but so far it seems to be working.

The real problem now is that I can't do any real testing yet, since I need to plan skills, animations and battles and I'm not in the condition for that (need editors, designers and all that stuff, which I'll be looking for when the basic engine is complete). If you feel like helping me out, with any kind of character art, skill art style and stuff, just feel free to mail me , I'll be glad to include them in the game if I find them appropriate. Any help is well-welcomed.