You have to replace STRING *filler[] with a pointer to pointer:
Code:
#include <acknex.h>

#define N 10

int main(void)
{
	STRING **array = (STRING *) sys_malloc(sizeof(STRING) * N);
	
	int i = 0;
	for(; i < N; i++)
	    array[i] = str_create(str_printf(NULL, "This is string #%i", i));
	
	for(i = 0; i < N; i++)
	    printf("%s", _chr(array[i]));
	    
	return 0;
}



Another way would be using TEXT.

Quote:
Also, I placed a vec_set(textname.blue,vector(100,100,100)); into my main function to change the text's color, but it remained white. Any ideas what is up with that?


You have to "tell" Acknex that the text object can be colored, by passing an additional "LIGHT" flag:

Code:
#include <acknex.h>

TEXT *text =
{
	strings = 1;
	string("Hello!");
	
	font = "Arial#25b";
	
	flags = SHOW | LIGHT;
}

int main(void)
{
	random_seed(0);
	
	while( !key_esc )
	{
		vec_set(text.blue,vector(random(255.0), random(255.0), random(255.0)));
		wait( -0.5 );
	}
	return 0;
}


Last edited by Florastamine; 12/10/15 06:32. Reason: wrong tag >.<