ok i got a couple of questions, and i wanna start out with the most embarrassing ones...
this should be pretty basic C++, but still i don't understand it : :oops:
anyway i was looking at particle tutorial, and was wondering about the Image pointer in this section:
Code:
Image *image =Images("particle/fire.gfx");
Color color =Color(0,40,0,0);
Int elms =30;
Flt radius =0.1,
life_avg=1.0;
why use a pointer? i really don't get it :S why cant u just use an ordinary variable as for the rest of the arguments?
and i know i asked this before, but i didn't get it.
could one of u guys explain it to me in a simple way please? it really bugs me that i never understand these pointers :/
second thing is the virtual functions... iv'e never seen them before using Esenthel engine.
exactly what do they mean, and how do i know when to use them instead of ordinary functions?
third question, quite simple: __super() is just a reference to the parent class right?
i mean in an extended struct/class __super will be referring to the original struct the extention is a child from?
and when used in the constructor it's used for setting the parent class arguments right?
im really unsure about this, but there's a similar function (Super()) in actionscript, and at least thats what it does :/
and my last question:
is it possible to see two dimensional text in 3D? like you will be able to walk past it.
it doesn't have to be two sided, as for the purpose i need it for, you will just be moving in a straight line and wouldn't be able to see the text as you move past it anyway.
i know it's a lot of questions, but as i'm often unsure about different stuff related to the engine i stack up questions to avoid 100 posts just with questions from me
i hope you'll take time to answer them
and if you don't understand some of it, please ask me to reformulate myself... my english is pretty poor
in advance: Thanks
-Craksy