Nice catch, thanks for reporting this! Fixed in 1.2.1 release. (Technical details: number-to-array convertor that runs on startup added extra leading zero to numbers that had a length divisible by three, and array to array multiplications with specific numbers would preserve the zero, leading to price format the code was not prepared to handle.)
Yes, exactly. Clickers require much larger numbers than can comfortably fit into GameMaker's variables, so all numbers and maths use arrays. In fact, a substantial part of the jam's timeframe was used to code and refine that functionality, as I hadn't done anything like that before.
Hi, thanks for reporting this! Fixed this on V1.11 (technicals: the building's upgrades array's length is now properly recognised before array is operated on).
← Return to game
Comments
Log in with itch.io to leave a comment.
Looks like i found a little bug:
Really digging the aesthetics though, and even the balancing is nice. :)
Nice catch, thanks for reporting this! Fixed in 1.2.1 release. (Technical details: number-to-array convertor that runs on startup added extra leading zero to numbers that had a length divisible by three, and array to array multiplications with specific numbers would preserve the zero, leading to price format the code was not prepared to handle.)
Dang, that was quick! Thanks for the technical explanation too, that was unexpected. :)
I don't understand it completely, but it sounds like you use arrays to store numbers in order to avoid issues with big numbers?
Yes, exactly. Clickers require much larger numbers than can comfortably fit into GameMaker's variables, so all numbers and maths use arrays. In fact, a substantial part of the jam's timeframe was used to code and refine that functionality, as I hadn't done anything like that before.
Ah, quite smart solution, i'm impressed. :D
Also, almost forgot to mention: The filling buttons were one of my favourite design decisions.
Checking if the fix works ;o thanks
update:- works fine so far
Love the game though
___________________________________________
############################################################################################
FATAL ERROR in
action number 1
of Step Event1
for object obj_radio_dish:
Push :: Execution Error - Variable Index [2,3] out of range [11,3] - -5.Upgrades(100025,64003)
at gml_Object_obj_radio_dish_Step_1
############################################################################################
:3 FIX?
Hi, thanks for reporting this! Fixed this on V1.11 (technicals: the building's upgrades array's length is now properly recognised before array is operated on).