Archive for the ‘code’ Category

RPG Quest system – Fun in so many ways!

I have made good progress with the project. Item saving now works well, and I managed to create a quest system in a very short time. Here is how it works:

Read the rest of this entry »

No more heroes (with missing weapons)

Yes!
I got the saving and retrieving inventory items to work finally! Hooray! There are some tidying up still to be done, but in practice I now can trust the system to work well.

Read the rest of this entry »

Dude, where is my sword?

I managed to make saving items work.  Now when you pick up an item, a sword for example, from ground, and then go away from the area (or quit playing even) and come back, there is no more that itemon the ground. Well, I can hear you sneering… “of cource there is no item anymore, [...]

Read the rest of this entry »

You press i and the inventory opens

You press i and the inventory opens. This is one of those wonderful Written in Stone things in computer rpg’s.  Inventory is good, its filled with tiny pretty items that will help you go on and conquer the world in front of you. And it’s so simple to use! You just click an item in [...]

Read the rest of this entry »

Alpha release nearing…

I have been crashing bugs and cleaning up stuff so I could release first sneak peak version of the game engine. There is still some work to do, but hopefully I get the thing out next week.

Read the rest of this entry »

Fire

I did some preliminary spell coding.  For fire effect, I found an exellent example in depths of web, in Mike T. Henderson Blog. I converted the example to as3, did some integrating to the engine, and result looks quite good. 

Read the rest of this entry »

More Loot!

I have been on summer vacation, and travelling, so i haven’t had much time to code. But now I’m back =)
I’ve been working on area loading and saving. Saving is not complete yet,  but I probably get it ready quite soon. All collectibles (items that can be picket to inventory) and npc’s will be saved, [...]

Read the rest of this entry »

Open sesame

Well, sometimes the code just writes itself, nearly. I have made good progress, and now all collectibles (potions, etc), npc’s and containers (like chests) all come from area data, which can easily be manipulated, and will be easy to create from editor mode of the game also.
There is is also basic alertbox that can be [...]

Read the rest of this entry »

AS3 Depth sorting made easy

The plot thickens and you find yourself in a dense forest and pack of wolves surrond you…
And if you are a neophyte Flash coder you are in middle of depth sorting nightmare. How does one make wolves and trees look correct so that when a wolf moves behind a tree, it disappears, and when a [...]

Read the rest of this entry »