I'm trying to make an engine similar to how unity does it where I can compile the engine on the other OS's and be able to use scripting to make it work. So my classes I want to…
12 years, 8 months ago
I'm trying to make an engine similar to how unity does it where I can compile the engine on the other OS's and be able to use scripting to make it work. So my classes I want to…
12 years, 8 months ago
I'm trying to register a C++ class into angelscript, here's the deal. I MUST pass a value through the constructor into the class to do that I need to have the factory method be…
12 years, 10 months ago
14 years ago
Yes, this is possible. You can register multiple constructors for a class: You'll need separate factory functions: static Img* Img_Factory() { return new Img(); } static Img…
14 years ago
14 years ago
Ok here's the deal, I have an Image class with a draw function like this: void Img::Draw(SDL_Surface* surface) { SDL_Rect offset; offset.x = X; offset.y = Y; SDL_BlitSurface…
14 years ago
I'm trying to make an engine similar to how unity does it where I can compile the engine on the …
12 years, 8 months ago
I'm trying to register a C++ class into angelscript, here's the deal. I MUST pass a value through the constructor …
12 years, 10 months ago
Yes, this is possible. You can register multiple constructors for a class: You'll need separate factory functions: static Img* Img_Factory() …
14 years ago
With your permission, GameDev.net uses analytics cookies to understand how people use the platform. You can accept analytics or continue with necessary cookies only. Learn more