Under a ShadowyTree

Stop working on graphics,start working on gameplay!
146 comments
102 entries
Advertisement
Black Knight
May 11, 2009
New release with dungeons
This new release contains the first dungeon of the game.There is also a new quest linked with the dungeon at the end.The dungeon is located north east of the starting town,you can just go directly there but the mobs inside are tough so be careful :)
Also Marius Grafe has animated the goblin model,th…
621 views
Black Knight
May 06, 2009
Dungeons&Dragons... Ok no dragons.
I have added dungeons to Dark Age today.I will try to explain how I did it and post some screenshots here.I made it all in one day so I'm sure there are still lots of tweaks to do and bugs to fix but hey it works [smile].

In Dark Age I have a Map class which contains entities(std::vector m_Entities…
678 views
Black Knight
April 27, 2009
I can haz render
This post is not about programming or game development.It is about what I do at work. As you probably don't know :) I work as an architect.I mostly work on architectural visualizations of projects and they are usually outside views of buildings. Modelling and rendering the exterior of buildings are…
991 views
Black Knight
April 23, 2009
Dark Age Version 0.4.758
Here is the download link :
Download

The Changelog :
Change Log

ScreenShot :



I think I'm going to work on skills next,the skills will be used like diablo from short cut keys and they will upgraded with skill points.I don't know if I should add trainers to learn new skills or just start with all the s…
630 views
Black Knight
April 19, 2009
New HDD
I have entered the world of terabytes [wow]
Just bought a 1TB samsung harddrive I haven't installed it yet but i will in 50 mins or so.At the moment I have 2x160gb harddrives one is a SATA the other one is and old IDE drive filled with MP3s music games etc. I am copying everything to an external 160…
546 views
Black Knight
April 15, 2009
Win32 Input Pain
After wondering for hours on how to make my input code better I gave up and went for something simple.At first I tried to support both lower case and upper case letters but I couldn't find a good way to do it so I gave up.

At the moment I am handling only WM_CHAR,WM_KEYDOWN and WM_KEYUP for keyboard…
657 views
Black Knight
April 14, 2009
Found the culprit
I was busy trying to find the bug that was causing some people to crash in Dark Age.I finally managed to find it in my user interface code.I did fix a few of those but this one was harder to find.I will try to explain the problem.

When the player clicks a merchant a panel on the left side of the win…
751 views
Black Knight
April 04, 2009
Time does not exist
I don't believe that time exists for a long time.This article explains it pretty good I think.

linky

I think it makes perfect sense what do you think?
It's just like in the movie matrix(second film i guess) where the computers compute all the possibilities of what Neo might say or do and react accordi…
804 views
Black Knight
March 22, 2009
Playing games
Lately I have been playing Drakensang and I must say it pretty good so far.It is based on a pen&paper rpg from Germany.The gameplay is like baldurs gate or neverwinter nights.The game itself is pretty bug free and enjoyable.Currently I have a party of four 3 hot women(1 warrior 1 amazon and 1 c…
557 views
Black Knight
March 20, 2009
IELTS results
YOUR RESULT
Candidate Number 003908
Listening 8.5 / 9.0
Reading 8.5 / 9.0
Writing 7.5 / 9.0
Speaking 8 / 9.0
Overall Band 8 / 9.0

Not bad I think [grin]


I also uploaded the new release of Dark Age
Here is the link Dark Age

The most imporntant thing in this release is the shadow.I started experimenting wi…
711 views
Black Knight
March 18, 2009
My first lua script
Everthing has a small beginning right?


function add(first, second)
print "Hi there.I am from Lua."
return first + second
end




And here is the c++ program that uses it :




#include
extern "C"
{

#include
#include
#include

}

#include



int main()
{
// Create a new lua state
lua_State *myLuaState = lua_open();

/* …
618 views
Black Knight
March 17, 2009
Shadows done time for Lua+LuaBind
I am done with shadows.I managed to remove the artifacts and increased the size of the shadow map to 2048.I am checking the device caps if maxTextureWidth and maxTextureHeight supports 2048 if not I set the shadow map size to the biggest texture possible.
I was using 512x512 shadow map and it was ge…
836 views
Black Knight
March 13, 2009
Shadow Map Problem
I hacked together shadowmapping with the help of the sample from the D3D SDK.
Currently I have a spot light as the sun which looks at the player so everything around the player has shadows.

But there are problems in the distance I don't know why I have those artifacts maybe its because of the shadow …
498 views
Black Knight
March 12, 2009
How to draw to window while resizing.
I was trying to fix my window resizing in windowed mode when I found this out.
I have seen some posts over the internet from people who are trying to do it and failed but I guess I found out how.
What I am talking about is when you are sizing a win32 window from any edge or corner the D3D rendering i…
864 views
Black Knight
March 08, 2009
Dark Age v0.4.603
I added a new version to my site but I couldn't manage to add it to the GD showcase.I waited for a very long time but it never ended my upload speed is crappy but I was able to upload it to my website with a FTP program.
Anyway here is the link :

here

The changelog :
-Version 0.4.603-
-Target Level and…
511 views
Black Knight
March 07, 2009
Out of IELTS
Well this morning I entered IELTS and I think I did pretty good.The listening part was easier than I thought and I only missed one question.It was a multiple choice one and I picked an answer randomly [smile]

Reading was even easier.There were about 3-4 passages each increasing in difficulty.The las…
946 views
Black Knight
March 04, 2009
Changed item system
I was storing items under the world class in a std::map and then storing the items of the units under the unit class too.

When saving the map all the items of the NPCs and the player was getting saved to disk too.This was causing a trouble for example when I changed the stats of a weapon it wasn't g…
920 views
Black Knight
March 01, 2009
Did some work on the map
Now that I have bridges working I decided to work on the map.
I created two rivers and placed the bridges and then connected the village to the bridges with paths.
I also removed all the random lakes that were formed because of the sea level.
Here is how the starting map looks now.I have increased the…
526 views
Black Knight
February 28, 2009
Bridges
I wasn't feeling like doing anything today.It was one of those days when you get so bored that you don't even want to get out of bed but you do because you have to.
Anyway late at night I was playing with my world editor and saw a bridge model.I created some rivers on the map and placed the bridge o…
601 views
Black Knight
February 27, 2009
Handy function
I found this somewhere on the web.It finds oldStr in source and replaces it with newStr.I'm using it to replace tags in my quest texts.

inline std::string& ReplaceIn(std::string& source, const std::string& oldStr,const std::string& newStr)
{
assert(!oldStr.empty());
size_t b = 0;
641 views
Black Knight
February 25, 2009
Save/Load...
I managed to implemented everything in my previous post.I need to do more testing to make it error-free then I'll work on more gameplay elements.New quests etc.

While working on save games I needed to get the file names in a directory.First I created a text file to hold the names of file names in th…
397 views
Black Knight
February 19, 2009
Working on save games
I am having some hard time with save games.In the beginning everything was easy because I was storing the player inside the map and I was thinking of making the whole game take place on a single map.So basically a save game meant only saving the state of the player and the state of this map.There i…
383 views
Black Knight
February 17, 2009
Working on house models
I stopped coding for a while to work on building models.
Their textures were off and some of them had size problems I'm correcting them all.There will be six different houses plus other buildings like lumber mills blacksmiths etc.
Here are shots from the editor :









Programmer art for the win!!
344 views
Black Knight
February 16, 2009
Quests and Trading
I have uploaded the latest version to my site here is the link:

Here

You can test out the quests and trading.There are 4 quests at the moment and they have prerequisites like level and other quests.

Here is the change log :

-Version 0.4.466-
-Quests can be completed in the game.Quest rewards,minimum qu…
342 views
Black Knight
February 13, 2009
I have completed a quest :)
For the first time I have completed a quest in Dark Age :) In fact I have completed four.I created four quests in the world editor then I added all these quests to a NPC.I also added support for minimum level requirments and quest prerequisites.In the beginning you can only see one quest from this …
480 views
Black Knight
February 10, 2009
Current Status of Quests
Here is the quest.h



#ifndef INC_QUEST_H
#define INC_QUEST_H

#include


namespace QuestTypes
{
enum types
{
KILL_X_Y_TIMES,
TALK_WITH_X,
GIVE_X_TO_Y,
QUEST_TYPE_COUNT
};
};

class Quest
{
public:
Quest(unsigned int id,
unsigned int type,
const std::string& name,
const std::string& startTex…
303 views
Black Knight
February 08, 2009
Time flies
Today while I was browsing through old directories I came upon very old screenshots of my project.They were taken back in 2001-2002 when I first started writing the map editor.
I was learning how to texture quads, use multiple textures draw wireframe in OpenGL etc.I was also learning win32 and I did…
290 views
Black Knight
February 05, 2009
Trading done,need to think on quests
Yesterday I managed to complete trading.When you are close enough to a trader npc right-clicking him will bring up the inventories of you and the trader.
By right clicking on your items you can now sell them,normally right-clicking equips,unequips or uses an item.Left clicking on a trader item buys …
279 views
Black Knight
February 03, 2009
Items
I already have items implemented but currently only the player has items.The player and the NPCs on the map both use the same class called Unit.This class has a member class called Inventory.When a method is called that adds an item to a unit the inventory class is created and the item is added to …
421 views
Black Knight
January 30, 2009
Dark Age v0.4.358 Released ^^
Finally another release.
This one changed alot of stuff the most important one being the change from strategy to rpg.
In this release you can grab items from the ground,equip them and place them in your inventory,kill goblins (or get killed) earn gold and experience,level up,distribute skill points t…
284 views
Advertisement

Popular Blogs

shawnhar
Generalist
101 Entries
10 Followers
15 Entries
11 Followers
johnhattan
Programmer
1,277 Entries
48 Followers
ApochPiQ
Generalist
628 Entries
44 Followers
dgreen02
Generalist
338 Entries
56 Followers
Advertisement