Scrolling text, ping keeps showing
Posted: 20 Feb 2015 17:00
OK, so i'm coding a simple rpg kinda game. At the beginning I have the games name in large letters displayed on the screen with the type command, and then I have it clear the screen and retype the letters/image but every time its down 1 more(For a text scrolling effect). But my problem is i'm using the ping command so it doesn't just fly through the scroll, but goes slow, but when I do this it keeps showing the ping message. And yes I have @echo off , yet it still doesn't seem to be working. My code for the scrolling text section is down below.
P.S: The reason the @echo off is after every cls, is because I thought maybe it was turning echo back on after every cls, for some damn reason..It was just a thought though, doubt that is the problem.
Thanks for helping, in advance, -Haxs4Lyfe
P.S: The reason the @echo off is after every cls, is because I thought maybe it was turning echo back on after every cls, for some damn reason..It was just a thought though, doubt that is the problem.
Code: Select all
:CWAScroll
Echo.
cls
@echo off
Type CWA_Scroll.txt
ping -n 2 -w 2000 localhost
cls
@echo off
Type CWA_Scroll.txt
ping -n 2 -w 2000 localhost
cls
@echo off
Type CWA_Scroll1.txt
ping -n 2 1 -w 2000 localhost
cls
@echo off
Type CWA_Scroll2.txt
ping -n 2 -w 2000 localhost
cls
@echo off
Type CWA_Scroll3.txt
ping -n 2 -w 2000 localhost
cls
@echo off
Type CWA_Scroll4.txt
ping -n 2 -w 2000 localhost
cls
@echo off
Type CWA_Scroll5.txt
ping -n 2 -w 2000 localhost
cls
@echo off
Type CWA_Scroll6.txt
ping -n 2 -w 2000 localhost
cls
@echo off
Type CWA_Scroll7.txt
ping -n 2 -w 2000 localhost
cls
@echo off
Type CWA_Scroll8.txt
ping -n 2 -w 2000 localhost
cls
@echo off
Type CWA_Scroll9.txt
ping -n 2 -w 2000 localhost
cls
@echo off
Type CWA_Scroll10.txt
ping -n 2 -w 2000 localhost
cls
@echo off
Type CWA_Scroll11.txt
ping -n 2 -w 2000 localhost
cls
@echo off
Type CWA_Scroll12.txt
ping -n 2 -w 2000 localhost
cls
@echo off
Type CWA_Scroll13.txt
ping -n 2 -w 2000 localhost
cls
@echo off
Type CWA_Scroll14.txt
ping -n 2 -w 2000 localhost
cls
@echo off
Type CWA_Scroll15.txt
ping -n 2 -w 2000 localhost
cls
@echo off
Type CWA_Scroll16.txt
ping -n 2 -w 2000 localhost
cls
@echo off
Type CWA_Scroll17.txt
ping -n 2 -w 2000 localhost
cls
@echo off
Type CWA_Scroll18.txt
ping -n 2 -w 2000 localhost
cls
@echo off
Type CWA_Scroll19.txt
ping -n 2 -w 2000 localhost
echo.
cls
Thanks for helping, in advance, -Haxs4Lyfe