Can you steal someones code ?

This is a discussion on Can you steal someones code ? within the Game Programming forums, part of the General Programming Boards category; HI, Say you wanted to make a state of the art game. Cant you just use something like the Vice ...

  1. #1
    Registered User
    Join Date
    Jun 2003
    Posts
    91

    Can you steal someones code ?

    HI,

    Say you wanted to make a state of the art game. Cant you just use something like the Vice city files as templates for yuor game.

    I.e. hack into the vice city files, if you need to, leanr the code, change the code here and there, put in your own bitmaps , sounds etc.. and just go from there, how would anybody know youve stripped down someones code and used it for yourself.

    ?

  2. #2
    Registered User
    Join Date
    Jan 2003
    Posts
    648
    The answer is a no-brainer:


    NO.


    Make your own game with your own hard work. Stealing is wrong.

  3. #3
    Registered User
    Join Date
    Jun 2003
    Posts
    91
    i wasnt intending on doing it, but just to give you an idea as to what your doing.

  4. #4
    Pursuing knowledge confuted's Avatar
    Join Date
    Jun 2002
    Posts
    1,916
    You can't do it, because the code isn't in those files. The code is gone, and all that is left is machine code. You can't get it back. The best you can get is ASM, and if you're asking this question, you have a lot to learn before you'll understand ASM code. If you don't believe me, go ahead and try to get the C++ code. You will fail.
    Away.

  5. #5
    Registered User
    Join Date
    Jun 2003
    Posts
    91
    your right i have a massive amount to learn. Im just trying to work out if theres any point to learning all this code apart from as a hobby.

    I have another question , i was skimming through an article at gamedev.net and it said, to start of game programming you firstly choose a launguage, mine would be c++, and then choose a platform environment say windows, but arent windows and c++, 2 seperate launguages or do you mix the 2, or am i way of the mark here?

    So to prog make a game you need to learn

    1) c++
    2) win32
    3) directx

    at least ?

  6. #6
    Pursuing knowledge confuted's Avatar
    Join Date
    Jun 2002
    Posts
    1,916
    No.

    C++ is a programming language. Windows is an operating system. You can use C++ to make a program to run on any operating system - DOS, Linux, Windows, OS X, or anything else you can think of. There are APIs for programming for some operating systems - like the WinAPI for Windows. It's not standard C++, but it's a bunch of functions and classes that are included in the <windows.h> header and are used for creating windows and such.

    You don't need to know DirectX to program a game. It would be useful if you want to program a fancy 3D game, but the same could be done with OpenGL - it's a matter of preference. OpenGL is portable, DirectX is not. There are also other APIs for graphics, like Allegro and SDL. But you can certainly program a game with just C++ - it won't have graphics (you can use text graphics though) and it won't be overly fancy (you're not going to program Morrowind with just C++ without any APIs or anything) but it can be done.
    Away.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Proposal: Code colouring
    By Perspective in forum A Brief History of Cprogramming.com
    Replies: 28
    Last Post: 05-14-2007, 08:23 AM
  2. Values changing without reason?
    By subtled in forum C Programming
    Replies: 2
    Last Post: 04-19-2007, 11:20 AM
  3. Obfuscated Code Contest
    By Stack Overflow in forum Contests Board
    Replies: 51
    Last Post: 01-21-2005, 04:17 PM
  4. Interface Question
    By smog890 in forum C Programming
    Replies: 11
    Last Post: 06-03-2002, 06:06 PM
  5. Replies: 0
    Last Post: 02-21-2002, 06:05 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21