Search found 475 matches

by misol101
24 Jun 2016 09:30
Forum: DOS Batch Forum
Topic: Programs blocking the current shell
Replies: 41
Views: 25164

Programs blocking the current shell

I have run into something confusing. Some programs, when run from a batch program, seems to block forever, even after the program quits! I am then forced to close down the cmd window, Ctrl-C/Z/break do not work. For me, this seems to be the case with Chrome. I don't know if it's the same with all ve...
by misol101
24 Jun 2016 08:55
Forum: DOS Batch Forum
Topic: Listb - a file explorer/viewer inside the console window
Replies: 27
Views: 127826

Re: Listb - a file explorer/viewer inside the console window

Archive updated, I have added dividing lines between columns. The lines are on by default if using the latest extendlistb.bat (when running l.bat), and off if using listb.bat only. If you have your own extendlistb.bat, you can turn on dividers by adding the following line after the label :SETCOLORS ...
by misol101
23 Jun 2016 14:04
Forum: DOS Batch Forum
Topic: CmdRunner - 3d game (CubeRunner clone)
Replies: 44
Views: 44217

Re: CmdRunner - 3d game (CubeRunner clone)

Archive updated. I was looking at a 3d batch script by einstein1969,and found the line: for /F "Tokens=1 delims==" %%v in ('set') do set "%%v=" Clever little thing, and amazing how much it speeds things up to clean the environment from variables! So I tried it for this game and g...
by misol101
23 Jun 2016 09:29
Forum: DOS Batch Forum
Topic: Cmdgfx - draw 3d and graphic primitives (polygons,circles etc) in cmd window (now with 24-bit RGB support!)
Replies: 125
Views: 229217

Re: Cmdgfx - draw graphic primitives (polygons,circles etc) in cmd line window

Archive update, fixed a bug when using tpoly with gxy or text file.

Changed gfxtest3.bat to test this, now press RETURN to switch between textures.
by misol101
23 Jun 2016 06:22
Forum: DOS Batch Forum
Topic: Listb - a file explorer/viewer inside the console window
Replies: 27
Views: 127826

Re: Listb - a file explorer/viewer inside the console window

The archive (as well as the gotoxy archive) was updated. Added support for adaptive columns, which means that if there are less files in the folder than what fits within the number of columns set, then the number of columns is decreased to fit the number of files. To turn on adaptive columns, specif...
by misol101
22 Jun 2016 15:18
Forum: DOS Batch Forum
Topic: CmdRunner - 3d game (CubeRunner clone)
Replies: 44
Views: 44217

Re: CmdRunner - 3d game (CubeRunner clone)

batchcc wrote:Thank you for creating this I haven't tried it yet but it looks cool; can't wait to play!


Ah, hate to disappoint, but unlike CmdRunner the Mario thing is not a game, just the bare bones of what could become a game, should anyone be so inclined.
by misol101
22 Jun 2016 14:22
Forum: DOS Batch Forum
Topic: Cmdgfx - draw 3d and graphic primitives (polygons,circles etc) in cmd window (now with 24-bit RGB support!)
Replies: 125
Views: 229217

Re: Cmdgfx - draw graphic primitives (polygons,circles etc) in cmd line window

Archive updated, see top for link. I have added an "image" operation, basically to add "sprites". It takes either a pcx file, a gxy file (can be created with my gotoxy editor etc, see http://www.dostips.com/forum/viewtopic.php?f=3&t=7129), or actually any text file. Also, the...
by misol101
22 Jun 2016 14:07
Forum: DOS Batch Forum
Topic: CmdRunner - 3d game (CubeRunner clone)
Replies: 44
Views: 44217

Re: CmdRunner - 3d game (CubeRunner clone)

Well, thanks again to batchcc! The question asked made me realize that something vital was missing from cmdgfx to make 2d games: sprites/images. So I added that, gxy files and pcx files can now be used. Also, the parallax scroller is now included in the cmdgfx.zip archive, download from http://www.m...
by misol101
21 Jun 2016 13:21
Forum: DOS Batch Forum
Topic: CmdRunner - 3d game (CubeRunner clone)
Replies: 44
Views: 44217

Re: CmdRunner - 3d game (CubeRunner clone)

Changed the parallax script above so that it can run in both directions. Use cursor left/right to switch.

(also, my high score for CmdRunner is now 10475 :wink: )
by misol101
21 Jun 2016 10:14
Forum: DOS Batch Forum
Topic: CmdRunner - 3d game (CubeRunner clone)
Replies: 44
Views: 44217

Re: CmdRunner - 3d game (CubeRunner clone)

Thanks batchcc! Umm... well I mean it would be *possible* to make a game like that, but I can't say I intend to... Needs a lot more design/graphics compared to CmdRunner, which is just simple 3d shapes. But... I would certainly both applaud and help/support anybody else trying to make a 2d runner/sh...
by misol101
19 Jun 2016 15:48
Forum: DOS Batch Forum
Topic: Listb - a file explorer/viewer inside the console window
Replies: 27
Views: 127826

Re: Listb - a file explorer/viewer inside the console window

Thanks aGerman, looks worth looking into.

I suppose the resource file might make the final executable look more "normal" for the Windows environment.
by misol101
19 Jun 2016 15:44
Forum: DOS Batch Forum
Topic: Cmdgfx - draw 3d and graphic primitives (polygons,circles etc) in cmd window (now with 24-bit RGB support!)
Replies: 125
Views: 229217

Re: Cmdgfx - draw graphic primitives (polygons,circles etc) in cmd line window

Archive updated once more, link at the top. Added a few more 3d options for z culling/sorting (see top for syntax).

Also added 3dworld.bat, a little FPS 3d world which you can explore using the cursor keys. The 3d engine is quite limited for this type of thing but it works ok for this example.
by misol101
18 Jun 2016 10:34
Forum: DOS Batch Forum
Topic: CmdRunner - 3d game (CubeRunner clone)
Replies: 44
Views: 44217

Re: CmdRunner - 3d game (CubeRunner clone)

The game script looks as follows: :: CmdRunner : Mikael Sollenborn 2016 @echo off setlocal ENABLEDELAYEDEXPANSION bg font 0 set W=180&set H=110 mode con lines=%H% cols=%W% mode con rate=31 delay=0 cmdwiz showcursor 0 color 07 for /F "Tokens=1 delims==" %%v in ('set') do if not %%v==H i...
by misol101
18 Jun 2016 10:28
Forum: DOS Batch Forum
Topic: CmdRunner - 3d game (CubeRunner clone)
Replies: 44
Views: 44217

CmdRunner - 3d game (CubeRunner clone)

Here's a little game using the latest functionality of my external tool cmdgfx. Link: http://www.mediafire.com/download/wj9p99po9tj92tz/cmdrunner.zip It's a clone of the iOS game CubeRunner, where you are supposed to avoid oncoming obstacles by navigating your ship. Press/hold cursor left/right to s...
by misol101
18 Jun 2016 10:19
Forum: DOS Batch Forum
Topic: Cmdgfx - draw 3d and graphic primitives (polygons,circles etc) in cmd window (now with 24-bit RGB support!)
Replies: 125
Views: 229217

Re: Cmdgfx - draw graphic primitives (polygons,circles etc) in cmd line window

Archive was updated (see top). Now there is official support for 3d objects (ply,plg,obj), and "text" operation was added as well. See top post for syntax. Run gfxtest4.bat to display 17 different 3d objects, with 3 different draw modes. No texture mapping for 3d objects at the moment, may...