|
sl543001
中级用户
  
积分 499
发帖 225
注册 2008-12-30
状态 离线
|
    『楼 主』:
[推荐]SYBC脚本实例教程 彩色五子棋 10-04-18更新
使用 LLM 解释/回答一下
3楼有更新,这里有截图
为了解决CMD/BAT脚本的颜色单调界面呆板问题,本人开发了,用于制作彩色脚本的工具――SYBC。该工具已将开发并更新了一段时间,而且我也制作了数个基于SYBC的彩色脚本,用于测试SYBC的稳定性和易用性。这段时间,SYBC及其相关脚本游戏,已同步更新到当前稳定版为1.1.31,加入了完全无三方支持。
但由于目前最新教程,却只有3月10日为1.1.21版准备的的一张图片教程,看起来没有那么直观,详细,也不容易让人理解。而且也没有提到一些新的调用方式,现在已经明显不能满足大家的需求。
所以握在此编写一个正式的SYBC脚本教程,并应网友要求加上五子棋脚本的彩色版开发全过程。一步步的以“代码+截图+解释”的方式带领大家,一起开发一个全彩版的,五子棋脚本游戏。所有代码中,新加或修改的内容都会用蓝色标记出来,大家可以很容易从大量代码中找出应该注意的部分。
希望可以以此,来帮助网友们更好,更顺手地利用SYBC编写出属于自己的彩色脚本,并丰富大家的脚本生活。
大家对SYBC及其相关脚本以及本教程有任何的:意见,建议,不解和疑问,欢迎联系我的QQ: 354324773 或加QQ群:3401238
Last edited by sl543001 on 2010-4-18 at 23:06 ]
There is an update on the 3rd floor, and there are screenshots here
To solve the problem of monotonous color and dull interface of CMD/BAT scripts, I have developed a tool called SYBC for making colorful scripts. This tool has been developed and updated for some time, and I have also made several colorful scripts based on SYBC for testing the stability and ease of use of SYBC. During this period, SYBC and its related script games have been updated synchronously to the current stable version 1.1.31, which has added full non-third-party support.
However, the current latest tutorial is only an image tutorial prepared for version 1.1.21 on March 10th. It seems not so intuitive, detailed, and not easy to understand. And it does not mention some new calling methods, which can no longer meet everyone's needs obviously.
So I am writing an official SYBC script tutorial here and, as required by netizens, adding the whole development process of the colorful version of the Go game script. Step by step, in the way of "code + screenshot + explanation", I will lead everyone to develop a full-color version of the Go game script together. In all the codes, the newly added or modified content will be marked in blue, so that everyone can easily find the parts that should be noted from a large number of codes.
I hope this can help netizens better and more smoothly use SYBC to write their own colorful scripts and enrich everyone's script life.
Everyone is welcome to contact me at QQ: 354324773 or join QQ group: 3401238 for any opinions, suggestions, puzzles and questions about SYBC and its related scripts and this tutorial.
Last edited by sl543001 on 2010-4-18 at 23:06 ]
附件
1: SYBC脚本实例教程 (彩色五子棋)(上).rar (2010-4-17 22:48, 159.75 KiB,下载次数: 136)
附件
2: 5ZQ.GIF (2010-4-18 22:53, 23.84 KiB,下载次数: 9)
|

SYBNQQ:354324773
|
|
2010-4-17 22:48 |
|
|
yiqingnan
初级用户
 
积分 38
发帖 24
注册 2010-3-21
状态 离线
|
『第 2 楼』:
使用 LLM 解释/回答一下
常來常往
謝謝分享
Come often, come often
Thanks for sharing
|
|
2010-4-18 10:57 |
|
|
sl543001
中级用户
  
积分 499
发帖 225
注册 2008-12-30
状态 离线
|
『第 3 楼』:
使用 LLM 解释/回答一下
更新:
目前目录
一、 初衷前言 2
二、 准备工作 SYBC无三方模块框架 2
三、 破门一步 最简单的彩色脚本 5
四、 第一实例 先搞个3子棋玩玩 6
五、 代码进阶 折叠多行代码为一行 7
六、 正式开工 制作五子棋双色小样 8
七、 重要一步 游戏界面上色 13
八、 折叠优化 减少代码并加速脚本 15
九、 再进一步 无三方 不回车 游戏控制 18
十、 今夜到此 明日继续 23
十一、 预告 23
十二、 智能判断 判断是否有人两成五子(暂无) 23
十三、 附加功能 添加思考计时和战局统计(暂无) 23
十四、 自动更新 给脚本增加自动更新功能(暂无) 23
十五、 记录功能 添加记录功能和战绩上传功能(暂无) 23
十六、 联机对战 利用ASP进行玩家之间的联网对战(暂无) 23
十七、 人工智能 给脚本加上各种级别的AI智能(暂无) 23
Last edited by sl543001 on 2010-4-18 at 22:57 ]
Update:
Current contents
I. Original Intention and Preface 2
II. Preparation Work – SYBC Framework Without Third - Party Modules 2
III. A Step to Break In – The Simplest Color Script 5
IV. First Example – Let's Play a 3 - in - a - Row Game First 6
V. Code Advancement – Fold Multiple Lines of Code into One Line 7
VI. Formal Start – Make a Two - color Sample of Gobang 8
VII. Important Step – Color the Game Interface 13
VIII. Fold Optimization – Reduce Code and Accelerate the Script 15
IX. Further Step – No Third Party, No Enter Key, Game Control 18
X. Stop for Tonight, Continue Tomorrow 23
XI. Preview 23
XII. Intelligent Judgment – Judge Whether Someone Has Two Lines of Five Pieces (Not Available for Now) 23
XIII. Additional Function – Add Thinking Timing and Battle Situation Statistics (Not Available for Now) 23
XIV. Automatic Update – Add Automatic Update Function to the Script (Not Available for Now) 23
XV. Recording Function – Add Recording Function and Record Results Upload Function (Not Available for Now) 23
XVI. Online Battle – Use ASP for Online Battle Between Players (Not Available for Now) 23
XVII. Artificial Intelligence – Add AI Intelligence of Various Levels to the Script (Not Available for Now)
Last edited by sl543001 on 2010 - 4 - 18 at 22:57 ]
附件
1: SYBC脚本实例教程 (彩色五子棋) 2010-4-18.rar (2010-4-18 22:53, 232.16 KiB,下载次数: 59)
|

SYBNQQ:354324773
|
|
2010-4-18 22:53 |
|
|
ZJHJ
高级用户
   
积分 609
发帖 374
注册 2006-8-2
状态 离线
|
『第 4 楼』:
使用 LLM 解释/回答一下
期待SYBC早日支持鼠标
Looking forward to SYBC supporting the mouse as soon as possible
|
|
2010-4-19 20:55 |
|
|
sl543001
中级用户
  
积分 499
发帖 225
注册 2008-12-30
状态 离线
|
『第 5 楼』:
使用 LLM 解释/回答一下
昨天更新SYBC到1.1.37,支持不覆盖原位置颜色写入数据,用起来有点像echo
例如:call :SYBN 10000$##SYBN
$##表示不添加新颜色
I updated SYBC to 1.1.37 yesterday, which supports writing data without overwriting the original position color, and it's a bit like echo. For example: call :SYBN 10000$##SYBN. $## means not adding new color
|

SYBNQQ:354324773
|
|
2010-4-20 15:30 |
|
|
houwenhui
新手上路

积分 14
发帖 9
注册 2010-7-3
状态 离线
|
『第 6 楼』:
使用 LLM 解释/回答一下
太有创意了 好难啊 看不太懂
So creative. So difficult. Hard to understand.
|
|
2010-7-9 18:04 |
|
|
sl543001
中级用户
  
积分 499
发帖 225
注册 2008-12-30
状态 离线
|
『第 7 楼』:
使用 LLM 解释/回答一下
看教程啊,讲的还算详细的
Look at the tutorial, it's still relatively detailed
|

SYBNQQ:354324773
|
|
2010-7-10 22:02 |
|
|
lin198159
初级用户
 
积分 36
发帖 22
注册 2008-10-21
状态 离线
|
|
2010-7-13 01:52 |
|
|
skhi
新手上路

积分 3
发帖 2
注册 2007-3-2
状态 离线
|
『第 9 楼』:
使用 LLM 解释/回答一下
技术的东西,强烈支持,只有这样深入研究,才能突破进步。
非常佩服楼主,希望五子棋项目早日完成。
Technical things, strongly support. Only through such in-depth research can we make breakthroughs and progress. I really admire the LZ. Hope the Gobang project will be completed as soon as possible.
|
|
2010-7-19 12:14 |
|
|
sl543001
中级用户
  
积分 499
发帖 225
注册 2008-12-30
状态 离线
|
『第 10 楼』:
使用 LLM 解释/回答一下
彩色显示部分(SYBC三方内嵌),已经通过win7测试,可以在win7中正常显示哦!
The color display part (SYBC three-party embedded) has passed the Windows 7 test and can be normally displayed in Windows 7!
|

SYBNQQ:354324773
|
|
2010-7-21 23:12 |
|
|
sl543001
中级用户
  
积分 499
发帖 225
注册 2008-12-30
状态 离线
|
『第 11 楼』:
使用 LLM 解释/回答一下
也就是说,所有使用SYBC进行彩色显示的脚本,略做修改,启用三方内嵌即可在win7中使用
修改方案:
在脚本任意位置添加三方内嵌模板代码
将所有的sybc 参数,改为call :sybc
无需其他修改,从此告别SYBC.COM文件,直接在内存中使用即可
That is to say, all scripts that use SYBC for color display can be slightly modified, and by enabling third-party embedding, they can be used in Win7.
Modification plan:
Add the third-party embedding template code at any position in the script
Change all sybc parameters to call :sybc
No other modifications are needed. From now on, say goodbye to the SYBC.COM file and use it directly in memory.
|

SYBNQQ:354324773
|
|
2010-7-21 23:15 |
|
|
Eisai
新手上路

积分 4
发帖 3
注册 2010-6-23
状态 离线
|
|
2010-7-29 19:57 |
|
|
acaigg
初级用户
 
积分 115
发帖 92
注册 2010-12-24
状态 离线
|
|
2010-12-27 22:08 |
|