473,490 Members | 2,495 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

my first 3D Multiplayer game using directplay (troubles with AppWizard's code)

Lt
Hello, I'm gonna write my first 3D multiplayer game using DirectPlay, VC++
..NET 2002. I've done tutorials supplied along with DXSDK Then I wanted to
use the DirectX AppWizard but it produced over 2300 lines of code! It's cool
to have prepared automatically all initializations but it's a little too
much. That's because I can't find any documentation on details HOW IT WORKS,
how I can integrate my own game code with this framework. In addition that
have prepared code to the Peer to Peer Game, and I need the Client-Server.
Should I maybe write my own simple DirectX code instead of using the
AppWizard? I've also read that there is no AppWizard in the VC++ 2003
because they found out that AppWizard isn't very helpfull to programmers.
Jul 22 '05 #1
5 3050
Lt wrote:
Hello, I'm gonna write my first 3D multiplayer game using DirectPlay, VC++
.NET 2002. I've done tutorials supplied along with DXSDK Then I wanted to
use the DirectX AppWizard but it produced over 2300 lines of code! It's cool to have prepared automatically all initializations but it's a little too
much. That's because I can't find any documentation on details HOW IT WORKS, how I can integrate my own game code with this framework. In addition that
have prepared code to the Peer to Peer Game, and I need the Client-Server.
Should I maybe write my own simple DirectX code instead of using the
AppWizard? I've also read that there is no AppWizard in the VC++ 2003
because they found out that AppWizard isn't very helpfull to programmers.


If you want to _design_ games, get Doom and one of its level editors.

If you want to write an engine from scratch, 2,300 lines of code is "hello
world". 3D code is an order of magnitude more complex than 2D code.

Running a wizard is never the same as learning to program.

To go forward, Google for any of the OpenGL and DirectX "game engines" that
folks have written and thrown up on the 'net. You will see that between
main() and a common first-person shooter, a game requires several megalines
of code and content. Modern game projects are as big as movies, with as many
people working on them. OpenGL and DirectX are the "assembly language" below
all their code. Most "game engines" available for free on the net are
attempts that bogged down in details.

Oh, and this newsgroup works best on questions about the C++ language
itself, not all the libraries it supports. They have their own forums, where
you'd get the best answers to go forward. Two game engines that succeeded
are CrystalSpace and ClanLib.

--
Phlip
http://industrialxp.org/community/bi...UserInterfaces
Jul 22 '05 #2
Lt wrote:
Hello, I'm gonna write my first 3D multiplayer game using DirectPlay, VC++
.NET 2002. I've done tutorials supplied along with DXSDK Then I wanted to
use the DirectX AppWizard but it produced over 2300 lines of code! It's cool
to have prepared automatically all initializations but it's a little too
much. That's because I can't find any documentation on details HOW IT WORKS,
how I can integrate my own game code with this framework. In addition that
have prepared code to the Peer to Peer Game, and I need the Client-Server.
Should I maybe write my own simple DirectX code instead of using the
AppWizard? I've also read that there is no AppWizard in the VC++ 2003
because they found out that AppWizard isn't very helpfull to programmers.


And your C++ question is?

- J.
Jul 22 '05 #3
Lt

Phlip wrote:
If you want to _design_ games, get Doom and one of its level editors. No, I want to write. If you want to write an engine from scratch, 2,300 lines of code is "hello
world". 3D code is an order of magnitude more complex than 2D code. I know, I know :) And because I'm not an experienced game programmer
(although I've been programming somewhat in Direct3D) I want to start with
very simple game (but more complicated than Tetris :-) And later grow up my
code.
Running a wizard is never the same as learning to program.

Exactly.

..Lt
Jul 22 '05 #4
Lt wrote:
very simple game (but more complicated than Tetris :-) And later grow up my


Tetris is not as trivial as it first might look like. Have you done
tetris ever?
Jul 22 '05 #5
Lt

Aggro wrote:
Tetris is not as trivial as it first might look like. Have you done
tetris ever?

Unfortunately no :(
Jul 22 '05 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
2083
by: dondiego | last post by:
Hello Everybody Im going to develop a multiplayer game. I will use a servlet and an applet on the client side. I see two possible ways to mantain the contact between the clients and the server:...
5
2548
by: Tlo | last post by:
hello, i would like to do the following, and as i had never used python in a network framework i would like to have opinions on this : i would like to provide some kind of network quizz game,...
4
1500
by: JariTapio | last post by:
Hei! I explored DirectX 8.1 SDK and found TUT09_ClientServer it includes the following code as a part of the tutorial... //---- HRESULT WINAPI DirectPlayMessageHandler(PVOID pvUserContext,...
3
1669
by: Mohammad-Reza | last post by:
Hi Please tell me how can I send a file with DirectPlay to a server.(Client/Server program). Thanks in advance
1
2278
by: znmaster | last post by:
I've downloaded WTL7.0 from http://msdn.microsoft.com, and installed it according to the instructions. But I can't see the WTL Appwizard in VC++.net. I use Windows2000. Can WTL7.0 only be used...
5
10276
by: anujmathurhere | last post by:
Hi, I am developing a simple multiplayer game in VS 2005 using C#. Each player would have an individual copy of the game running, which would connect to a server. The app running on the server...
0
1836
by: maxime_phan | last post by:
hello we would like to make you discover a new and free multiplayer game platform: GameLAN. All game are made with pygame, we have 3 multiplayer games now (Tetris like game, Heroic fantaisy tactic...
3
3495
by: George Oliver | last post by:
I'm looking for a framework to support a 2D online real-time multiplayer game (rugby league football with a lo-fi pixel look). The GameProgramming page at the Python wiki had some suggestions but...
4
5312
by: ShadowPhantom000 | last post by:
I'm Working on a Role Playing Game in C# Ive been spending a lot of time working on Player input and Game play but I have come to a Halt because I Don't know how to make a Server Application... if...
0
7112
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
7183
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
6852
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
5448
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
4878
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
4573
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3084
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
1389
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
0
277
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.