Welcome guest. Before posting on our computer help forum, you must register. Click here it's easy and free.

Author Topic: i want make a simple game in dos  (Read 54076 times)

0 Members and 1 Guest are viewing this topic.

gamerx365



    Adviser
  • Radda Radda!
  • Thanked: 1
    • Yes
    • Yes
  • Experience: Experienced
  • OS: Windows 10
Re: i want make a simple game in dos
« Reply #15 on: February 19, 2008, 07:25:12 PM »
nice animation! inspiring as well XD. i wanna make one now lol. I think a game made out of animations on DOS would get you a lot of respect XD. it would take forever. for example the telenet starwars movie, that thing was amazing. Who ever did that is probably very respected by those who know who did it. it must have taken weeks to make it.

Dark Blade

  • Forum Gaming Master


  • Adviser

    Thanked: 24
    • Yes
  • Experience: Experienced
  • OS: Windows XP
Re: i want make a simple game in dos
« Reply #16 on: February 19, 2008, 10:24:36 PM »
I suppose everyone remembers the Star Wars Asciimation... it looks so cool, but it would probably takes yars to do the whole thing.

Fareast187

    Topic Starter


    Rookie

    Re: i want make a simple game in dos
    « Reply #17 on: February 24, 2008, 07:35:25 AM »
    yea..the star wars animation in dos it really owesome....

    i want to make like that but it take too long...

    anyone got the idea..?

    gamerx365



      Adviser
    • Radda Radda!
    • Thanked: 1
      • Yes
      • Yes
    • Experience: Experienced
    • OS: Windows 10
    Re: i want make a simple game in dos
    « Reply #18 on: February 24, 2008, 05:11:16 PM »
    read about this and it has some interesting stuff in it. im sure if you do a couple searches you could easily learn it

    http://www.asciimation.co.nz/asciimation/ascii_faq.html

    diablo416



      Hopeful
      Re: i want make a simple game in dos
      « Reply #19 on: February 25, 2008, 03:22:07 PM »
      is the star wars asciimation the full movie?

      for anybody whos intrested, i updated my batch game
      get it here. http://odn.t35.com/dg/rohe.txt

      this is a much better release then the others its almost playable now..
      includes
      -in game chat
      -multiple users(open two windows)
      -2 hidden realms (torture realm , and purgatory)
      -diety/class/charachter/type/other choices
      -new commands
      say - use chat
      x - exit game
      who - whos playing
      v - whos in this area
      dset - set to this area
      dcal - call this area
      -updated stats screen
      -updated save
      -added a library/treasury/
      -Added objects (solve the riddles earn extras ect) (get sucked into a phone)
      -Added Secret passages (diablos lab , healing chair + object)

      soon i will make enemys, i understand how now

      gamerx365



        Adviser
      • Radda Radda!
      • Thanked: 1
        • Yes
        • Yes
      • Experience: Experienced
      • OS: Windows 10
      Re: i want make a simple game in dos
      « Reply #20 on: February 26, 2008, 07:06:40 AM »
      sounds pretty interesting. ill check it out if i get a chance later. you know what would be awesome is a MUDD or whatever they are called. you know like just a simple game like this that you could play with a couple buddies online or something. I have no idea how any of it would work but i'd like to see something like that in action.

      gamerx365



        Adviser
      • Radda Radda!
      • Thanked: 1
        • Yes
        • Yes
      • Experience: Experienced
      • OS: Windows 10
      Re: i want make a simple game in dos
      « Reply #21 on: February 26, 2008, 12:27:27 PM »
      its more interesting now being able to chose your faith, race, sex, and all. why does it exit when i pray? it did that on the old version too. you changed the codes so modding isn't the same. thats okay, i didnt want to mod it anyway. the map still confuses me... i personally dont like the setup here though. it seems like when it reloads it has to show too much. have you considered making a separate console for the chat? and also in the chat it only shows the most recent spoken text and doesnt automatically reload. I like your idea and admire your patience for creating this but thats just a few issues I've noticed with it. Also I dont have vista so I can't view everything to its maximum potential. for example the startups screen runs off, as shown below. And I noticed the window doesn't have a title. You don't need to but it would look better if you put this in the code towards the top:
      Code: [Select]
      title Realms of *censored* (E)or something similar.




      diablo416



        Hopeful
        Re: i want make a simple game in dos
        « Reply #22 on: February 26, 2008, 03:39:16 PM »
        i'm not sure why it would exit , if you open it up in cmd.exe first instead of clicking the file maybe it will show the reason.. or you could try set /a r=4+4 and see what that does..  , i made it to work on a maximized screen to , does that make any difference? , and i know about the chat just i dident think their was anyway to change that , its becuase its not consantly looping theirs no way to make it live.. , the only reason i added a chat though is so the monsters could talk and be announced , and i know what you mean about mudd.. if you use telnet.. you can go to run, and type telnet iris.scripters.be:1111 somewhere inside their you will find a place called the realms of tyria i think.. the first version of my game was made based on that. its still way better then mine though

        BC_Programmer


          Mastermind
        • Typing is no substitute for thinking.
        • Thanked: 1140
          • Yes
          • Yes
          • BC-Programming.com
        • Certifications: List
        • Computer: Specs
        • Experience: Beginner
        • OS: Windows 11
        Re: i want make a simple game in dos
        « Reply #23 on: February 27, 2008, 07:06:38 AM »
        I have never seen so much code duplication in my life! Making interactive batch programs is like performing heart surgery while wearing oven mitts. But I suppose you have to start somewhere. Here's my timeline that I followed to learn programming:

        Batch on DOS 3.21->QBasic->QuickBasic->Visual Basic 2.0->Visual Basic 6.0->Visual C++ 6.0->Visual Studio 2005

        I don't really like .NET, but It seems to be the "thing" just like java was a few years back.


        Oh yeah! I forgot- I also messed around with the Duke Nukem 3d CON files to do wacky stuff like make enemies appear whenever another type of enemy died, there was an explosion etc.


        Also call me a nitpicker if you want but the windows XP command interpreter is not DOS. I can see the term DOS being used as a shorter form, but Console would be a better term here. DOS is an Operating System unto itself. Why, my 12 year old laptop hasn't been formatted since it was originally purchased!
        "volume created 03-04-1996"

        Now how is that for reliability! Still runs great!

        . All you young whippersnappers today with your Rock & Roll and your Eight track tapes... :)

        Well- nobody ever drove me to school when it was 90 degrees below
        had to walk but naked, through 40 miles of snow
        worked in the coal mine 22 hours a day for just half a cent
        had to sell my internal organs just to pay the rent

        hee hee.

        If your starting with batch programs though it is an awesome beginning, since you really don't have to buy anything to make them or run them.

        Would anybody be interesting in a program called BAT2EXE that converts a batch file to an executable? I'd be willing to send it to anybody that wants it. Keep in mind that it only supports older DOS syntax, so don't be surprised if it chokes on new parameters and stuff.

        Also, out of curiosity, how is the command processor different on Vista as opposed to XP? You can resize the command processor in XP as well...
        I was trying to dereference Null Pointers before it was cool.

        gamerx365



          Adviser
        • Radda Radda!
        • Thanked: 1
          • Yes
          • Yes
        • Experience: Experienced
        • OS: Windows 10
        Re: i want make a simple game in dos
        « Reply #24 on: February 27, 2008, 08:58:38 AM »
        yeah ive used that BAT2EXE before. It is interesting but it never seems to run everything perfect. i guess some of my commands were a bit too new.

        BC_Programmer


          Mastermind
        • Typing is no substitute for thinking.
        • Thanked: 1140
          • Yes
          • Yes
          • BC-Programming.com
        • Certifications: List
        • Computer: Specs
        • Experience: Beginner
        • OS: Windows 11
        Re: i want make a simple game in dos
        « Reply #25 on: February 28, 2008, 09:16:44 AM »
        Well, it was made back in the days of DOS 5, so I wouldn't be surprised. Actually, I'm not even sure how it got on my PC-DOS 6 laptop. I didn't get it until I left batch programming. I wonder if it is included with PC-DOS 6? I must research this further.


        I haven't done batch programming in so long! I remember I used to have to use an external program to get user input, but now the "set" command takes switches, And the For command can be used to make loops! Amazing it's still referred to as a "batch" language!

        Anybody familiar with REXX? I suppose that these extensions to the batch language are Microsofts answer to IBM's REXX support that they built into the command processor.
        I was trying to dereference Null Pointers before it was cool.

        WillyW



          Specialist
        • Thanked: 29
        • Experience: Experienced
        • OS: Windows XP
        Re: i want make a simple game in dos
        « Reply #26 on: February 28, 2008, 09:44:30 AM »
        ...
        I haven't done batch programming in so long! I remember I used to have to use an external program to get user input,

        GetKey?        :)
        http://ourworld.compuserve.com/homepages/ken

        Quote
        but now the "set" command takes switches, And the For command can be used to make loops! Amazing it's still referred to as a "batch" language!

        Finding and using third party utils was fun. 
        http://home.mnet-online.de/horst.muc/main.htm        for a few.

        Quote
        Anybody familiar with REXX?

        /* Just a little bit */

         ;)


        Quote
        I suppose that these extensions to the batch language are Microsofts answer to IBM's REXX support that they built into the command processor.


        In truth,  I barely scratched the surface of REXX back when I used OS/2 Warp4 a lot. 
        I came from DOS,  and found the old axiom to be true,  "OS/2 does Dos better than Dos does Dos."       I sort of crippled myself from learning more about OS/2 by bringing my old Dos methods and utils with me.    As long as I could get done whatever I needed with them,  I did.     


        .



        macdad-



          Expert

          Thanked: 40
          Re: i want make a simple game in dos
          « Reply #27 on: February 28, 2008, 05:35:19 PM »
          im trying to make a random # generator for a DOS card game im making
          heres the code for the Random # generator
          set /a rnd=%random% %%3 + 1 >nul
          if '%rnd%'=='1' goto cardo
          if '%rnd%'=='2' goto cardt
          if '%rnd%'=='3' goto cardh

          i want DOS to choose a number between 1 and 3 it does that but it also guesses 3 times. im confused is there something wrong that i did when i wrote the line? plz help! ???

          If you dont know DOS, you dont know Windows...

          Thats why Bill Gates created the Windows NT Family.

          itburnswhenipee



            Beginner

            Thanked: 1
            Re: i want make a simple game in dos
            « Reply #28 on: February 29, 2008, 10:02:00 PM »
            use something like this:


            @echo off
            cls

            setlocal

            set /a rnd=%random%%%3

            if %rnd% equ 0 set one=1
            if %rnd% equ 1 set one=2
            if %rnd% equ 2 set one=3
            echo one is %one%
            pause

            Sidewinder



              Guru

              Thanked: 139
            • Experience: Familiar
            • OS: Windows 10
            Re: i want make a simple game in dos
            « Reply #29 on: March 01, 2008, 05:18:32 AM »
            Quote
            set /a rnd=%random% %%3 + 1 >nul

            What are you attempting to do with this line? Is this a modulus using the the third command line parameter or a for variable without the for loop? <sigh> Either way there is a missing operand.

            Code: [Select]
            set /a rnd=%random% % 3 + 1 >nul
            if %rnd%==1 goto cardo
            if %rnd%==2 goto cardt
            if %rnd%==3 goto cardh

             8)
            The true sign of intelligence is not knowledge but imagination.

            -- Albert Einstein