DrawTXT.exe graphic animations to run on console and create your 2D games
Moderator: DosItHelp
DrawTXT.exe graphic animations to run on console and create your 2D games
text drawing or as DrawTXT
flat text graphics engine. in a simple way to run and create silver games shapes, first versions.
For more information visit this link where I leave the files needed to play with it and you believe great things.
Motor Grafico de Pixeles 2D | 2D Pixel Graphic Engine
#################################################################
LINK: http://www.mediafire.com/file/jqey5t1pd ... T.rar/file #
#################################################################
Motor Grafico de Pixeles 2D y 3D | 2D and 3D Pixel Graphic Engine
#####################################################
Link: https://github.com/DEQ2000-cyber/PixelDrawTXT.git #
#####################################################
for questions, help and some recommendations for the project later, send me a message to the contact:danieldechingolo@outlook.es | danaielhacker555@gmail.com
flat text graphics engine. in a simple way to run and create silver games shapes, first versions.
For more information visit this link where I leave the files needed to play with it and you believe great things.
Motor Grafico de Pixeles 2D | 2D Pixel Graphic Engine
#################################################################
LINK: http://www.mediafire.com/file/jqey5t1pd ... T.rar/file #
#################################################################
Motor Grafico de Pixeles 2D y 3D | 2D and 3D Pixel Graphic Engine
#####################################################
Link: https://github.com/DEQ2000-cyber/PixelDrawTXT.git #
#####################################################
for questions, help and some recommendations for the project later, send me a message to the contact:danieldechingolo@outlook.es | danaielhacker555@gmail.com
Last edited by DQ2000 on 27 Dec 2019 18:58, edited 1 time in total.
Re: DrawTXT.exe graphic animations to run on console and create your 2D games
the updates will be in the rar file to / zip of the first page
To create the sprite you must use the color palette provided by CMD "color /?"
EXAMPLE:
eeee
ecce
ecce
eeee
__________________
save it as .txt
in the rar file of the download contains some examples and how it works in detail.
greetings to all
To create the sprite you must use the color palette provided by CMD "color /?"
EXAMPLE:
eeee
ecce
ecce
eeee
__________________
save it as .txt
in the rar file of the download contains some examples and how it works in detail.
greetings to all
Re: DrawTXT.exe graphic animations to run on console and create your 2D games
NEW UPDATES!
new graphics functions were added
USAGE:
PixelDrawTXT.exe [P.x] [P.y] [B.x] [B.y] [F.bool] [F.c] [F.Dc]
Estos Ptimeros Parametros Deben Ser 'RELLENADOS'
********************************************************
P.Bx posicion inicial en [X] del buffer. : podra mover/desplazar el buffer por completo en coordenada [X].
P.BY posicion inicial en [X] del buffer. : podra mover/desplazar el buffer por completo en coordenada [Y].
B.x el tamanio del buffer en [X]. : para el mejor tamanio ponga 14.
B.y el tamanio del buffer en [Y]. : para el mejor tamanio ponga 8.
F.bool activar el fondo. : ACTIVADO = [1] DESACTIVADO = [0], esta activacion de fondo se usa con [F.bool].
F.c color del fondo. : establece un COLOR para el fondo.
F.Dc brillo de color del fondo : disminuye o aumenta el brillo de los colores.
si no quiere cambiarlos por defecto ponga 0.
###############################################################################################################
LINEA [X1] [Y1] [X2] [Y2] [Grosor] [Color]
CIRCULO [X] [Y] [Radio] [Grosor] [Color]
CIRCULOF [X] [Y] [Radio] [Color]
ELIPSE [X1] [Y1] [X2] [Y2] [Grosor] [Color]
ELIPSEF [X1] [Y1] [X2] [Y2] [Color]
TEXTO ['Texto'] [X] [Y] [Color]
RECTANGULO [X1] [Y1] [X2] [Y2] [Grosor] [Color]
RECTANGULOF [X1] [Y1] [X2] [Y2] [Color]
POLYTRIANGULO [X1] [Y1] [X2] [Y2] [X3] [Y3] [Grosor] [Color]
POLYTRIANGULOF [X1] [Y1] [X2] [Y2] [X3] [Y3] [Color]
POLYCUADRADO [X1] [Y1] [X2] [Y2] [X3] [Y3] [X4] [Y4] [Grosor] [Color]
POLYCUADRADOF [X1] [Y1] [X2] [Y2] [X3] [Y3] [X4] [Y4] [Color]
###############################################################################################################
SPRITE [
SPRITE hoja del dibujo !DRAW! acepta cualquier extencion. : si el nombre de su
sprite contiene un separador/space en cierrelo con parentesis.
P.Ax pixeles en ancho [X] size. : podra deformar y escalar en [X].
P.Ay pixeles en altura [Y] size. : podra deformar y escalar en [Y].
X.p posicion en X. : coordenada en [X] del dibujo.
Y.p posicion en Y. : coordenada en [Y] del dibujo.
C.d brillo de color. : disminuye o aumenta el brillo de los colores. si no quiere cambiarlos por defecto ponga 0.
M.d dibujar [SI]/[NO] : mostrar Draw/Dibujo/Sprite 1=[SI] 0=[NO].
]
---------------------------------------------------------------------------------------------------------------
new graphics functions were added
USAGE:
PixelDrawTXT.exe [P.x] [P.y] [B.x] [B.y] [F.bool] [F.c] [F.Dc]
Estos Ptimeros Parametros Deben Ser 'RELLENADOS'
********************************************************
P.Bx posicion inicial en [X] del buffer. : podra mover/desplazar el buffer por completo en coordenada [X].
P.BY posicion inicial en [X] del buffer. : podra mover/desplazar el buffer por completo en coordenada [Y].
B.x el tamanio del buffer en [X]. : para el mejor tamanio ponga 14.
B.y el tamanio del buffer en [Y]. : para el mejor tamanio ponga 8.
F.bool activar el fondo. : ACTIVADO = [1] DESACTIVADO = [0], esta activacion de fondo se usa con [F.bool].
F.c color del fondo. : establece un COLOR para el fondo.
F.Dc brillo de color del fondo : disminuye o aumenta el brillo de los colores.
si no quiere cambiarlos por defecto ponga 0.
###############################################################################################################
LINEA [X1] [Y1] [X2] [Y2] [Grosor] [Color]
CIRCULO [X] [Y] [Radio] [Grosor] [Color]
CIRCULOF [X] [Y] [Radio] [Color]
ELIPSE [X1] [Y1] [X2] [Y2] [Grosor] [Color]
ELIPSEF [X1] [Y1] [X2] [Y2] [Color]
TEXTO ['Texto'] [X] [Y] [Color]
RECTANGULO [X1] [Y1] [X2] [Y2] [Grosor] [Color]
RECTANGULOF [X1] [Y1] [X2] [Y2] [Color]
POLYTRIANGULO [X1] [Y1] [X2] [Y2] [X3] [Y3] [Grosor] [Color]
POLYTRIANGULOF [X1] [Y1] [X2] [Y2] [X3] [Y3] [Color]
POLYCUADRADO [X1] [Y1] [X2] [Y2] [X3] [Y3] [X4] [Y4] [Grosor] [Color]
POLYCUADRADOF [X1] [Y1] [X2] [Y2] [X3] [Y3] [X4] [Y4] [Color]
###############################################################################################################
SPRITE [
SPRITE hoja del dibujo !DRAW! acepta cualquier extencion. : si el nombre de su
sprite contiene un separador/space en cierrelo con parentesis.
P.Ax pixeles en ancho [X] size. : podra deformar y escalar en [X].
P.Ay pixeles en altura [Y] size. : podra deformar y escalar en [Y].
X.p posicion en X. : coordenada en [X] del dibujo.
Y.p posicion en Y. : coordenada en [Y] del dibujo.
C.d brillo de color. : disminuye o aumenta el brillo de los colores. si no quiere cambiarlos por defecto ponga 0.
M.d dibujar [SI]/[NO] : mostrar Draw/Dibujo/Sprite 1=[SI] 0=[NO].
]
---------------------------------------------------------------------------------------------------------------
Last edited by DQ2000 on 29 Nov 2019 20:46, edited 1 time in total.
Re: DrawTXT.exe graphic animations to run on console and create your 2D games
END OF PROJECT.......
Re: DrawTXT.exe graphic animations to run on console and create your 2D games
Hello @DQ2000, I found this is a nice project related to the goal of write small games using batch.
You use an easy of undertand encoding of the image to character, one color character for be used with a "block character". But if you not use a font of 1x1 is possible use a combination of other characters where you choose a different color for the background and the foreground, resulting visually in other "color" not used in the 16 color palette (technique used in the tool bit8img by kkziomek). The previous is useful for cmd prior windows 10, but since windows 10 is possible use a 24 bit colors using the escape sequences.
I think that for handle graphics for a batch game the best is not rely that to external console applications, because you are opening and close process of the same executable image many times by seconds.
Also I think that the best approach is not use the characters for draw images. because for emulate the pixel size you need choose a font of 1x1 and that is a lot of memory.
Is better use batch as the controller and draw the graphics using gdi. But batch can be still slow.
You use an easy of undertand encoding of the image to character, one color character for be used with a "block character". But if you not use a font of 1x1 is possible use a combination of other characters where you choose a different color for the background and the foreground, resulting visually in other "color" not used in the 16 color palette (technique used in the tool bit8img by kkziomek). The previous is useful for cmd prior windows 10, but since windows 10 is possible use a 24 bit colors using the escape sequences.
I think that for handle graphics for a batch game the best is not rely that to external console applications, because you are opening and close process of the same executable image many times by seconds.
Also I think that the best approach is not use the characters for draw images. because for emulate the pixel size you need choose a font of 1x1 and that is a lot of memory.
Is better use batch as the controller and draw the graphics using gdi. But batch can be still slow.
Last edited by carlos on 22 Dec 2019 21:08, edited 3 times in total.
Re: DrawTXT.exe graphic animations to run on console and create your 2D games
Just a word of caution: I found that without a client/server setup similar to what darkbox and cmdgfx uses, it is quite hard to achieve a consistent frame rate in a Batch game across different computers (at least when using external programs such as bg,cmdgfx,this)
Of course, if the game is not an ”action game” (where high FPS and consistent frame rate is essential), then it is much less important.
Of course, if the game is not an ”action game” (where high FPS and consistent frame rate is essential), then it is much less important.
Re: DrawTXT.exe graphic animations to run on console and create your 2D games
Hi guys, I have closed the updates on this file because nobody is interested. Misol moved me a lot and wanted to follow him.
The graphics used by GDI is pure GDI and the pixel output is not 8 * 8. I only configure that.
They can adjust the pixels of any size:
"Sprite.txt" [PixelX] [PixelY] [Center] [PositionX] [PositionY] [Opaque Colors]
The graphics used by GDI is pure GDI and the pixel output is not 8 * 8. I only configure that.
They can adjust the pixels of any size:
"Sprite.txt" [PixelX] [PixelY] [Center] [PositionX] [PositionY] [Opaque Colors]
Re: DrawTXT.exe graphic animations to run on console and create your 2D games
Hi. add new updates and new version of DrawTXT.exe is now called PixelDrawTXT.exe.
The updates are:
1x1 pixel circles
and circles in 8x8
in ascii format
but really they are still pixels.
this takes
point / circles / trangles / ECT ....
when you start the PixelDrawTXT without parameters it will give you explanations of its use ...
It also has option for images ".BMP"
and asked by "carlos" that sprites have no rgb values of colors in their pixels.
add an extension of
....... SpriteRGB "sprite1.txt" "color palette.txt" 8 8 1 45 78 1 1
##################################################################################
Download: https://github.com/DEQ2000-cyber/PixelDrawTXT
##################################################################################
The updates are:
1x1 pixel circles
and circles in 8x8
in ascii format
but really they are still pixels.
this takes
point / circles / trangles / ECT ....
when you start the PixelDrawTXT without parameters it will give you explanations of its use ...
It also has option for images ".BMP"
and asked by "carlos" that sprites have no rgb values of colors in their pixels.
add an extension of
....... SpriteRGB "sprite1.txt" "color palette.txt" 8 8 1 45 78 1 1
##################################################################################
Download: https://github.com/DEQ2000-cyber/PixelDrawTXT
##################################################################################
Re: DrawTXT.exe graphic animations to run on console and create your 2D games
New commands!
- Attachments
-
- Sin título3.png (16.29 KiB) Viewed 29126 times
Re: DrawTXT.exe graphic animations to run on console and create your 2D games
Game Simple Batch/Lotes ZELDA!
pixel mode graphic, and 8x8 ascii mode graphics. now with 'BMP' images, key detection with its own Errorlevel output.
#############################################################
PixelDrawTXT-v3.exe
USAGE:
NOTA: Para mas Ayuda Pase por parametros help [argumentos]
[pixelP] [linea] [circulo] [circuloF] [elipse] [elipseF] [text]
[rectangulo] [rectanguloF] [polyrectangulo] [polyrectanguloF]
[Polytriangulo] [polytrianguloF]
PixelDrawTXT-v3.exe [P.x] [P.y] [B.x] [B.y] [F.bool] [F.c] [F.Dc]
#****************************************************************************************************************************#
# #
# P.BY posicion inicial en [X] del buffer. : podra mover/desplazar el buffer por completo en coordenada [Y]. #
# P.Bx posicion inicial en [X] del buffer. : podra mover/desplazar el buffer por completo en coordenada [X]. #
# B.x el tamanio del buffer en [X]. : para el mejor tamanio ponga 14. #
# B.y el tamanio del buffer en [Y]. : para el mejor tamanio ponga 8. #
# F.bool activar el fondo. : ACTIVADO - 1 DESACTIVADO - 0, esta activacion de fondo se usa con [F.c]. #
# F.c color del fondo. : establece un COLOR para el fondo. #
# F.Dc brillo de color del fondo : disminuye o aumenta el brillo de los colores. #
# si no quiere cambiarlos por defecto ponga 0. #
# #
##############################################################################################################################
# #
# PIXEL [X] [Y] [Color] #
# PIXELP [X] [Y] [Grosor] [Color] #
# LINEA [X1] [Y1] [X2] [Y2] [Grosor] [Color] #
# CIRCULO [X] [Y] [Radio] [Grosor] [Color] #
# CIRCULOF [X] [Y] [Radio] [Color] #
# CIRCULOTXT [X] [Y] [Radio] [Color] #
# CIRCULOFTXT [X] [Y] [Radio] [Color] #
# ELIPSE [X1] [Y1] [X2] [Y2] [Grosor] [Color] #
# ELIPSEF [X1] [Y1] [X2] [Y2] [Color] #
# ELIPSETXT [X1] [Y1] [X2] [Y2] [Color] #
# ELIPSEFTXT [X1] [Y1] [X2] [Y2] [Color] #
# TEXTO ['Texto'] [X] [Y] [ColorF] [ColorB/transparent] #
# RECTANGULO [X1] [Y1] [X2] [Y2] [Grosor] [Color] #
# RECTANGULOF [X1] [Y1] [X2] [Y2] [Color] #
# POLYRECTANGULO [X1] [Y1] [X2] [Y2] [X3] [Y3] [X4] [Y4] [Grosor] [Color] #
# POLYRECTANGULOF [X1] [Y1] [X2] [Y2] [X3] [Y3] [X4] [Y4] [Color] #
# POLYTRINAGULO [X1] [Y1] [X2] [Y2] [X3] [Y3] [Grosor] [Color] #
# POLYTRINAGULOF [X1] [Y1] [X2] [Y2] [X3] [Y3] [Color] #
# IMAGEN [X1] [Y1] [x2] [Y2] [Sprite.bmp] #
# #
##############################################################################################################################
# SPRITE [Sprite.txt] [P.Ax] [P.Ay] [Mostrar en Centro[0]/[1]] [X.p] [Y.p] [Brillo[0]/[....]] [M.d[0]/[1]] #
# SPRITE hoja del dibujo !DRAW! acepta extencion .dq . : si el nombre de su. #
# P.Ax pixeles en ancho [X] size. : podra deformar y escalar en [X]. #
# P.Ay pixeles en altura [Y] size. : podra deformar y escalar en [Y]. #
# M.c Mostar el Dibujo en modo Centro sobre su eje X , Y. [SI]/[NO] 1=[SI] 0=[NO]. #
# X.p posicion en X. : coordenada en [X] del dibujo. #
# Y.p posicion en Y. : coordenada en [Y] del dibujo. #
# C.d brillo de color. : disminuye o aumenta el brillo de los colores. si no quiere cambiarlos por defecto ponga 0. #
# M.d dibujar [SI]/[NO] : mostrar Draw/Dibujo/Sprite 1=[SI] 0=[NO]. #
# -------------------------------------------------------------------------------------------------------------------------- #
# SPRITE [Sprite.txt] [PalColor] [P.Ax] [P.Ay] [Mostrar en Centro[0]/[1]] [X.p] [Y.p] [Brillo[0]/[....]] #
# [M.d[0]/[1]] #
# SPRITE hoja del dibujo !DRAW! acepta extencion .dq . : si el nombre de su. #
# PALCOLOR Paleta de [Color] Remplaza los [Colores] de la paleta de [Colores] 0....9, A......Z. concolor [R,G,B] #
# sprite contiene un separador/space en cierrelo con parentesis. #
# P.Ax pixeles en ancho [X] size. : podra deformar y escalar en [X]. #
# P.Ay pixeles en altura [Y] size. : podra deformar y escalar en [Y]. #
# M.c Mostar el Dibujo en modo Centro sobre su eje X , Y. [SI]/[NO] 1=[SI] 0=[NO]. #
# X.p posicion en X. : coordenada en [X] del dibujo. #
# Y.p posicion en Y. : coordenada en [Y] del dibujo. #
# C.d brillo de color. : disminuye o aumenta el brillo de los colores. si no quiere cambiarlos por defecto ponga 0. #
# M.d dibujar [SI]/[NO] : mostrar Draw/Dibujo/Sprite 1=[SI] 0=[NO]. #
# sprite contiene un separador/space en cierrelo con parentesis. #
# #
# #
# #
# #
##############################################################################################################################
pixel mode graphic, and 8x8 ascii mode graphics. now with 'BMP' images, key detection with its own Errorlevel output.
#############################################################
PixelDrawTXT-v3.exe
USAGE:
NOTA: Para mas Ayuda Pase por parametros help [argumentos]
[pixelP] [linea] [circulo] [circuloF] [elipse] [elipseF] [text]
[rectangulo] [rectanguloF] [polyrectangulo] [polyrectanguloF]
[Polytriangulo] [polytrianguloF]
PixelDrawTXT-v3.exe [P.x] [P.y] [B.x] [B.y] [F.bool] [F.c] [F.Dc]
#****************************************************************************************************************************#
# #
# P.BY posicion inicial en [X] del buffer. : podra mover/desplazar el buffer por completo en coordenada [Y]. #
# P.Bx posicion inicial en [X] del buffer. : podra mover/desplazar el buffer por completo en coordenada [X]. #
# B.x el tamanio del buffer en [X]. : para el mejor tamanio ponga 14. #
# B.y el tamanio del buffer en [Y]. : para el mejor tamanio ponga 8. #
# F.bool activar el fondo. : ACTIVADO - 1 DESACTIVADO - 0, esta activacion de fondo se usa con [F.c]. #
# F.c color del fondo. : establece un COLOR para el fondo. #
# F.Dc brillo de color del fondo : disminuye o aumenta el brillo de los colores. #
# si no quiere cambiarlos por defecto ponga 0. #
# #
##############################################################################################################################
# #
# PIXEL [X] [Y] [Color] #
# PIXELP [X] [Y] [Grosor] [Color] #
# LINEA [X1] [Y1] [X2] [Y2] [Grosor] [Color] #
# CIRCULO [X] [Y] [Radio] [Grosor] [Color] #
# CIRCULOF [X] [Y] [Radio] [Color] #
# CIRCULOTXT [X] [Y] [Radio] [Color] #
# CIRCULOFTXT [X] [Y] [Radio] [Color] #
# ELIPSE [X1] [Y1] [X2] [Y2] [Grosor] [Color] #
# ELIPSEF [X1] [Y1] [X2] [Y2] [Color] #
# ELIPSETXT [X1] [Y1] [X2] [Y2] [Color] #
# ELIPSEFTXT [X1] [Y1] [X2] [Y2] [Color] #
# TEXTO ['Texto'] [X] [Y] [ColorF] [ColorB/transparent] #
# RECTANGULO [X1] [Y1] [X2] [Y2] [Grosor] [Color] #
# RECTANGULOF [X1] [Y1] [X2] [Y2] [Color] #
# POLYRECTANGULO [X1] [Y1] [X2] [Y2] [X3] [Y3] [X4] [Y4] [Grosor] [Color] #
# POLYRECTANGULOF [X1] [Y1] [X2] [Y2] [X3] [Y3] [X4] [Y4] [Color] #
# POLYTRINAGULO [X1] [Y1] [X2] [Y2] [X3] [Y3] [Grosor] [Color] #
# POLYTRINAGULOF [X1] [Y1] [X2] [Y2] [X3] [Y3] [Color] #
# IMAGEN [X1] [Y1] [x2] [Y2] [Sprite.bmp] #
# #
##############################################################################################################################
# SPRITE [Sprite.txt] [P.Ax] [P.Ay] [Mostrar en Centro[0]/[1]] [X.p] [Y.p] [Brillo[0]/[....]] [M.d[0]/[1]] #
# SPRITE hoja del dibujo !DRAW! acepta extencion .dq . : si el nombre de su. #
# P.Ax pixeles en ancho [X] size. : podra deformar y escalar en [X]. #
# P.Ay pixeles en altura [Y] size. : podra deformar y escalar en [Y]. #
# M.c Mostar el Dibujo en modo Centro sobre su eje X , Y. [SI]/[NO] 1=[SI] 0=[NO]. #
# X.p posicion en X. : coordenada en [X] del dibujo. #
# Y.p posicion en Y. : coordenada en [Y] del dibujo. #
# C.d brillo de color. : disminuye o aumenta el brillo de los colores. si no quiere cambiarlos por defecto ponga 0. #
# M.d dibujar [SI]/[NO] : mostrar Draw/Dibujo/Sprite 1=[SI] 0=[NO]. #
# -------------------------------------------------------------------------------------------------------------------------- #
# SPRITE [Sprite.txt] [PalColor] [P.Ax] [P.Ay] [Mostrar en Centro[0]/[1]] [X.p] [Y.p] [Brillo[0]/[....]] #
# [M.d[0]/[1]] #
# SPRITE hoja del dibujo !DRAW! acepta extencion .dq . : si el nombre de su. #
# PALCOLOR Paleta de [Color] Remplaza los [Colores] de la paleta de [Colores] 0....9, A......Z. concolor [R,G,B] #
# sprite contiene un separador/space en cierrelo con parentesis. #
# P.Ax pixeles en ancho [X] size. : podra deformar y escalar en [X]. #
# P.Ay pixeles en altura [Y] size. : podra deformar y escalar en [Y]. #
# M.c Mostar el Dibujo en modo Centro sobre su eje X , Y. [SI]/[NO] 1=[SI] 0=[NO]. #
# X.p posicion en X. : coordenada en [X] del dibujo. #
# Y.p posicion en Y. : coordenada en [Y] del dibujo. #
# C.d brillo de color. : disminuye o aumenta el brillo de los colores. si no quiere cambiarlos por defecto ponga 0. #
# M.d dibujar [SI]/[NO] : mostrar Draw/Dibujo/Sprite 1=[SI] 0=[NO]. #
# sprite contiene un separador/space en cierrelo con parentesis. #
# #
# #
# #
# #
##############################################################################################################################
Re: DrawTXT.exe graphic animations to run on console and create your 2D games
I am pleased to see you have taken over this madness.
Finally I can retire in peace
Finally I can retire in peace
Re: DrawTXT.exe graphic animations to run on console and create your 2D games
New update in server mode.
and some new commands
new repository ------> https://github.com/DEQ2000-cyber/PixelDrawTXT-S-V3
and some new commands
new repository ------> https://github.com/DEQ2000-cyber/PixelDrawTXT-S-V3
Re: DrawTXT.exe graphic animations to run on console and create your 2D games
new version but in english graphics engine.
for people who speak english
Link: ----------------> https://github.com/DEQ2000-cyber/PixelD ... V3-English
for people who speak english
Link: ----------------> https://github.com/DEQ2000-cyber/PixelD ... V3-English
Re: DrawTXT.exe graphic animations to run on console and create your 2D games
This is cool, is the source available ?
I'd like to make fancier menus than ascii menus sometimes, this would be great for that !
I'd like to make fancier menus than ascii menus sometimes, this would be great for that !