Is there a limit to the amount of array's AGK2 can handle? My app is around 130~140mb in memory, is there a limit to memory AGK2 allocate? (I mean less than the 32bit memory address limit). I use a lot of arrays in my game, and porting it to AGK2 requires even more arrays, well, I use more arrays anyways, for keeping track of things like text objects which I did not have to do before. I have a strange behaviour with text objects created, first time I use integer_array[t] = create_normal_text(x,y,string$), text does not appear, doing it twice will display the text but then I have created two text objects, one nowhere to be seen and the second working fine. I am puzzled
Here is my create text function:
function create_normal_text(x,y,string$)
text_object = CreateText(string$)
SetTextSize(text_object,text_size)
SetTextColor(text_object,255,255,255,255)
SetTextAlignment(text_object,0)
SetTextPosition(text_object,x,y)
SetTextSpacing(text_object,text_spacing)
SetTextVisible(text_object,1)
SetTextDepth(text_object,9)
endfunction text_object
13/0