Texture loading problem

All information about Magic Particles: news, question, comments, etc.

Re: Texture loading problem

Postby Odin_KG » Tue Jul 14, 2009 12:58 pm

Why doesn't it searches it in the data/texture folder?

The path should be specified particularly - search is not present.
User avatar
Odin_KG
Administrator
Administrator
 
Posts: 249
Joined: Sat May 09, 2009 10:53 pm

Re: Texture loading problem

Postby barney » Tue Jul 14, 2009 1:06 pm

How stupid I am! :D
Anyway, problem solved :)
The reason it didn' worked was the HGE pointer located in mp_wrap.cpp.
I use my main hge pointer in a singleton class called Game so, I replaced all hge pointers found in mp_wrap.cpp with my singleton hge pointer and it works now well :) !
Thank you all for your support, and hope to post my game here as well, when it's finished.
Keep up the good work! ;)
barney
 
Posts: 11
Joined: Mon Jul 13, 2009 3:55 pm

Re: Texture loading problem

Postby barney » Tue Jul 14, 2009 1:13 pm

And one last question, how can I free the emitter, when I'm done with it? :)
barney
 
Posts: 11
Joined: Mon Jul 13, 2009 3:55 pm

Re: Texture loading problem

Postby Odin_KG » Tue Jul 14, 2009 1:21 pm

Keep up the good work!

Thanks!

And one last question, how can I free the emitter, when I'm done with it?

Magic_UnloadEmitter
User avatar
Odin_KG
Administrator
Administrator
 
Posts: 249
Joined: Sat May 09, 2009 10:53 pm

Previous

Return to Magic Particles

Who is online

Users browsing this forum: No registered users and 2 guests

cron