Archive for July, 2009

30
Jul
09

Dialogue!

Took some time off from the project, what with the exams and other personal life issues, but I just now finalised the dialogue system. No longer is the dialogue triggered by simply pressing the T key, you can now actually talk to NPC’s. Each NPC can be given a vector of ‘dialogue lines’; who should say the particular line, what should he say, and with what type of border. When talking to an NPC, the player’s movement is blocked, as well as the NPC’s, and the dialoguemanager starts listening to the keyboard. Movement is restored once the dialogue has ended, but everything in the background never stops doing what they did when the conversation began. Took me a while to figure that out, hehe.

And, as promised, a video; quality seems to be lacking a lot, probably due to the xvid compression. I’m still new to these things, so be sure to try the HQ option :)

EDIT: Great, for me the video won’t work. If you have the same problem, simply view it here: http://www.youtube.com/watch?v=5A7K9A64gsA

Tony

26
Jul
09

Still alive!

Hey there people :)

Been working in my sister’s new place, so no real progress so far. The little time I did have, I used to document the code some more; a lot of it is obsolete, or not even there yet (yes, I am ashamed of it :P ). The external scripting is proving to be harder than I would have thought, but I will get it in; I have little choice in the matter. If all else fails, I’ll design my own interpreter… but I’d rather not :)

Tony

22
Jul
09

Microsoft… how I loathe thee…

Sigh. I have been using Dev-C++ for years now, and it has served me well. However, there’s more than enough wrong with it… among which the fact that it has not been updated for several years, and that examples, external libraries and the like are never, ever aimed at this IDE. I’ve coped with the fact that I had to convert said examples myself… but no more. To get work started on the script engine, I’ll finally do what I should have done a long time ago; drop dev-c++ for something better.

Being the choice for the large majority of programmers out there, Microsoft’s Visual C++ Express Edition sounded like a good choice. But no matter what I do, no matter which settings, no matter how small the project is; I cannot seem to get it going to my liking. I’ve built JSON_Spirit, which is a very lightweight JSON parser, into a library- 70 MB when done by MSVC!! It did 15 minutes over the graphics section of my project alone, after which I cancelled it well before it was done, it actually deletes files from the HDD rather than the project if you’re not careful… It must be my, and my hate for MS… but it’s smiply not for me.

And then there was CodeBlocks. I had heard from it in the past as a good alternative for MSVC, and man, were they right. Straight off the bat, I can import my dev-c++ project, alter no more than 10 lines of code, and the damn thing runs like a charm. Fast, clear as daylight, supporting more than one project in the workspace- I have a feeling I’m beginning to like this IDE already :)

21
Jul
09

Video time!

A picture can say more than a thousand words, this is common knowledge. A video, however, will do more justice to the project than a thousand screenshots could :)

Lufia 0.0.1.0

This is the first video I uploaded. It shows the main protagonist, some people following him around, the basics of the tilebased map engine, the sound working, a moving camera, and collision. Not much, but not bad for a first sight :)

Lufia 0.0.2.0

Part two actually features my way-too-Dutch voice, my apologies :D Here, I’ve implemented NPC-collision; no longer can you walk through objects that should be solid. You can see the various layers, the (now bugged) arrow, chain reactions, and the beginnings of the text engine.

More to come, I promise! :)




July 2009
M T W T F S S
« May   Aug »
 12345
6789101112
13141516171819
20212223242526
2728293031  

Follow

Get every new post delivered to your Inbox.