Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

AppGameKit Studio Chat / need help on using snow effect from particle editor

Author
Message
harry1315
4
Years of Service
User Offline
Joined: 16th Apr 2020
Location:
Posted: 16th May 2020 08:13

I export a snow effect from the particle editor, the filename is snow.arx,snow_g.png,snow_r.png, and snow_sx.png, and this is my test code, but when I run it, I juet got a blank screen...
How could I do it? Many thanks...

#include "inc_gpup.agc"

tmp = gpup_init()

effect1 = gpup_loadEffect("snow.arx",0,0,0,8)
gpup_emitterActive(effect1, 1)

do
gpup_update() // Update the particles Sync()
loop
haliop_New
User Banned
Posted: 16th May 2020 19:29
Can you tell us where you put the files inside the media folder ?
Can you record your screen in particle editor to see what is happening there?
GaborD
6
Years of Service
User Offline
Joined: 3rd Dec 2017
Location:
Posted: 18th May 2020 14:04
What value is given back from gpup_init to tmp?
You could check that first to see if it's an initialization issue or a poblem with the effect itself.

Login to post a reply

Server time is: 2024-04-19 18:57:30
Your offset time is: 2024-04-19 18:57:30