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 Classic Chat / SetParticlesAngle in tier2 doesn't work

Author
Message
Alex_Peres
AGK Master
15
Years of Service
User Offline
Joined: 13th May 2009
Location: The Milky Way Galaxy
Posted: 16th Sep 2014 01:03
Function agk::SetParticlesAngle(..,..) in tier2(and I think tier1 too) 108.24 and previous doesn't work. Am I alone with this?
ThrOtherJoJo
12
Years of Service
User Offline
Joined: 24th Mar 2012
Location: California
Posted: 16th Sep 2014 01:29 Edited at: 16th Sep 2014 01:32
I didn't notice a problem with it. I'm using it in my game.
I took the code from the examples provided with AppGameKit for my explosion of feathers effect.
The agk::SetParticlesAngle ( 1, 360.0f ) gave me the effect I was looking for, which is to blow the feathers off the bird 360 degrees.



Prove Your Worthiness
KG2Entertainment.com
Alex_Peres
AGK Master
15
Years of Service
User Offline
Joined: 13th May 2009
Location: The Milky Way Galaxy
Posted: 16th Sep 2014 22:19
I think you just didn't notice that rotation is not working! Use the square particles and you'll see.
ThrOtherJoJo
12
Years of Service
User Offline
Joined: 24th Mar 2012
Location: California
Posted: 17th Sep 2014 01:32 Edited at: 17th Sep 2014 01:33
Well, do mean each particle rotating about as it is moving from its starting position?

If so, I didn't take that command to mean that. I took it to mean the particles would emit at the degree I set from the starting position.

Prove Your Worthiness
KG2Entertainment.com
Alex_Peres
AGK Master
15
Years of Service
User Offline
Joined: 13th May 2009
Location: The Milky Way Galaxy
Posted: 17th Sep 2014 13:39
No, I mean each particle must start from random (if you set) angle. It doesn't happening!
Alex_Peres
AGK Master
15
Years of Service
User Offline
Joined: 13th May 2009
Location: The Milky Way Galaxy
Posted: 17th Sep 2014 13:54
Well, I understood now, what does this function do. But how can I rotate the particle's image (from just start)??? Or this is impossible??
unlikely
12
Years of Service
User Offline
Joined: 5th Mar 2012
Location: Ohio, USA
Posted: 17th Sep 2014 22:33 Edited at: 17th Sep 2014 22:36
You might be looking for SetParticlesFaceDirection(ID, mode)?

EDIT: Wait, I didn't notice that you are using AGKv1. That command may only be in v2, not sure.

Login to post a reply

Server time is: 2024-11-25 09:26:58
Your offset time is: 2024-11-25 09:26:58