|
Partical systems |
meinaW
Member #7,943
November 2006
|
Hello Can anyone please point me to a tutorial on particle systems using allegro I have tried this one: |
ixilom
Member #7,167
April 2006
|
what exactly is the problem? ___________________________________________ |
Marcel
Member #8,543
April 2007
|
Hi meinaW, it would be nice, if you could post the compiler errors. I think you had just minor mistake in you code. greetz --- Where the german seems to dwell... --- |
meinaW
Member #7,943
November 2006
|
Sorry that i hvnt answered in a while (i got tight school work heading into exams) anyways these are the compiler errors that i get: tmp->x = float(rand()%(SCREEN_W+40))-20; tmp->dx = r*sin(direction); i use dev-c++ on windows |
Johan Peitz
Member #9
April 2000
|
I'd write the first one like this instead (but I don't know if that solves the problem): The second one should be solved by including math.h. -- |
meinaW
Member #7,943
November 2006
|
Thanks Johan Peitz adding math.h solved both errors |
|