Author Topic: Screen Widht, height.  (Read 1373 times)


  • Junior Playmaker
  • **
  • Posts: 71
    • View Profile
Screen Widht, height.
« on: April 18, 2014, 12:21:27 PM »

 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 ?



  • Full Member
  • ***
  • Posts: 155
    • View Profile
Re: Screen Widht, height.
« Reply #1 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.


  • Administrator
  • Hero Member
  • *****
  • Posts: 15494
  • Official Playmaker Support
    • View Profile
Re: Screen Widht, height.
« Reply #2 on: April 21, 2014, 08:34:34 AM »

 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.