Results 1 to 10 of 31

Thread: Game Developement

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Quote Originally Posted by Realeg View Post
    I wonder, how could i make games in Turbo Pascal using graphics? I tried to use the "graph unit" integrated with pascal, but i can't use the keyboard in the graphic window.
    So, i'm here to ask you, what i need to start create a graphic game using Pascal language?
    I would recommend installing Lazarus for that kind of stuff. Turbo pascal is only for learning basics, starting to use graphics on it won't lead anywhere, and gives you too much information you don't need. No modern time games can be made with Turbo Pascal.

  2. #2
    PGD Staff / News Reporter phibermon's Avatar
    Join Date
    Sep 2009
    Location
    England
    Posts
    524
    What Silverwarrior suggested :

    Tex[1]:=IMG_LoadTexture(PChar(Ren,path+'\monster.bmp'));

    should read :

    Tex[1]:=IMG_LoadTexture(Ren,PChar(path+'\monster.bmp'));
    When the moon hits your eye like a big pizza pie - that's an extinction level impact event.

  3. #3
    Quote Originally Posted by phibermon View Post
    What Silverwarrior suggested :

    Tex[1]:=IMG_LoadTexture(PChar(Ren,path+'\monster.bmp'));

    should read :

    Tex[1]:=IMG_LoadTexture(Ren,PChar(path+'\monster.bmp'));
    You are absolutely correct. How could I have made such trivial mistake

  4. #4
    Ok, in the end i mananged to find out how to make it work with paths, thanks to both of you
    Another question: I've heard from my teacher that in the Pascal IDE are some options or something like that to show the amount of memory and time execution of a program. Can you tell me how to make use of them?

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •