SDK wrap problems

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

SDK wrap problems

Postby greatgamefan » Sun Nov 25, 2012 2:44 pm

i'm use 2.18 3D(dev) free version,download wrappers for API.
run exe in _bin2d folder no display particle effect in program window.
use matrix.ptc everything ok.but some ptc ex:zero.ptc then no display.
i'm debug code found Magic_CreateFirstRenderedParticlesList return rendering.count==0.Why is it like this?tks.
greatgamefan
 
Posts: 2
Joined: Sun Nov 25, 2012 2:37 pm

Re: SDK wrap problems

Postby Odin_KG » Sun Nov 25, 2012 5:05 pm

You can save ptc-file using 3 ways:
1) Normal mode: full compatibility with editor, but API can't play emitters of 'Image' and 'Text'.
2) API mode: full compatibility with API, but part of information for editor is deleted. This mode is useful when you release the game.
3) Double mode: full compatibility with editor and API (the size of the ptc-file will be more). Check the flag: Edit->Program Options->Save Always. Now you can use "Normal mode" as "Double mode".
User avatar
Odin_KG
Administrator
Administrator
 
Posts: 255
Joined: Sat May 09, 2009 10:53 pm

Re: SDK wrap problems

Postby greatgamefan » Mon Nov 26, 2012 2:01 am

tks.Problem is solved.
greatgamefan
 
Posts: 2
Joined: Sun Nov 25, 2012 2:37 pm


Return to Magic Particles

Who is online

Users browsing this forum: No registered users and 5 guests

cron