Solved How do I get my controlled character to shoot a bullet? HELP

March 15, 2018 at 08:46:21
Specs: Windows 7
How do I get my character ([}) to shoot a bullet (-) I have the controlled movement down, I just need for my character to shoot a bullet (-) for an alien game im making, and you control my character by using W for up and S for down, please help!!!

@setlocal enableextensions enabledelayedexpansion
@echo off
color 0a

set length=
set height= a

:var
cls
echo.
for %%a in ( %height% ) do echo.
echo [}
choice /c wasd /n
if %errorlevel% equ 1 call:up
if %errorlevel% equ 2 call:left
if %errorlevel% equ 3 call:down
if %errorlevel% equ 4 call:right

@echo off
:left
set length=!length:~0,-1!
goto var

@echo off
:right
set length=%length%
goto var

@echo off
:up
set height=!height:~0,-2!
goto var

@echo off
:down
set height=%height% a
goto var


See More: How do I get my controlled character to shoot a bullet? HELP

Reply ↓  Report •

#1
March 15, 2018 at 09:41:40
✔ Best Answer
pls open 1 thread at a time :/

i5-6600K[delid]@4.814GHz/4.613GHz cache@1.385v | 2x4GB Crucial-DDR4-2133CL16@12-13-13-28 1T 2708MHz@1.37v
ASUS Z170K
Samsung 250GB SSD 850 EVO
MSI Armor RX 570 4GB@1375/1940 BiosMod
VS450


Reply ↓  Report •

#2
Reply ↓  Report •
Related Solutions


Ask Question