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 54541 times)

0 Members and 1 Guest are viewing this topic.

AndyF



    Rookie

    Re: i want make a simple game in dos
    « Reply #45 on: March 14, 2008, 02:13:53 PM »
      Years ago there used to be a program called BE-Batch Enhancer that would let you do some batch programming and handle colors and so on. Maybe you can still find that around. If you do it'll be on a 5" floppy. I have the manual, but it would take me forever to go through my huge cardboard box of diskettes to find it.  :D Maybe I can start going through them andif I find it I can send it to you. I imagine it's no more than a few K in size.

      Next and more fun and flexible is GWBasic, which packaged with DOS. I think it came since V4 and onward. If you have it and type GWbasic, you would get the same Edit screen as in later Basic's.

      Better still is Quick Basic and I think you can get that from MS if not free, at least for a song. Here you can even compile programs and port the EXEcutable around. In fact I still use it to do low level file handles etc.

      Basic would be not any less complex than dos commands and give you a larger suite of commands to play with. Quick Basic is no slouch. I created a rudimentary Database engine in Quick Basic. It wasn't lightening fast with a 12 hit seek recursion, but for that time it was pretty good. I got up to 800K records before the performance was starting to get noticeable.

      Andy   

    itburnswhenipee



      Beginner

      Thanked: 1
      Re: i want make a simple game in dos
      « Reply #46 on: March 15, 2008, 01:44:17 AM »
      you dont need batch enhancer there is a command called the color command
      its like this

      color 1a

      gamerx365



        Adviser
      • Radda Radda!
      • Thanked: 1
        • Yes
        • Yes
      • Experience: Experienced
      • OS: Windows 10
      Re: i want make a simple game in dos
      « Reply #47 on: March 19, 2008, 01:21:24 PM »
      I am trying to make a feature in my game that it wont let you come out if you go in too far. like if you are in 5 spaces you need to take 5 spaces to get out. again it keeps closing when I use my code...


      changing number of spaces in
      Code: [Select]
      IF '%deeper1%'='1' SET /A deepness=deepness + 1 & GOTO 39F
      IF '%deeper1%'='1' SET /A deepness=deepness - 1 & GOTO 39F

      checking deepness:
      Code: [Select]
      IF '%deepness%'='0' GOTO lobby
      initial setting:
      Code: [Select]
      SET deepness=1

      devcom



        Apprentice

        Thanked: 37
        Re: i want make a simple game in dos
        « Reply #48 on: March 19, 2008, 02:51:03 PM »
        Code: [Select]
        set /a deepness+=1or
        Code: [Select]
        set /a deepness=%deepness%+1
        Download: Choice.exe

        gamerx365



          Adviser
        • Radda Radda!
        • Thanked: 1
          • Yes
          • Yes
        • Experience: Experienced
        • OS: Windows 10
        Re: i want make a simple game in dos
        « Reply #49 on: March 19, 2008, 06:20:40 PM »
        thanx... dunno why i've been running into so many problems

        macdad-



          Expert

          Thanked: 40
          Re: i want make a simple game in dos
          « Reply #50 on: March 19, 2008, 07:15:31 PM »
          well when u create such a large prog u sometimes get lost in it. same thing happened 2 me when i wuz making my card game.
          If you dont know DOS, you dont know Windows...

          Thats why Bill Gates created the Windows NT Family.

          11victory11



            Rookie

            Re: i want make a simple game in dos
            « Reply #51 on: March 19, 2008, 10:25: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 h**l (E)or something similar.




            where can i download this game at?

            gamerx365



              Adviser
            • Radda Radda!
            • Thanked: 1
              • Yes
              • Yes
            • Experience: Experienced
            • OS: Windows 10
            Re: i want make a simple game in dos
            « Reply #52 on: March 22, 2008, 03:23:54 PM »
            look through this topic, he has a link to it on here...

            gamerx365



              Adviser
            • Radda Radda!
            • Thanked: 1
              • Yes
              • Yes
            • Experience: Experienced
            • OS: Windows 10
            Re: i want make a simple game in dos
            « Reply #53 on: March 28, 2008, 07:33:43 AM »
            well here is version 1 of EDS, its been done for a while but im just uploading now. Im not sure if the update feature is going to work quite yet, but eventually it will. and also i have included the commands for the login screen...

            [recovering space - attachment deleted by admin]

            gamerx365



              Adviser
            • Radda Radda!
            • Thanked: 1
              • Yes
              • Yes
            • Experience: Experienced
            • OS: Windows 10
            Re: i want make a simple game in dos
            « Reply #54 on: March 28, 2008, 07:38:52 AM »
            does anyone know how to import from a .txt real quick? i forgot the code. Im using it in the update feature...
            I want to read the text in update.txt and set it as a variable (update).

            devcom



              Apprentice

              Thanked: 37
              Re: i want make a simple game in dos
              « Reply #55 on: March 28, 2008, 10:19:08 AM »
              mabey you mean
              Code: [Select]
              for /f "tokens=1-3 delims= " %%a in (update.txt) do set update=%%a
              Download: Choice.exe

              itburnswhenipee



                Beginner

                Thanked: 1
                Re: i want make a simple game in dos
                « Reply #56 on: March 28, 2008, 05:27:43 PM »
                i have vista but the move thing doesn't work is there something i have to install

                also i found an awesome batch to executable converter it saves as an exe instead of a com
                i found it here at the weirdest place ever, yoyogames...
                http://www.yoyogames.com/games/show/10610
                you have to scroll down to the bottom where it says play offline because the instant play thing doesnt work for this
                « Last Edit: March 28, 2008, 05:45:05 PM by itburnswhenipee »

                Tan_Za



                  Intermediate
                • Starcraft and C programming
                  • Experience: Experienced
                  • OS: Windows 7
                  Re: i want make a simple game in dos
                  « Reply #57 on: March 28, 2008, 10:41:38 PM »
                  This is very good to see all you people making dos games using "BATCH". I will post mine when it is finished. It is a tcp/ip tank type game with up to four players. It is turned based and you have 1 tank per team. I will release the players on players first them I will release the players on bots.(bot will use random strategies)

                  I'll post soon,
                  Tan_Za

                  devcom



                    Apprentice

                    Thanked: 37
                    Re: i want make a simple game in dos
                    « Reply #58 on: March 29, 2008, 04:36:51 AM »
                    Did you changed extension from txt to bat?
                    Download: Choice.exe

                    macdad-



                      Expert

                      Thanked: 40
                      Re: i want make a simple game in dos
                      « Reply #59 on: March 29, 2008, 06:16:59 AM »
                      finally im done with my card game here it is. plz no copyrighting
                      and one more tip plz read the readme file before playing the game, since i got some game secrets in it and programmer's notes(yea  i programmed it) ;) i had to save it as a txt file so u'll have to convert it to a bat file.

                      [recovering space - attachment deleted by admin]
                      If you dont know DOS, you dont know Windows...

                      Thats why Bill Gates created the Windows NT Family.