Advertisement

How to program a chess: a forum based tutorial

Started by December 23, 2004 11:09 PM
276 comments, last by da_grat1 19 years, 8 months ago
Quote: Should have the code out tomorrow along with the beginnings of the second layer of the resource manager, and a font loading subsystem.


how many layers all together?
The layers of our resource manager are fairly informal. My estimate is about 3:

- layer 1: loading classes (we've pretty much finished these)
- layer 2: class abstraction functions (what i'm working on right now - basically a system that manages the classes for our resources, nothing big)

- layer 3: resource automation (we take the basic class abstraction functions and do things with them like animating a piece moving up and down)

I'm thinking of isolating layer 3 from the rest of the resource manager because its more about using resources than managing them. I was originally tempted to build this layer straight into our game context, but I thought we could use it in other places. For example, we could have a prescripted animation using these routines playing behind the game's main menu.

Will post later,
- llvllatrix
Advertisement
Quote: I was originally tempted to build this layer straight into our game context, but I thought we could use it in other places. For example, we could have a prescripted animation using these routines playing behind the game's main menu.


That is a good idea... but the more things we add the longer it takes to complete the tutorial T.T


I don't think you'll get _this_ sort of knowledge in one place ;)

Above anything else, I think the addition of the context manager is a really good way to do things; I've never thought about managing a game's different states in this fashion.
Quote:
That is a good idea... but the more things we add the longer it takes to complete the tutorial T.T


well...think of it as making the tools to do a job we are going to have to do anyway. Hopefully, with any luck, it will make our job a lot easier.

Quote:
I've never thought about managing a game's different states in this fashion.


My favorite quote from star trek goes something to the effect of:

"...that is what exploration is about, not the charting of distant star systems but experiencing the many different possibilities of existence..."

I've very impressed with how our ui code has worked out...very professional...

More to come,
- llvllatrix
Hey guys,

Anyone up for a game?



lol, jk. Its just a pretty picture...no interaction yet... :)

Here's the new source:
http://www.eng.uwaterloo.ca/~rramraj/Gamedev/chess_tutorial/src_tree/chess_src.zip

Will post later,
- llvllatrix
Advertisement
Very nice design... I thought I could start playing the game already :)
Hey guys,

Heres a heads up of what is to come for the next week. We'll basically be finishing off the bottom layers of our engine, which consists of:

- our lighting resource
- window creation via Win32's WGL and OpenGL
- input via SDL

Once our bottom layer is done, we can start on the actual game :)

Will post later,
- llvllatrix
Quote: Once our bottom layer is done, we can start on the actual game :)


Do you can start playinh the game?

that means after we finish these 3:
- lighting resource
- window creation via Win32's WGL and OpenGL
- input via SDL

we will go to our final tutorial.. Do you think, It will take one week to complete the actual game.... I hope we can finish it within this month, because I may have many questions to ask :P
Hey guys,

Just posting to say that this thread is still alive. I'm still working on the input and window creation code. As a bonus for this weekend I'll also toss in the completed ui controls.

Will post later,
- llvllatrix

This topic is closed to new replies.

Advertisement