473,703 Members | 2,679 Online
Bytes | Software Development & Data Engineering Community
+ 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 3063
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
2099
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: By an http connection By a not-http connection, eg sockets I think that the big disadvantage in using a connection that relies on http
5
2564
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, each player logged in and can then join 'playing rooms', in each rooms they had to answers many quizz-like questions, after a game finished each players involved in it are ranked from their corrects answers and the time they spent to answer....
4
1509
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, DWORD dwMessageId, PVOID pMsgBuffer) {
3
1679
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
2294
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 under WinXP? Thanks
5
10293
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 would continuously listen on a specific port for the players and when the two players are connected, the server would transmit information from one player to the other.
0
1845
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 game and gomoku game). We invite you on the 22th of October at 4pm (Paris Time) to discover this platform.So get ready to play and see you on sunday on our GameLAN games servers! website: http://www.gamelan-project.com
3
3510
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 so far nothing looks that promising, does anyone have some recommendations? It would be ideal to play this through a web browser but I don't know if that's practical. This aspect of programming is pretty new to me so I'm not sure if I
4
5320
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 that's even how to handle it... What I seem to be reading is that a database language would be best for what I'm trying to accomplish SQL being the one I've been reading the most about. What would be the Best way to make a MMORPG?
0
9234
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
9089
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
8941
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
7832
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6575
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5910
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 then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4412
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 last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4668
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3107
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 we have to send another system

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.