okay guys... with some help of a very great person i have now a version with full timer, which compiles to 1023 bytes here. Their are still some things where i could need your help to finish the final version.
- Fixing: Drawing more particles without lack of speed. something i thought about but does not fit into 1024 bytes, is to draw the particles on two positions each time... and adding the -400 @ rect.left and rect.top, so the particles looks much better (my opinion):
for (int i=0; i<511; i++)
{
rect.left= ((sfrand() + (sfrand()&3) * time) & 1023)-400; // Very cool optimizing tip by mentor! Thanks! <3
rect.top = ((sfrand() + (sfrand()&3) * time) & 1023)-400; // No more need of array and struct! :D
g_pFont[1]->DrawText(NULL, "n n n n n n", -1, &rect, DT_LEFT , 0x08ffffff);
rect.left= rect.left - 200
rect.top= rect.top - 200
g_pFont[1]->DrawText(NULL, "n n n n n n", -1, &rect, DT_LEFT , 0x08ffffff);
}
- Fixing: Speed of showing/changing the MessageText does not really fit (like in the old original version) and it repeats instead stoped at the last messsage.
Else i would say, its nearly done... Thanks to all ppl helped me until now, like mentor, auld, rbz and all the others...! Source is attached... If you think the source must be reformated then let me know and show me whats the best way, since i am still learning.
@Rbz:
maybe their is a way to use again the msvcrts.lib functions for random, but on a way, that the particle fx looks like atm (moving particles instead randomed diplayed particles? ^^)