[Visgame-develop] Lets start coding.
Status: Inactive
Brought to you by:
cip2
|
From: <vis...@li...> - 2005-02-05 02:52:33
|
Hello Developers this is your Project Admin Joe "Cip2" here. Cheesy lines...love 'em, hate 'em. TOC (Table of Contents) |Old topics --MS Script Control vs. Our Own Script Control |New topics --Note to C++ programmer(s) --The new plain What will you do? Old topics to cover: MS Script Control vs. Our Own Script Control I have been looking at other projects that use the MS Script control and they all seem fine. So I think it is safe to say that we will be using the MS Script Control and not writing our own, thats a load off the work. A note to the C++ programmer(s): We will be taking it slow for now and because of it I don't see any C++ coding in the near further. Please stay with us as we move at a slower speed. If you need/want to go to another then do so, I'll e-mail you when the time comes. I don't see anyway around creating a C++ resource manager for the compiler to work, I also think the compiler will be mostly done in C++. But that is down the road, as they say. The new plain: Well, I have been talking with one of the Admins from a game development software. Together we think we should taking smaller steps so I am going to list what we need to do here. Summary We are going to build a 2D VBScript driven game engine. After which we will test it over and over trying to do many things. Doing so will help us understand more of the workings of a game. We start out simple and build on that until we have a vary powerful tool set, then we add more and repeat. What needs to be done (Over view) 1) A 2D Image class with a set of basic properties. 2) A Script Engine able to Load and Run a vb script file. 3) Game Engine to control all aspects of the games "in sides." 4) A window (form) to display the game. The Core The "VGPlayer" will be command line driven for now, one vbscript file's path and name will be passed to the project, then the VBPlayer will run a public sub called Main. The VGPlayer will send any input from the Keyboard to the script. (by the forms keydown and keyup events) What needs to be done in detail: 1) The 2D Image class will be derived from one underlining class called cDXImage. The DXImage will load, draw, and return some useful information about the Image. The 2D Image Class cGame_Image will use the cDXImage to load, draw, and return some basic information. On top of that, the cGame_Image will keep track of it's current position, rotation, and other information. 2) The cScript_engine must control the script, load it, and run it. Also be able to pass along the values from the keyboard input and stop the script when desired. 3) The cGame_Engine will consist of one Script Engine and a collection of cGameImage. This will be the core in a way. The Game engine will be able to pass the value from the input into the script engine. It will also be able to stop the script from running when desired. In affect, encapsulating the Script Engines main ability's. 4) The Form (Window) will be blank. The form is here for nothing more the a display. What will you do?: Please reply with what you are going to do. Use the CVS to keep the code, this will fall in the CORE directory under unstable, of the VisGame CVS. Admin Cip2, I will do the DirectX (DX) part of the Graphics, they will be bare bones for the simple reason to be simple. As need increases for more properties, methods, so on and so forth, this base graphics object will be able to be expanded. I will get the DX to display the DX images. To clearly state what I'm saying. I will do the DX work on the cDXImage. I will not work on anything else unless no one else has claimed it by the time I'm done with what I'm doing (stated above). |