中国DOS联盟论坛

China DOS Union

-- Unite DOS · Advance DOS · Grow DOS --
Union site: www.cn-dos.net Forum site: www.cn-dos.net/forum
Guest | Log in | Register | Members | Search | China DOS Union
中国DOS联盟论坛
The time now is 2026-08-12 09:52
47,811 topics / 349,897 posts / today 0 new / 48,256 members
DOS批处理 & 脚本技术(批处理室) » [Special Effect] Digital matrix appears point by point, random
Printable Version  5,358 / 15
Floor1 523066680 Posted 2009-01-27 20:54
银牌会员 Posts 1,133 Credits 2,362
Everyone still remembers the visual shock of the opening ceremony of the 2008 Olympic Games!
This post discusses the countdown with the drum-beating and the effect of the digital formation gradually appearing.

It doesn't require being exactly the same, it can be achieved step by step.
Reply just for interest, everyone gives points if it's good, let's challenge together.

[ Last edited by 523066680 on 2009-3-14 at 22:18 ]
Floor2 wxcute Posted 2009-01-27 21:55
中级用户 Posts 211 Credits 458
Draw each character one by one with your dot matrix code ^_^
Floor3 523066680 Posted 2009-01-27 22:36
银牌会员 Posts 1,133 Credits 2,362
No translation needed as the content is in Chinese and not in English. So the output remains "体力活没人干耶…… 待。。。。。。"
Floor4 523066680 Posted 2009-01-30 16:28
银牌会员 Posts 1,133 Credits 2,362
Forget it. Just have some fun. It's worth being tired. I made it very roughly. Don't scold me哦



[ Last edited by 523066680 on 2009-1-30 at 20:58 ]
Floor5 523066680 Posted 2009-10-28 21:25
银牌会员 Posts 1,133 Credits 2,362
Bumping my old post, in fact there are repetitive elements with a certain already posted thread
Floor6 Evangel Posted 2009-10-31 15:23
初级用户 Posts 95 Credits 145
A very passionate brother... always some creative things are posted
Floor7 523066680 Posted 2009-10-31 22:58
银牌会员 Posts 1,133 Credits 2,362
Brush another effect
Floor8 BeeButterflyDos Posted 2009-11-17 01:14
新手上路 Posts 16 Credits 17
LZ, hello!

I am a beginner of batch processing. Your code is very interesting. I have studied it carefully, but there is still one place I don't understand very well. I hope you can give me some advice, and I am very grateful. I also hope that the experts who see this problem can help solve it.

for /f "delims=_ tokens=3,4" %%a in ('set x_') do (
set /a x=%%b+1
call set l%%a=!l%%a:~0,%%b!*%%l%%a:~!x!%%
call :a 50
cls

What is the role of ('set x_') in the above code? I don't understand.
Floor9 523066680 Posted 2009-11-17 13:37
银牌会员 Posts 1,133 Credits 2,362
Directly using `set` will list all existing variables.
Using `set a` will list all existing variables starting with `a`, and the variables are listed in alphabetical order by name.

Random dot drawing:
Initially, I read myself and read the coordinates of the asterisk characters, assigning them to the variable `x_random number`. When reading one by one, the dots are read in order. When I then use `set x_` to list all variables starting with `x_`, the random numbers after `x_` are arranged from start to end, causing the order to be disrupted.
Thus, it is equivalent to randomly drawing these dots, achieving a gradual display effect.
Floor10 BeeButterflyDos Posted 2009-11-18 16:02
新手上路 Posts 16 Credits 17
Benefited a lot, thank you the building owner
Floor11 heixing Posted 2009-12-30 23:16
初级用户 Posts 16 Credits 28
Quite nice to look at, not bad, learning
Floor12 qinchun36 Posted 2009-12-31 10:13
高级用户 Posts 400 Credits 609
Ah, I've always been not into DOS "graphics", it's really hard to look at. I'll study it carefully when I have time. Both of these examples are really good, I'll bookmark them first.
Floor13 sl543001 Posted 2010-01-08 11:10
中级用户 Posts 225 Credits 499
Let's study together when we have time!
Floor14 jarry0932 Posted 2010-01-10 14:18
初级用户 Posts 122 Credits 128
The effect of the brother on the 4th floor is really good~
Floor15 gudou Posted 2011-01-04 12:02
初级用户 Posts 29 Credits 43
Great! But that countdown from 54321 had an error when running in the Visual Bat environment. Fortunately, I saved it as another file and tried again, really a gem!
1 2  Next
[ Contact the Union admin team - 中国DOS联盟 - Standard version ]
Sponsored by ifanr Inc | © 2001–2023