![]() |
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 11:04 |
47,811 topics / 349,897 posts / today 0 new / 48,256 members |
| DOS批处理 & 脚本技术(批处理室) » [Original] Push Box Batch Processing Game |
| Printable Version 12,794 / 63 |
| Floor1 netbenton | Posted 2009-08-26 11:12 |
| 银牌会员 Posts 752 Credits 1,916 From 广西 | |
|
Push Box Game
Updated on 2009-8-29 Pure batch, no third parties, no temporary files generated (except player's records), compact, freely add levels, convert and put at the end Updated on 2009-08-30 No temporary files even for player records. Updated on 2009-09-06 Eliminated the flickering problem when refreshing the screen Updated on 2009-09-14 Supports super large maps Corrected a small bug in the enhanced version on 2010-03-22 [ Last edited by netbenton on 2010-3-22 at 00:19 ] Attachments txz.rar (3.67 KiB) txz增强版.rar (9.05 KiB) |
|
| Floor2 yishanju | Posted 2009-08-26 16:48 |
| 银牌会员 Posts 1,357 Credits 1,488 | |
| Floor3 netbenton | Posted 2009-08-27 08:21 |
| 银牌会员 Posts 752 Credits 1,916 From 广西 | |
|
Further streamline the code, the main program is only 2K!!
The next step is to compress the map data and put it into the main program... |
|
| Floor4 yishanju | Posted 2009-08-27 10:04 |
| 银牌会员 Posts 1,357 Credits 1,488 | |
|
This level is so high that it can only make me bow in admiration, heh heh
|
|
| Floor5 netbenton | Posted 2009-08-28 15:39 |
| 银牌会员 Posts 752 Credits 1,916 From 广西 | |
|
Okay, the map is compressed and put into the main program. It's only 3.07K and contains maps for 10 levels. To minimize the code as much as possible, it's made less readable.
If you want to add levels, compress the following code and paste it at the end of the main program. The map source data format can be downloaded on the first floor. Through the writing of this batch processing game, I learned a trick again, The compact format for variable definition: |
|
| Floor6 netbenton | Posted 2009-08-29 03:49 |
| 银牌会员 Posts 752 Credits 1,916 From 广西 | |
|
Improved again, getting rid of the dependency on choice.exe, the first floor has been updated
|
|
| Floor7 starjaymy | Posted 2009-08-29 05:36 |
| 新手上路 Posts 6 Credits 13 | |
| Floor8 523066680 | Posted 2009-08-29 05:53 |
| 银牌会员 Posts 1,133 Credits 2,362 | |
|
First saw the makeshift part, add points.
The main code hasn't been read yet 08-29, support you啦 I like it very much. [ Last edited by 523066680 on 2009-8-29 at 06:13 ] |
|
| Floor9 523066680 | Posted 2009-08-29 06:27 |
| 银牌会员 Posts 1,133 Credits 2,362 | |
|
There is an optimization option: Remember the levels you have played, so that you can continue playing next time.
|
|
| Floor10 netbenton | Posted 2009-08-29 08:35 |
| 银牌会员 Posts 752 Credits 1,916 From 广西 | |
|
re 523066680
Thanks for your support and feedback, It has been updated on the first floor: can save the current state, record the passed levels, and add a one-click clear record |
|
| Floor11 netbenton | Posted 2009-08-30 10:21 |
| 银牌会员 Posts 752 Credits 1,916 From 广西 | |
|
2009-08-30 update
Even player records no longer use temporary files. Already updated on the top floor |
|
| Floor12 netbenton | Posted 2009-09-04 11:28 |
| 银牌会员 Posts 752 Credits 1,916 From 广西 | |
|
Why are there so few people who like playing "Sokoban"?
I originally wanted to have time to make dozens of levels of it, Alas, it seems I'll give it up. [ Last edited by netbenton on 2009-9-4 at 09:30 ] |
|
| Floor13 523066680 | Posted 2009-09-04 21:34 |
| 银牌会员 Posts 1,133 Credits 2,362 | |
|
Don't mention it. I just reached the third level~
|
|
| Floor14 ldr2zjj | Posted 2009-09-05 16:03 |
| 初级用户 Posts 95 Credits 167 | |
|
How is it played~~
|
|
| Floor15 523066680 | Posted 2009-09-05 22:05 |
| 银牌会员 Posts 1,133 Credits 2,362 | |
|
LZ, I really like the set of games you wrote. I find the first three levels quite difficult.
I think one shouldn't be too hasty with games, so I haven't been rushing to clear the levels. Players' responses are the greatest encouragement for game creators. Everyone who thinks it's good should know to post replies and offer suggestions. Even if it's just posting to fill the thread, there should be some thought behind it. [ Last edited by 523066680 on 2009-9-5 at 22:06 ] |
|
| 1 2 3 4 … 5 Next |
|
[ Contact the Union admin team -
中国DOS联盟 -
Standard version ] Sponsored by ifanr Inc | © 2001–2023 |