Playmaker Forum

PlayMaker Help & Tips => PlayMaker Help => Topic started by: Kothe on April 18, 2014, 12:21:27 PM

Title: Screen Widht, height.
Post by: Kothe on April 18, 2014, 12:21:27 PM
Hi.

 I´m just trying to get the screen width and height with that simples actions
and store them in variables. But when I play, the state is able, but the actions
don´t work, they turn off.

 What´s is going on ?

THX
Title: Re: Screen Widht, height.
Post by: parallel on April 18, 2014, 12:28:10 PM
As I recall they only play once (not every frame) so you need to refresh the state, like with a 'wait' or 'next frame' (so you don't get loop exceeds x) and then with a finish event to loop back in.
Title: Re: Screen Widht, height.
Post by: jeanfabre on April 21, 2014, 08:34:34 AM
Hi,

 yeah, they only run once unfortunatly. Refresh every seconds or so I would say. I guess it would be good that we get a global event fired when the screen size changes to be more effective.

I'll work on a custom system for this.


Bye,

 Jean