PocketMatrix forums

A read-only archive of the PocketMatrix forums (2001–2014). Posting and accounts are closed.

paritcle system edit for EDGE!

We had develop a particle system and gui system for EDGE, now I put the particle here, If edge like it, I will send the src to you!
Attachments:
Particled_win32.rar (248 KB)
particle_mobile(VGA).rar (193 KB)
We had develop a demo to show how to using this system, I think we will finish it soon!
and I had a question, how to get my app's current dir?

when I call CreateFile(...), the file was created in the root, but I want to create it in the path same with my app.

I had search the wm5 sdk, but no result, need you help.

I had solved it by

WINAPI DWORD GetModuleFileName(
HMODULE hModule,
LPWSTR lpFilename,
DWORD nSize
);

if you had a better way to solve my problem, tell me please, 3Q!
Hi,

You're particle system looks nice! Good luck in finishing it.

Using GetModuleFileName is the correct way to determine the current path. We recommend using the ClassEFile API though, because it handles the current path (using GetModuleFileName) automatically.
czcomtt wrote:We had develop a particle system and gui system for EDGE, now I put the particle here, If edge like it, I will send the src to you!


Hi Czcomtt,

We're definitely interested including the (finished) particle editor in an upcoming EDGELIB release. Please contact us at info [at] edgelib [dot] com to work out some details.