Jump to content
  • Advertisement

TheNobleOne

Member
  • Content Count

    288
  • Joined

  • Last visited

Everything posted by TheNobleOne

  1. TheNobleOne

    A game development joke

    Ok friend and I were really bored the other day and we started to make up some jokes. To be honest they were quite funny at the time but may not really be funny at all. So I decided to spring my game development joke onto you people here at GameDev.Net :P =================================== You know just about every kid out there in this world plays video games. Not only this but just about every one of those kids wants to make a game. But me I did not only want to make a game I wanted to make my own game company. Yea thats right my own game company. Now why would I want to do that. Very simple acctually. You know when a game starts up you got the companies logo come up and you got the guy with the really cool voice that announces the companies name like. EA Sports "It's in the game." Yea that is why I want my own company so I can hear that guy with the cool voice say my companies name. I even went as far as to name my company something really really fance. "Perfectly Uber Bio-Enginered Systems" Now you may ask why that name? Well I can give you 3 reasons. 1. Every company name should have the word Uber in it just because Uber is the most Uber word in existance. 2. Perfectly Bio-Enginered Systems dictates that we will have the Best Most Uber AI in the industry. Yea the best AI. 3. Finally I can see it now. Parents on the coutch ready to watch their kid play that new game because there is nothing else better for them to do. And that logo comes up with our acronym and the cool voice says it with the nifty logo. I can just see the looks on their faces. . . . . . . . . . . . . . . . P U B E S "There in the game!"
  2. TheNobleOne

    DirectX in C#

    You might want to get tom miller's (creator of Managed Directx) book Managed Direct X Kickstart. It is indeed a very well done book.
  3. TheNobleOne

    A game development joke

    Bah I don't care whether or not you find it funny it was worth a shot. And it was funny at the spontanious time of thinking it up. But I warned you ahead of time anyways :P And it is much funnier when said because people are not expecting it. Tried it out on a couple people at school and they laughed. Oh well :P
  4. TheNobleOne

    A game development joke

    Yes I knew that when I made up the joke. :P Hence it is the punch line. Much funier when said with the cool voice tho :P Just read it out loud with the cool voice :P
  5. Just on a note any of the Express products can be used for commercial applications. On another note it has been said that DX9 is not supported by VC++ 6 (let alone) 5 at all. However, that would only be because microsoft stopped supporting the compiler and IDE totally as it is not needed anymore with the new better compliant compiler.
  6. TheNobleOne

    [.net] Multiplayer game in .NET

    Just a small tip as I have written network code in .Net many many times. When making a online game I find it better to start with the server and network code before doing the client stuff. That way you have a idea about the information the server is looking for when data is sent to it. Also, I find it easier to write the client code around the server then the server around the client. If you are not using a server. Just client to client over a network it is still easier to write the network code first becuase that way you can build the client code off that anyway as well. As for the objects talking to other objects. You should have the client send commands to the server with information attached to them. This way when the server gets that infomation it can update its objects and send the data out to the other clients so that they are upto date as well. A example would be to use a NetworkStream to send a string like "PLACEDONTABLE||ace||King||Queen". Then when the server sees that it can rip appart the string and say ok update the table object to contain a ace, king, and queen.
  7. TheNobleOne

    Window Not Displaying

    Hello I am doing the tutorials at C-Unit for DirectX 9 until my book I am ordering arrives. Problems is that the Win32 tutorial window is not displaying. Not shure why to me the Win32 code looks fine. Maybe I am missing something. #include<windows.h> #define WINDOW_TITLE "Creating a Window" #define WINDOW_WIDTH 800 #define WINDOW_HEIGHT 600 LRESULT CALLBACK WndProc(HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam) { switch(message) { case WM_DESTROY: PostQuitMessage(0); return 0; case WM_PAINT: ValidateRect(hWnd, 0); return 0; } return DefWindowProc(hWnd, message, wParam, lParam); } int WINAPI WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLine, int nCmdShow) { WNDCLASSEX wcex; wcex.cbSize = sizeof(WNDCLASSEX); wcex.style = CS_HREDRAW|CS_VREDRAW|CS_OWNDC; wcex.lpfnWndProc = WndProc; wcex.cbClsExtra = 0; wcex.cbWndExtra = 0; wcex.hInstance = hInstance; wcex.hIcon = LoadIcon(NULL, IDI_APPLICATION); wcex.hCursor = LoadIcon(NULL, IDC_ARROW); wcex.hbrBackground = (HBRUSH)(COLOR_WINDOW+1); wcex.lpszMenuName = NULL; wcex.lpszClassName = "MyWindowClass"; wcex.hIconSm = LoadIcon(NULL, IDI_APPLICATION); // Register the class RegisterClassEx(&wcex); HWND hWnd = CreateWindow(WINDOW_TITLE, WINDOW_TITLE, WS_OVERLAPPEDWINDOW, CW_USEDEFAULT, CW_USEDEFAULT, WINDOW_WIDTH, WINDOW_HEIGHT, 0, 0, hInstance, 0); // adjust to acctual window size RECT rect = {0, 0, WINDOW_WIDTH, WINDOW_HEIGHT}; AdjustWindowRect(&rect, GetWindowLong(hWnd, GWL_STYLE), false); SetWindowPos(hWnd, 0, 0, 0, rect.right - rect.left, rect.bottom - rect.top, SWP_NOZORDER|SWP_NOMOVE); ShowWindow(hWnd, SW_SHOW); UpdateWindow(hWnd); MSG msg; while(1) { if(PeekMessage(&msg, NULL, 0, 0, PM_REMOVE)) { if(msg.message == WM_QUIT) { break; } TranslateMessage(&msg); DispatchMessage(&msg); } else { // Render here } } return 0; }
  8. TheNobleOne

    Window Not Displaying

    Thanks a bunch the Window class name is what did it. However, that was a spot I copied from the tutorial hummph oh well. Thanks again.
  9. TheNobleOne

    What type of degree.....

    I was just pondering saying what if I wanted to work on AI programming for a living. What kind of degree would that constitute lol? Personally I am facinated by AI but I really don't think it would be all that fun to do for a living it is really just a ponder.
  10. TheNobleOne

    back in the game 1 year later...

    Not to burst your bubble or anything however, I recommend you don't set any dates for yourself. December is less then 2 months away and it will take you maybe more than that to get the hang of networking. Keep working on your game you will get it done at some point but don't set any dates just do your project at a comfortable speed. No stress need be created by dates.
  11. TheNobleOne

    starting opengl programming

    A small correction to a above post. Linux uses the compiler suit GCC. To compile C++ you use the g++ command not gcc.
  12. TheNobleOne

    OMG OMG I cant open exe files

    That is one more reason why you don't touch the registry unless you know what you are doing. That is also one more reason why Linux does not have a registry. :P Oh and how did you start your web browser if you can't open exe files :S
  13. TheNobleOne

    What type of degree.....

    Not to revive my old thread but I actually forgot about it lol. Currently I am studying Information Systems and Technology. Really I don't know if that is enough for anything in the games industry being that they cut out some calculus so you can take Economics courses and such. But the programming and programming concept courses are all the same as CS. Personally now that I am taking calculus I wish I actually stayed in CS because I actually like it lol. I got scared away because I was never the greatest at math but I am doing quite well in clac so far. Oh well too late to change majors again because I am already in my second year of school. If I switch again it will screw with graduation dates :S
  14. TheNobleOne

    computers

    Yep go to the above posters links preferably new egg and tiger direct. They are owned by the same company but if you use both together you can get some really good deals on parts. Some parts are cheaper on tiger direct some are cheaper on new egg. So both used together is recommended.
  15. TheNobleOne

    computers

    It does not matter the brand of computer as long as it has the hardware you need. Personally I never owned a brand name computer besides my laptop. All my computers are custom built by myself. I buy the parts and put it together. Much cheaper then any brand name computer you can buy. As in you could build a $1000 Dell for around $700 and yours will have better hardware then the Dell will.
  16. TheNobleOne

    Declaring class member function C++

    I can't find anything wrong with your code at first glance however in the future please you use [ source ] [ / source ] tags without spaces :P
  17. TheNobleOne

    VENT: #!!@#$!

    If it is possible for you to wait, you should wait till november when C++/CLI is released. The managed C++ you are learning for Visual C++ .Net 2003 is not going to exist anymore as of november unless you flip a compiler switch. But if you saw the new C++/CLI you would never go back to the old "__gclass" way lol. Maybe you should look into a language like C# of VB.Net for your project. They are capable of handling the complex math and can interface with MDX and what not.
  18. You might want to use a indexer property. However, what is better then hashtables for you purpose. You might want to look at using the IDictionary interface class however.
  19. TheNobleOne

    [.net] Memory management

    Here is the thing. If you don't use the texture very often you should reload it when you need it again. However, if it is used lots it should be kept in memory. Just remember to draw everything with the same texture all together because swapping textures back and forth will kill your performance.
  20. TheNobleOne

    Need a good Java compiler

    Another good java IDE is called JGrasp by Auburn University. It even has a nice code template feature so you can just click and it inserts the code block for you. Clicky
  21. TheNobleOne

    I recommend you try....

    Yes you are very correct. However, you must remember we are human. Humans can be very idealistic will only recomend what they like. The human nature is build off of opinions. The first impulse we have when it comes to giving advice is our opinion on what is best. It will always be that way. IMHO there is not really a newb friendly programming language and or Linux distrobution. Why, because newbies don't know anything about programming/Linux. This makes it all arcane to them. Personally before I even touched a Linux distro I learned about it first. I read books on Unix and Linux. Then I searched for a distro I liked. Turned out to be Debian. But I started out for a while with a simple install of FreeBSD just so I can learn how things operated without the gui. That is the key to linux is being able to do things without a GUI. Even with debian and or Mandrake or whatever distro it is you will find yourself in the Shell 98% of the time. As for books for me to recommend my favorite book may have Unix in the title but it is written for Unix and Linux. Some of the commands may vary slightly in name depending on the distro but I found it about 98% accurate on all commands in both Unix and Linux. Title is: Visual Quickstart Guide Unix Second Edition. Authors: Deborah S. Ray, Eric J. Ray. Clicky
  22. TheNobleOne

    New to this Linux Thingy

    You should try out debian. You can download the net install about 110 mb for the newest release then during the install you choose what you want installed and it just grabs it from a mirror. It is nice because Linux does download faster then windows xp sp2 by far. On windows I get around 300 kbps and on linux I get about 700 - 1000+ kbps. The net install gets the data by using linux as the net install cd first installes the linux base. :P
  23. Ok I have been wondering this for a while. Say I write a Text Editor in WinForms and C#. Now someone associates my text editor with text files. So that when the text file is double clicked it opens it in my editor. Now obviously windows is going to pass a param and or params to my exe file. This means I must use [STAThread] static void Main(string[] args) { ........ } Ok I understand that much. My question is what does windows pass into the args array. Is it the path and filename in one param ie [0] = C:\...\...\text.txt or does it pass [0] = C:\...\...\...\ [1] = text.txt?
  24. Thanks I know alot about .Net just never really messed about with the args passed into main as I never needed too :P. I have a project in the works now that needs to lol however, it is not a text editor. And i will not say what it is. When the time is right you all will know :P
  25. TheNobleOne

    Visual C++, how do i set modern C++ up?

    If you are using the new C++.Net aka C++/CLI you don't use iostream you must use System::Console::WriteLine or System::Console::Write. As for the *this it depends on if it is a ref class or not. Here is hello world in C++/CLI just incase that is what you are attempting. #using<System.dll> using namespace System; int main() { Console::WriteLine("Hello World!"); return 0; }
  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!