Archived

This topic is now archived and is closed to further replies.

jiajia123

what is a framework...wat so special?

Recommended Posts

now currently doing a project and suppose to produce a framework using components of directX which can be used to create a game read thru the book "Game Programming Using DirectX" saw a few post on gurus having code their own frameworks a few questions? 1. how does these frameworks differ from the original directX code, i mean what purpose does it serve? 2. any good website or source for mi to read and learn? 3. how can one make a framework really original...i mean i thought of explaining in this manner... DirectX is like a an engine that can create alphabets A, B ....Z but the framework allows us to form words such as BUS....ACT..ie framework can be even bettered by allowing formation of even longer words...etc.. can i explain it this way? 4. any other books to recommend? thanks a million...

Share this post


Link to post
Share on other sites
hiya jiajia

a framework is a design pattern, basically, it helps you create or initialize your app much quicker. For example, in dx, you have to set up a callback function to handle the messages, a window, initialize dx etc.., all those stuffs which are almost the same across different games, this way, they provided you a framework so you could get start quicker on your game.

a framework can also hide you from the myriad details on how you must initialize everything before your app gets on the screen like the symbian os(for mobile devices), this way, if you used their framework, you can concentrate more on your program rather than initializing stuffs,

try www.andypike.com,

for books, try the books section here,

Share this post


Link to post
Share on other sites
is a valid and reasonable project target to aim to produce a framework and a simple demo game within a month...or more time is needed?

a friend told mi for a experienced programmer..perhaps 2 weeks is enough...and it is not easy to justify that the framework is yours cause many people have already done...

have experience in C++, Java

have also read up a bit on Windows Programming and DirectX

i mean...is it easy to convince others that this is a true solo effort and not done by someone else?

Share this post


Link to post
Share on other sites
well, it really depends on your skills, how knowledgeable, good etc., are you..

it also depends ''how large'' you want your framework be or what things your frameworks can do for the programmer if ever hes going to use it,

and yeah you can do a framework within 2 weeks, it really depends on the ''contents'' and your skills..,

Share this post


Link to post
Share on other sites
quote:
Original post by jiajia123
i mean...is it easy to convince others that this is a true solo effort and not done by someone else?



Well... if you could prove you know your way around the source code and can easily add/remove/change things, you could convince most people that its your own stuff.

Share this post


Link to post
Share on other sites
another question..

i have read thru some DirectX codings and Window programming stuff.. but to say create a frame work as a project...How do i start? any tips...

read thru Jim Adams...Game Prog with DirectX

will want to create a framework with components:
1. System (for initiazation and creating a window)
2. Input (DirectInput)
3. Graphics (OpenGL)
4. network (DirectPlay)
5. sound (Direct Audio)

can i create each separately and test it before goin on to another...better and more systematic rite?..problem is i dun know where to begin..in wat order...and worried that too much time will be spend on each part..

will want to create a simple demo game at the end...after creating such a framework....will coming up with a simple game be easy.....most prob 2D to be simpler..

Share this post


Link to post
Share on other sites
Note: This forum has a no-cross-posting policy. Please do not cross post!

Do not meddle in the affairs of moderators, for they are subtle and quick to anger.


ANDREW RUSSELL STUDIOS
Cool Links :: [ GD | TG | MS | NeHe | PA | SA | M&S | TA | LiT | H*R ]
Got Clue? :: [ Start Here! | Google | MSDN | GameDev.net Reference | OGL v D3D | File Formats | Asking Questions | Go FAQ yourself ]

Share this post


Link to post
Share on other sites