Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
Tags
(1 edit)

See the garbled mess of numbers and string in the custom block?

thats actually code, so i made a system that decodes these codes.

The codes are for the spike factories attack speed, 'b_' means base tower so the base attack speed is 1.75, and then the numbers before the '_' is the level that changes it, for example 15 is 5xx and 35 is xx5. the '#' followed by a number represent previous string separated by commas. if you did b_5,11_#1/2 you would get 5 if your tower is 0-0-0 but 2.5 if your tower is 1-0-0. You can do operators like + - * / to change the attack speed using math. This allows me to package all upgrades into a single block. pretty cool right?

theres a small mistake in the image, i forgot to define the level for the ",#1*.7" so x2x wouldn't do anything but this is a super simple fix i just need to add 22_ before it and done!

alr

tip: if you want to be able to use your PC at school here's an awesome trick, first sign in to your school account on chrome on your PC, then setup chrome remote desktop extension for that account, finally connect to your PC by going to chrome remote desktop site or app on your school computer and open up the settings to change it to your liking! I suggest using VP9 and setting to 60fps for best response time.

k

(+1)

did it work?

(+1)

both cool and simple. Nice!