Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines
(+1)

i have a follow-up to the file size question:

in order to decrease the file size by removing cards, i'll need to increase the amount of scripting significantly.  are there any issues with having particularly long card scripts?  i currently have a 200-line script that i will need to expand to about 2000 lines.  this won't affect performance, will it?

There's nothing inherently wrong with long scripts. If you can describe what your code is doing I might have some suggestions for ways you can simplify and shorten them?

it's a habit i've had for about 40 years (since the days of BASIC) - writing unnecessarily long code, especially when a language is new to me.  this project is particularly inefficient - i.e., multiple IF-THENs instead of loops - but it's almost done.  i might ask for some tips on the next one, though.  Thanks!