Thread: My second game!

  1. #31
    Sir Mister Insane Sako Klinerr1's Avatar
    Join Date
    May 2002
    Posts
    608
    hey uh, tech wins, your new game light, you sai don your that that you used the allegro library! where can i downlaod the allgro library and learn allegro, i went to allegro.cc like everyone says. but in cant find anything.... and YOU said you cant use REAL grpahics binm dos, but in light you have REAL graphics
    Email: [email protected] || AIM: MisterSako || MSN: [email protected]

    -the shroom has spoken

  2. #32
    Rambling Man
    Join Date
    Jan 2002
    Posts
    1,050
    Well, I'm not really sure why you posted this here, but that's all irrelevant...

    You can download v4.02 adn v4.10 from here, but it appears that v4.10 is being called an "unstable" version, so stick with 4.02.

    and YOU said you cant use REAL grpahics binm dos, but in light you have REAL graphics
    Sorry but I'm not sure what you're talking about. I don't use DOS and neither should other people (win2k and above doesn't use DOS). In my game I do have real graphics, because I used allegro as an API and didn't create a console application. It's only in console applications that you can only use ASCII text and nothing else. Other than I'm not really sure what you're asking.

    Good luck and the file you want to download is called all402.zip that's if you are running under Windows. the .tar.gz are for Linux users.

  3. #33
    Registered User dune911's Avatar
    Join Date
    Sep 2001
    Posts
    140
    @Jet_Master
    Yes, there is a much more easier way to program games:
    http://www.blitzbasic.com (but it is also much more lame)
    if you don't want to code powerfull C, try this blitzbasic stuff

  4. #34
    Registered User dune911's Avatar
    Join Date
    Sep 2001
    Posts
    140
    @TechWins
    In which language have you programmed 'Light' ?
    Is that plain C or did you made 'Light' using C++ ?

    I like red_baron's way of making games in the
    console... but how long, do you think, does it take
    an apprentice programmer (not a newbie) to make
    some nice stuff using any compiler with allegro ?
    or : how long does it take you ? are you skilled ?
    or, better asking for : how long do you code in C ?

  5. #35
    Rambling Man
    Join Date
    Jan 2002
    Posts
    1,050
    dune911,

    here is my complete programming experience:

    -i programmed in pascal for a few weeks back in last november
    -then in januaray i started to learn c++ for a few weeks.
    in march i started back up learning c++ (and haven't stopped since then)
    -i made a console based tic-tac-toe game by the end of march (took me about a week to complete)
    -by the end of april i made a console based maze game (the samething as Light but in console and it was much worse) and it took me about two weeks to complete
    -in may i pretty much screwed around tinkering with a bunch of programs and learning new techniques and stuff like that
    -in june i started to learn allegro. at first i was creating a space shooter but i decided i wanted to do something different first. plus a lot of the code came from the help of JoshG
    -by the end of the month i had recreated my console based maze game into an allegro game called Light and it took me about two weeks to complete...a lot of the time was spent on drawing the pictures and learning new things about allegro
    -since that time i've been mainly doint the samething i did back in may
    -here's some other info about me: i'm decently skilled in c++ but i'm not an expert by any means at all. in fact i don't even use oop. so i guess you could say i made the game using c concepts but with some of the specialties of c++.

    for a programmer who has basic knowledge of c++ i think it would be fairly easy to create anything using allegro. in fact i think it makes it a lot easier rather than trying to make a game look good in console. you use all of the same c++ knowledge you know, so it's not really that big of a transition. it doesn't take too long to get used to the functions of allegro, because they're pretty simple. all in all i create games because it's a fun way to learn the language. i can't stand reading, so what i do is create a game. typically i come across something that i need to learn in every game i make (that's one reason why it takes me longer to make my games). basically it's my method for learning c++. it may or may not be the best method, but it's my method and it's working for me.

    well, i hope i was able to answer all of you questions. if you have anymore feel free to ask.

  6. #36
    SpitBall
    Guest
    I was thinking of trying Allegro, but I'm not sure if I'm really ready, since I tried all that Windows programming and was TOTALLY lost, it seemeed like it wasn't even any C++... lol

  7. #37
    Registered User
    Join Date
    Apr 2002
    Posts
    99
    Sorry, that was me... lol, I used the wrong username again!

  8. #38
    DOS can not to graphics
    that is bull. CONSOLE can't do graphics DOS can. There are many diff ways to do it. Inline assembly is used frequently. I think www.brackeen.com got some tutorials on mode 13h.

  9. #39
    Rambling Man
    Join Date
    Jan 2002
    Posts
    1,050
    DOS can not to graphics
    Where and who did this quote come from?

    Either way, ff is right, DOS can run graphics. Although, I strongly recommend not using DOS, because of all the users who can't run DOS apps (as mentioned before, win2k and winXP users).

    Spitball, Allegro is a lot easier than Win32. If you download my game and look at the source code for it you'll realize that it's all the basic C++ code plus a few Allegro specific functions. Allegro is very easy, so as long as you have a little experience with C/C++.

  10. #40
    Registered User red_baron's Avatar
    Join Date
    May 2002
    Posts
    274
    techwins do you use win2k or winxp ?
    ¿Red Baron?

    "Imagination is more important than knowledge"
    -Albert Einstein (1879-1955)

    Check out my games!

    [code] /* dont forget code tags! */ [/code]

  11. #41
    Rambling Man
    Join Date
    Jan 2002
    Posts
    1,050
    I use win2k, and I know what you're hinting at.

    A good example of why people shouldn't use DOS anymore came from gamedev.net about a week ago. Some guy had created a nice looking space shooter game, and the game was in DOS. Since so many people run either win2k or winXP only a few people could play the game. What a shame; the guy worked really hard on the game to only have a few people be able to try the game. I guess if you only want a few people trying your game, then DOS is great to use. Otherwise it't not worth it, using DOS.

  12. #42
    Registered User JoshG's Avatar
    Join Date
    Mar 2002
    Posts
    326
    If he wrote the game in Allegro, it would not be hard to make a windows version.

  13. #43
    Steps into making an Allegro game into Windows.

    Get a windows compiler. Make a new project. Put in all your source files. Hit the Build All button.

    Unless you are using something DOS specific like SVGA graphics or Sound Blaster, then all you have to do is change one or two lines around and switch it to autodetect or directx

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. how do the game engine and the api interact?
    By Shadow12345 in forum Game Programming
    Replies: 9
    Last Post: 12-08-2010, 12:08 AM
  2. Open Source / Semi Open source game idea. Help needed
    By CaptainPatent in forum Projects and Job Recruitment
    Replies: 10
    Last Post: 05-16-2007, 10:44 AM
  3. game engine advice?
    By stien in forum Game Programming
    Replies: 0
    Last Post: 01-23-2007, 03:46 PM
  4. My Maze Game --- A Few Questions
    By TechWins in forum Game Programming
    Replies: 18
    Last Post: 04-24-2002, 11:00 PM