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:
The next one is you are going to implement the SDL and UI right...that means we should be able to load the graphics aswell right..?


Yup. Once we finish the SDL and UI wrappers we can start making the game specific components of the engine. By this I mean each of our contexts which compose our main game screens.

Quote:
ick, the basecode for this is a pain, I dunno what state 11v11atrix is at, but I'm gonna start busting out wxWindows on this thing, and see where I get to, his basecode is all totally windows centric :(


lol, I was affraid of that. Perhaps we could move all of our ui specific code onto the console? The systems that should be moved are the display error subsystem and the loading dialog. We should be able to accomplish both using text. This way all of our code should be cross platform except for our timing code and our disk access code. We should be able to use SDL to do both. Is there anything else we should change?

Cheers,
- llvllatrix
llvllatrix.. I believe you almost done with the SDL wrapping right.. :)
I think the only left is to load the graphic, moving the pieces and menu..
Do we need to use the same method to load the graphics? and how about moving the pieces... array is required right...?

[Edited by - da_grat1 on March 13, 2005 10:00:34 PM]
Advertisement
after I go throught the lastest code.. I figure out that most of the codes have been modified..

I don't think I can use you the same method to load the graphics.. :) ...
yo llvalltrix.... any progress...
Yup; I have an sdl window up. We should be able to get rid of the gl basecode soon and start working on our own.
that means, you are going to upload the latest source code soon... then the next tutorial will be the graphics... :)
llvllatrix... Will it take to long to load the graphics? Are we going to use mouse pick drag the pieces.. maybe I've been asking this many times.. :P ..I just want to know the details... I think mouse dragging is the most difficult part... I wonder when are we going to start doing it..I am very curious...
How is your SDL window...? :)
Advertisement
Quote:
llvllatrix... Will it take to long to load the graphics? Are we going to use mouse pick drag the pieces.. maybe I've been asking this many times.. :P ..I just want to know the details... I think mouse dragging is the most difficult part... I wonder when are we going to start doing it..I am very curious...
How is your SDL window...? :)


Hey,

I've been thinking about the input mechanism. There are a few things we could do. Unfortunately, my development pc is almost dead. I've had parts ordered for it and they should be here within the week. In the mean time I can use another machine to basically work out the final design of the game in documentation.

In professional game development companies the ui teams usually write a bunch of docs on standards ect while the programmers are busy laying out the bottom layers of the game. Standards describe how the ui will look, how it will behave if you click cancel and other details. Since we're acting as the entire dev team we also have to go through this process if we want our game to have a consistent feel.

Some of the things i'll be discussing are things like what options are first cut will support (none actually). What ui components will be supported in the main hud. The options that are avaliable through the submenu. I'm thinking of foregoing the console for the time being. Is that ok with everyone?

Cheers,
- llvllatrix
Quote: I'm thinking of foregoing the console for the time being. Is that ok with everyone?


But we have been in the console for most of the time.. at least we do something else like dragging the pieces.. that is what I really want to learn :)
Quote:
But we have been in the console for most of the time.. at least we do something else like dragging the pieces.. that is what I really want to learn :)


lol, sry i should have been more clear. By console I mean a console like the one in Counter Strike. Its basically like a command prompt in the game that will let you call functions in the game for testing. I personally dont think its important for a game this size.

We'll be sticking to a basic 3d chess game where u can click and drag to move pieces.

Ceers,
- llvllatrix
Quote: By console I mean a console like the one in Counter Strike

wow, that's great, I remember last time I used to play counter strike with my friends in college.. we used to go to the cyber cafe when we are having stress and go kill people..I mean play counter strike... lol.. :)

Quote: We'll be sticking to a basic 3d chess game where u can click and drag to move pieces.


Really, :) thanks... I have been waiting for that for a long time... Now I finally have the chance to learn that.. so where should we start.. do we need to put all the pieces into array..
I too excited right now.. :)

This topic is closed to new replies.

Advertisement