Page 1 of 3 123 LastLast
Results 1 to 10 of 25

Thread: Impossible...

  1. #1

    Impossible...

    This website's name is "Pascal Game Development". So, using my superb inference skills, I assume that everything here is programmed in Pascal.

    But when I saw 3d games being made with Pascal, I knew there was something wrong here. I'm just a student with two years in Computer Science classes, with minimal experience in Pascal and average in Visual Basic, but I never knew any of this was possible in Pascal.

    I've been trying to learn how to place simply bitmaps into code to create a scrolling tile-based map, but I've just heard all of these words that I've never heard of before:

    OpenGl, DelphiX, FreePascal...

    I'm not sure in which direction to look at! I'm just sitting here with Bloodshed Dev-Pascal, not knowing the background information about these things.

    So basically, I'm just saying that:

    a. You guys are doing something that I don't know with Pascal that breaks the laws of physics.
    b. I still don't know how to tile, and I don't know where to learn the background information so I can learn how to tile.

    ~Arachanox

  2. #2
    PGD Community Manager AthenaOfDelphi's Avatar
    Join Date
    Dec 2004
    Location
    South Wales, UK
    Posts
    1,245
    Blog Entries
    2

    Impossible...

    First off, welcome to PGD :-)

    If you're new here.. now is the best time to arrive... the annual competition is just kicking off and I have a feeling we're going to see some excellent work this year.

    but I never knew any of this was possible in Pascal
    Thats because unfortunately they don't teach any different. Too many people make the assumption that Pascal is an old and dieing language. Old maybe... dieing... not a chance :-D

    As for learning, I'd suggest you check our Free Pascal. Mostly Delphi compatible and lots of support on here.

    For more information about how to use OpenGL and stuff like that, check out the Library and Articles sections.

    And feel free to ask questions in the appropriate forum.
    :: AthenaOfDelphi :: My Blog :: My Software ::

  3. #3

    Re: Impossible...

    Quote Originally Posted by Arachanox
    a. You guys are doing something that I don't know with Pascal that breaks the laws of physics.
    Welcome to PGD As Athena says: ask all you can in the appropiate forums.
    Peregrinus, expectavi pedes meos in cymbalis
    Nullus norvegicorum sole urinat

  4. #4

    Re: Impossible...

    Quote Originally Posted by Arachanox
    a. You guys are doing something that I don't know with Pascal that breaks the laws of physics.
    It's not us... it's the compiler.. apparently, written by a genius

    It is a common misconception that Pascal is an Old Man's language.. actually, only last week, I saw a Pascal programmer who when I spoke to him didn't say "you know, I remember when all this was Fields"

    Welcome to the nut house, I hope you like games.. especially this year, it's going to be mad.

    Edit: WILL, we need something to say how many bottles of wine we've had when we post.. a simple drop down will suffice.. I'm on 2 at the moment, so please don't accidentally mistake what I'm saying with sage advice.. unless it makes sense in which case.... YAY! :lol:

  5. #5
    Co-Founder / PGD Elder WILL's Avatar
    Join Date
    Apr 2003
    Location
    Canada
    Posts
    6,107
    Blog Entries
    25

    Re: Impossible...

    Quote Originally Posted by jasonf
    Welcome to the nut house, I hope you like games.. especially this year, it's going to be mad.
    Now thats what I'm talkin' about! Love to see the enthusiasm Jason. :thumbup:

    Though the boys beat me to it... [size=9px](well actually it was Athena so it would be the girl... or girls, but so far shes the only resident 'PGD chick' so it's singular until she can trick some other of her female programmer friends that we are really just decent people... umm...)[/size] Welcome to PGD!


    And just for the record, who ever told you Pascal was this that and the other thing... has not been here. If you want to learn how to make games and do the things that you've seen here, this is the place to learn it.

    We have some great things listed in the PGD Library as a reference for our visitors. And we also have some articles written specifically for the PGD community in the Articles section.

    Tools you definitely want to checkout are: Free Pascal [size=9px](cross-platform Pascal compiler)[/size], Delphi [size=9px](commercial software studio and compiler)[/size] and Lazarus [size=9px](open source alternative to Delphi, but uses the Free Pascal compilers instead)[/size]

    There are a ton of libraries, component suites (for Delphi) and wrappers for graphics that you can use and learn. As well as sound, physics and a great many other things. You just have to decide what you want to do and where you think you'll be most comfortable starting in on.

    I could pump you full of all kinds f information now, but I think it'll be best to let you explore and check things out.

    Oh and our Links section is pretty fantastic too, be sure to check that out eventually aswell.
    Jason McMillen
    Pascal Game Development
    Co-Founder





  6. #6

    Impossible...

    Quote Originally Posted by Arachanox
    This website's name is "Pascal Game Development". So, using my superb inference skills, I assume that everything here is programmed in Pascal
    Well that's a good start! lol

    Let me tell you a few things before I try to answer your questions:

    I started programming only two years ago, and last year when I found this site, I felt exactly like you. I don't want to say I will answer your questions better than anyone else, because I'm very much a beginner myself, but I'm gonna say it.
    The reason for this is that I have been member of this 'community' for about half a year, and only less than a month ago, I actually got the answer I was looking for, which is probably the one you're looking for too.

    The programming course I did only covered the very basics of programming, so when we came to graphics, I loved it so much that I started making a whole bunch of little games with squares, circles and lines, one more complex than the other, until the point that I wanted to make a 3D engine. So from scratch, only using my maths and squares, circles and lines, I programmed an 'environment' that you could rotate with the mouse, zoom in and out and I drew in it a rectangle. The problem came when I decide to draw in more than a simple rectangle! It lagged very badly!

    So I looked for help on the internet, and as most ppl do, I googled something like 'pascal game help' and it came with this site. On the first page was a game, 'Tanx', that had won some kind of 'The Big Boss' competition, so I checked it out, and was totally amazed at the fact that it was all 3D and full of great textures and stuff!

    I became a member and for 6 months I asked the same questions you're asking here.
    Quote Originally Posted by you
    I've been trying to learn how to place simply bitmaps into code to create a scrolling tile-based map, but I've just heard all of these words that I've never heard of before:

    OpenGl, DelphiX, FreePascal...
    and a whole lot more!

    Now I will come to my point and say: The people in here are way too advanced and think we know a lot more than we do, so the help you'll get is limited. [size=8px](I truly mean no offence, but this is how I feel)[/size]

    If you don't feel like reading thousands of tutorials and a whole bunch of definitions of things you will not remember (that's what happened to me), I will try to help you the way I hope I had been helped.

    One thing I'm assuming here is that you use the unit Graph to draw your shapes; is that right?
    (When you start a program, do you write 'uses graph,...;' and then initialise a graph window?)

    The bitmap stuff, I'm sorry, I still don't know how to do that either (even though I was told like ten times how to do it, but I never really understood... ops: ), so I can't help you with that; but I can guide you through the 3D stuff, if you want.
    The problem is that you will have to be ready to make a big change from using Graph. If that's not what you're looking for, my help stops here. If you are willing to know more, tell me.

    EDIT:
    PS: where do you live, if you don't mind me askin :?:

  7. #7
    Co-Founder / PGD Elder WILL's Avatar
    Join Date
    Apr 2003
    Location
    Canada
    Posts
    6,107
    Blog Entries
    25

    Impossible...

    Quote Originally Posted by IlovePascal
    Now I will come to my point and say: The people in here are way too advanced and think we know a lot more than we do, so the help you'll get is limited. [size=8px](I truly mean no offence, but this is how I feel)[/size]

    If you don't feel like reading thousands of tutorials and a whole bunch of definitions of things you will not remember (that's what happened to me), I will try to help you the way I hope I had been helped.
    Hmm well you bring up some interesting points there. Though I think that when a beginner comes and asks the more experienced crowd about things, we've gone through so much of the material and learned so much that we sort of find it hard to pick from what information is easier to digest from a beginner-type's knowledge-base as the novice or experts are operating at a whole other level. Nevermind that everyone's knowledge and experiences are all different.

    I think for the beginner it's best to seek out your options based on your interest(s) and then from there you go on to read up and gain more experience on through reading and experimenting with code, etc.

    Overall though, it's a fact of life that whoever you are, you start something new, you're just gonna have to do the reading first. No one can just hand you the knowledge. :? Unfortunately though some new guys just aren't willing to do that. That's probably why a lot of these things remain a mystery to them...
    Jason McMillen
    Pascal Game Development
    Co-Founder





  8. #8

    Impossible...

    In addition to what WILL said, I want to mention, that especially when it comes to graphics (and here 3D graphics) you have to turn over your thinking a bit. I met some people on the internet who did great in 2D graphics, but did not seem to have the phantasie to think in 3D. They were able to do great things in 2D, no question. But if someone is not able to think with 3 coordinates instead of 2, it doesn't make sense to try to tell him how he can rotate things in 3D world (just as an example).

    So basically, we are glad if we can help, but we can't turn your head.
    I totally agree with the point that the advanced ones tend to use words, expression and scientistc background they are used to... But if, e.g. someone tells you to take a look at DirectX, and you have never heard of it, this means you don't know the capabilites of your PC but you want to use them. It's like when you ask someone how to drive a car and he tells you to turn on the motor and you ask "what is a motor"?

    What I did when I started 3D stuff was, asking questions on this kind of forums and if I did not understand something I used google to find out what it is about. This way you learn MUCH more than if someone tells you "DirectX is a framework to access the computers hardware", because you have to read through things, find new "unknown worlds", read further, learn more and more, and finally when you know what you were looking for, you may be able to make use of it.

    Just my thoughts. Personally I really know how hard it is to start this stuff. It was a real bunch of work for me to get "the basics", think in 3D and make use of those strange constructs like matrices...

    So if someone wants help in improving his skills, I think we are able to show him in which direction he has to look. But I don't think we can teach you things in a minute, we learnt ourself in years.

    Greetings and welcome to PGD

    Dirk
    <a href="http://www.greatgamesexperiment.com/game/Valgard/?utm_source=gge&amp;utm_medium=badge_game"><img border="0" alt="GGE" title="GGE" src="http://static.greatgamesexperiment.com/badge/game/valgard/gge400x56.png"></a>

  9. #9

    Impossible...

    b. I still don't know how to tile, and I don't know where to learn the background information so I can learn how to tile.
    To get a bit more in detail, you have the right tool, Dev-Pascal should allow you to do this, allthough you might want to migrate to the Free Pascal IDE since Dev-Pascal hasn't been updated in a long time. One solution to achieve this is William Cairn's Simple 2D Libraries:

    http://www.pascalgamedevelopment.com...40672d9e326554

    Perhaps William can send you his latest version, if necessary I can send you a small example. Bit first take a look at it.

  10. #10

    Impossible...

    By the way, I think this thread shows two things:
    * Pascal Game Development is very important to show people what amazing powers the Pascal programming langauge has
    * There is a big barrier for beginners to develop real world programs.

    The second point is worrying for me some time already. Pascal is still a big fish in education, but all schools and universities teach people how to write colourfull text modes using the crt unit. Great to teach the basics of programming, bad to show the power of Pascal.

    A tutorial "how to use framework X" is not enough, beginners usually do know the basics of procedural programming, but many real world libraries are object oriented. Further, many toolkits are too low-level to be attractive to people. I.e. JEDI-SDL is a great library, but serving beginners the bare OpenGL API is often too much for them.

Page 1 of 3 123 LastLast

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
  •