Search found 4 matches
- 18 Mar 2018 16:57
- Forum: DOS Batch Forum
- Topic: Help with random function
- Replies: 5
- Views: 5238
Re: Help with random function
Hi, Sorry for not replying sooner, internet was down in my area. I'm looking at your code right now and thinking how would i transfer this (work of art) code into my game. And i simply do not know, i understand (how it works) alright, witch means i should know how to put it in my code. But i don't. ...
- 14 Mar 2018 21:06
- Forum: DOS Batch Forum
- Topic: Help with random function
- Replies: 5
- Views: 5238
Re: Help with random function
Yes, i know there are a lot of people that have done as i have, but i do not understand it at times and cannot integrate in into my game. For example: https://ss64.org/viewtopic.php?id=601 I don't understand what is being done with the direction 1,2,3,4 in this example. Wait scrap that, i do know wh...
- 14 Mar 2018 19:42
- Forum: DOS Batch Forum
- Topic: Help with random function
- Replies: 5
- Views: 5238
Help with random function
Hi, I have been wondering how to make some objects bounce randomly around a window the balls being 0. Like i see here: https://i.ytimg.com/vi/C8wEEvUKTWw/hqdefault.jpg My code: @echo off :setup set SL= set SR= set L= set R= set TL=Ú set TR=¿ set BL=À set BR=Ù set T=Ä set S=³ set C=ÄÄÄÄÄ set BALL=0 :...
- 04 Mar 2018 18:54
- Forum: DOS Batch Forum
- Topic: Reducing display flicker in batch games
- Replies: 1
- Views: 2337
Reducing display flicker in batch games
Hi all, I have a problem: display flickering in my batch game. I do not know how to correct this, so i'm putting my code here: @echo off setlocal enabledelayedexpansion :setup set L= set R= set TL=Ú set TR=¿ set BL=À set BR=Ù set T=Ä set S=³ set char=X :1 cls for /l %%a in (1 1 1) do (<nul set /p "=...