Kezarus
Endless Game Maker
I was wondering how many lines of code my games have and and got this handy dandy script from @Tsa05 this from this thread.
On your project directory (where the .yyp or .gmx file are located), create a .txt file, put the code below inside, save as .bat and double click it.
My project lines are:
OverKill, a top-down scrooling shooter: 1.856 lines
Endless RPG, a turn-based combat in a living random world: 12.234 lines
Shooter, proof of concept that I slap some code in 4h: 37 lines
How much lines are your games? =]
On your project directory (where the .yyp or .gmx file are located), create a .txt file, put the code below inside, save as .bat and double click it.
Code:
@echo off
:CountLines
setlocal
set /a totalNumLines = 0
for /r %1 %%F in (*.gml) do (
for /f %%N in ('find /v /c "" ^<"%%F"') do set /a totalNumLines+=%%N
echo|set /p= "."
)
echo .
echo Total number of code lines = %totalNumLines%
echo Making progress!
pause
OverKill, a top-down scrooling shooter: 1.856 lines
Endless RPG, a turn-based combat in a living random world: 12.234 lines
Shooter, proof of concept that I slap some code in 4h: 37 lines
How much lines are your games? =]
Last edited: