Hey

  • Thread starter Thread starter PumpkinPieman
  • Start date Start date
Status
Not open for further replies.
i'll just pretend i knew what u just said cause its way over my head but cool!  :-? what type of game are you trying to make?
 
Well I know I'm not going to finish it, but I'm trying to make a basic RPG. :lol:
 
If you do complete i willing to try it out  :D  
I would love to make a game to but not enought will power to do so or knowledge i just starting programming this year 8)
 
My suggestion is read a few chapters, get the basics down like:

Data types (int, bool, long, char, and so on)
Newing Pointers\Deleting pointers

Function Structures
Templating Functions

Class Structures
Templating Classes

Read up on sorting algorthms
Read up on structures or containers (Members of the stl)

Then lead your way into Win32 programming.

If you'd like I can post links to some of these, but most of them you can find simply on http://www.gamedev.net.
 
I've done some low-level assembly before. I was surprised how easy it is once you've got the operations in memory (yours, not the data registers, hahahaha...heh...) I'd like to do more in that area. I studied the 68000.
 
Hi!

I have almost finished my 2nd year programming with Delphi (or Pascal as the actual language is called) and it is SO easy! I'm so glad that I took the subject at school! I haven't tried any other languages yet, but they look very... difficult!  :-?

xeriouxi.
 
Delphi is one of the languages I'm currently learning. I've just started C (not Visual C++) and its proving a tad harder than PASCAL but still okay. Programing languages are all the same, once you know one you know them all.

-Dan

EDIT: 2nd year? We're probably on the same course XD
 
Hi!

I have almost finished my 2nd year programming with Delphi (or Pascal as the actual language is called) and it is SO easy! I'm so glad that I took the subject at school! I haven't tried any other languages yet, but they look very... difficult!  :-?

xeriouxi.

Pascal = Delphi?

Code: [Select]
Code:
PROGRAM Mathgame;                         {Math Fun By Travis...For the good                                          Grade 10/26/98}USES CRT ;VAR SUBANS, COUNT, ADDANS, x, y, z : INTEGER ;    choice, W, ANS : CHAR ;PROCEDURE ADD ; FORWARD ;PROCEDURE SUBTRACT ; FORWARD ;PROCEDURE MULTIPLY ; FORWARD ;PROCEDURE DIVIDE ; FORWARD ;PROCEDURE QUIT ; FORWARD ;PROCEDURE START;  BEGIN    CLRSCR ;    WRITELN ('        Ã Ã Ã Ã Ã Ã Ã Ã Ã Ã Ã Ã Ã Ã Ã Ã Ã Ã Ã Ã Ã Ã Ã Ã Ã Ã Ã Ã Ã Ã Ã Ã Ã Ã Ã Ã Ã Ã Ã Ã Ã Ã Ã Ã Ã Ã Ã Ã Ã Ã Ã Ã Ã Ã Ã Ã Ã Ã Ã Ã  ') ;    WRITELN ('        Ã                 Welcome to Math Fun!!!                    Ã  ') ;    WRITELN ('        Ã               Please Select your choice                   à ') ;    WRITELN ('        Ã    (A)ddition, (S)ubtraction, (M)ultiplication (D)ivision à ') ;    WRITELN ('        Ã                   Press Q to quit                         à ') ;    WRITELN ('        Ã Ã Ã Ã Ã Ã Ã Ã Ã Ã Ã Ã Ã Ã Ã Ã Ã Ã Ã Ã Ã Ã Ã Ã Ã Ã Ã Ã Ã Ã Ã Ã Ã Ã Ã Ã Ã Ã Ã Ã Ã Ã Ã Ã Ã Ã Ã Ã Ã Ã Ã Ã Ã Ã Ã Ã Ã Ã Ã Ã  ') ;    READLN (ANS);   IF  (ANS = 'A') OR (ANS = 'a') THEN ADD ;   IF  (ANS = 'S') OR (ANS = 's') THEN SUBTRACT ;   IF  (ANS = 'M') OR (ANS = 'm') THEN MULTIPLY ;   IF  (ANS = 'D') OR (ANS = 'd') THEN DIVIDE ;   IF  (ANS = 'Q') OR (ANS = 'q') THEN QUIT ;  end;  PROCEDURE ADD ;  begin    x := Random (10) + 1 ;    y := Random (10) + 1 ;    CLRSCR ;    COUNT := 0 ;    WRITELN (' Welcome to addition of whole numbers ') ;    WRITELN ( x,' + ',y ) ;    WRITE (' Enter your answer here please: ') ;    Repeat      COUNT := COUNT + 1 ;      READLN (ADDANS) ;      Z := (X+Y) ;      IF Z <> ADDANS        THEN WRITELN ('Please Try Again') ;      IF Z = ADDANS        THEN WRITE (' Great Job! You used ',count )          ELSE WRITE (' Please Try again you have had ',count ) ;      IF COUNT = 1        Then write (' try! ')          Else Write (' tries! ') ;    Until (ADDANS = Z) OR (COUNT = 3) ;    READLN ;    If ADDans <> z      then Addans := Z ;    IF ADDANS = Z      THEN BEGIN    Writeln (' Would you Like another Problem?? ') ;    Writeln ('       (Y)es        (N)o          ') ;    readln  (choice) ;      If choice = 'y'        Then Choice := 'Y' ;      If choice = 'Y'        Then Add          Else Start ;  end ;  end;  PROCEDURE SUBTRACT ;  begin    REPEAT      x := Random (20) + 1 ;      y := Random (20) + 1 ;    UNTIL (X-Y > 0) ;    CLRSCR ;    COUNT := 0 ;    WRITELN (' Welcome to Subtraction of whole numbers ') ;    WRITELN ( x,' - ',y  ) ;    WRITE (' Enter your answer here : ') ;    Repeat      COUNT := COUNT + 1 ;      READLN (ADDANS) ;      Z := (X-Y) ;      IF Z <> ADDANS        THEN WRITELN ('Please Try Again') ;      IF Z = ADDANS        THEN WRITE (' Great Job! You used ',count )          ELSE WRITE (' Please Try again you have had ',count ) ;      IF COUNT = 1        Then write (' try! ')          Else Write (' tries! ') ;    Until (ADDANS = Z) OR (COUNT = 3) ;    Readln ;    If ADDans <> z      Then Addans := Z ;    IF ADDANS = Z      THEN BEGIN    Writeln (' Would you Like another Problem?? ') ;    Writeln ('       (Y)es        (N)o          ') ;    readln  (choice) ;    If choice = 'y'      Then Choice := 'Y' ;    If choice = 'Y'      Then Subtract        Else Start ;   end ;  end;  PROCEDURE MULTIPLY ;  begin    REPEAT      x := Random (10) + 1 ;      y := Random (10) + 1 ;    UNTIL (X*Y > 0) ;    CLRSCR ;    COUNT := 0 ;    WRITELN (' Welcome to Multiplaction of whole numbers ') ;    WRITELN ( x,' * ',y  ) ;    WRITE (' Enter your answer here : ') ;    Repeat      COUNT := COUNT + 1 ;      READLN (ADDANS) ;      Z := (X * Y) ;      If ADDans <> z        then Addans := Z ;      IF ADDANS = Z        THEN BEGIN               Writeln (' Would you Like another Problem?? ') ;               Writeln ('       (Y)es        (N)o          ') ;               Readln  (choice) ;                 If choice = 'y'                   Then Choice := 'Y' ;                 If choice = 'Y'                   Then multiply                     Else Start ;             end;    UNTIL (Addans = z) or (Count = 3)     ;   end ;    PROCEDURE DIVIDE ;  begin    REPEAT      X := random (20) + 1 ;      Y := random (10) + 1 ;      Z := (X DIV Y) ;    UNTIL X MOD Y = 0 ;    CLRSCR ;    COUNT := 0 ;    WRITELN (' Welcome to Division of whole numbers ') ;    WRITELN ( x,' / ',y  ) ;    WRITE (' Enter your answer here : ') ;    Repeat      COUNT := COUNT + 1 ;      READLN (ADDANS) ;      If ADDans <> z        then Addans := Z ;      IF ADDANS = Z        THEN BEGIN      Writeln (' Would you Like another Problem?? ') ;      Writeln ('       (Y)es        (N)o          ') ;      readln  (choice) ;        If choice = 'y'          Then Choice := 'Y' ;        If choice = 'Y'          Then divide            Else Start ;             end;     Until (Addans = z) or (count = 3) ;   end ;  PROCEDURE QUIT ;    BEGIN    CLRSCR ;    WRITELN ('        Ã Ã Ã Ã Ã Ã Ã Ã Ã Ã Ã Ã Ã Ã Ã Ã Ã Ã Ã Ã Ã Ã Ã Ã Ã Ã Ã Ã Ã Ã Ã Ã Ã Ã Ã Ã Ã Ã Ã Ã Ã Ã Ã Ã Ã Ã Ã Ã Ã Ã Ã Ã Ã Ã Ã Ã Ã Ã Ã Ã  ') ;    WRITELN ('        Ã                                                           Ã  ') ;    WRITELN ('        Ã                 Good Bye From Math Fun!!!!!               à ') ;    WRITELN ('        Ã                  We Hope to see you Soon!!                Ã  ') ;    WRITELN ('        Ã                      Press Q to quit!!                    Ã  ') ;    WRITELN ('        Ã                                                           Ã  ') ;    WRITELN ('        Ã Ã Ã Ã Ã Ã Ã Ã Ã Ã Ã Ã Ã Ã Ã Ã Ã Ã Ã Ã Ã Ã Ã Ã Ã Ã Ã Ã Ã Ã Ã Ã Ã Ã Ã Ã Ã Ã Ã Ã Ã Ã Ã Ã Ã Ã Ã Ã Ã Ã Ã Ã Ã Ã Ã Ã Ã Ã Ã Ã  ') ;    READLN ;    END;  BEGIN    START ;    RANDOMIZE ;    CLRSCR ;    IF  (ANS = 'A') OR (ANS = 'a') THEN ADD ;    IF  (ANS = 'S') OR (ANS = 's') THEN SUBTRACT ;    IF  (ANS = 'M') OR (ANS = 'm') THEN MULTIPLY ;    IF  (ANS = 'D') OR (ANS = 'd') THEN DIVIDE ;    IF  (ANS = 'Q') OR (ANS = 'q') THEN QUIT ;end .

LoL that was a dumb math game for a .. well i think it was a final grade or project for my Pascal HS class.. Could you put that into a delphi compiler if Delphi = Pascal? I had a lot of fun writing junk programs in Pascal class.. LoL
 
Delphi is Object Pascal, i.e. Pascal with object orientated bits too ;)  Although I don't know whether your code would actually work in a modern version of Delphi ... you'd need some sort of Crt unit that emulated the old text mode functions ... probably wouldn't be too hard.

But, seriously - those capitals nearly burned my eyes ;)  Been *years* since I've seen Pascal that used capitals like that, reminds me of old BASIC code...

Edit: Tried it - yeah, it does compile, although I had to take out "ClrScr" since the built in functions don't seem to do that; but otherwise, works fine...
 
I always used Delphi 6 to do my PASCAL assignments. I'd click File | New... then I'd choose Console Application. And there you have it, pascal. Wee. It's much better to look at a Windows box than a blue and yellow Turbo Pascal dos box.

-Dan
 
EDIT: 2nd year? We're probably on the same course XD

2nd Year for me too! Never touched Delphi / Pascal though. I know Java inside out though... getting kinda sick of it now!
 
Oh wait. I'm on my second _course_. The first was National Diploma in Computing (Software). In that I learned the basics of basic and a bit of object-oriented programming in Delphi. I'm now doing the Higher ND (Software) where we'll be doing C, C++ and Java which are basically the same thing so I'm a happy camper ^_^

-Dan
 
Delphi is Object Pascal, i.e. Pascal with object orientated bits too ;)  Although I don't know whether your code would actually work in a modern version of Delphi ... you'd need some sort of Crt unit that emulated the old text mode functions ... probably wouldn't be too hard.

But, seriously - those capitals nearly burned my eyes ;)  Been *years* since I've seen Pascal that used capitals like that, reminds me of old BASIC code...

Edit: Tried it - yeah, it does compile, although I had to take out "ClrScr" since the built in functions don't seem to do that; but otherwise, works fine...

Cool thats really neat.. Thx fice!
 
Hi!

I think I might have confused you all... I meant I'm in the second year of A-Levels. I'm not in University yet! Heehee... sorry!  :D

xeriouxi.
 
thnx guys your've just put me off programming
 :o

Hah.. Well i dont even program much.. I cant do anything important with it.. I just mess around sometimes.. I used to be Waay into it before i took a class on it.. LoL go figure.. but seriously its a very deep subject, and you really have to be dedicated i think.
 
Deticated is right, although it will probally take you a month to get the basics down. :P

Has anyone here done much work with Direct X?
 
Status
Not open for further replies.
Back
Top