Bug Issue: Drawing text incorrectly placed after coming out of Fullscreen


Pages: 1

mdotedot

  • Subscriber - Stencyl Studio
  • *
April 19, 2018, 08:10:21 pm
Build: 9863

To reproduce:
* Scene with a couple of actors with this drawing event: 
 draw [hello] x: 1 y:4

* The scene I used had the drawing actor on each corner of the scene.

Mac Publishing
* Settings: Desktop
* Scale : 2X
* Scale Mode: Scale to Fit (Letterbox)
* Scales All Scales
* Start in FullScreen

FullScreen = OK
When Ctrl-Apple-F (out of fullscreen) it should go to the 2x scale which it does for the actor but the drawing only works ok for the top-left-actor.


rob1221

  • Master Stencyler
  • *
April 19, 2018, 08:23:23 pm
How does that compare to using the toggle full screen block?
  • Status changed from New to Need Info


mdotedot

  • Subscriber - Stencyl Studio
  • *
April 20, 2018, 08:24:36 am
The same with toggle full screen block when using on button


rob1221

  • Master Stencyler
  • *
April 20, 2018, 09:17:32 am
In my testing, if the engine scale changes when going in and out of full screen, then the text looks fine.  If the scale doesn't change, then the text looks off until I change the text that is drawn.  This might be the same issue reported here with the draw buffer not changing when it should: http://community.stencyl.com/index.php?issue=1156.0
  • Status changed from Need Info to Confirmed


mdotedot

  • Subscriber - Stencyl Studio
  • *
April 20, 2018, 09:54:53 am
Yes, you are correct.

When I display a counter as the text on the actor. And the counter gets increased it is drawn correctly. Both in fullscreen as in out-of-fullscreen

But my text-buttons don't change the text! So how can we force a draw?!


rob1221

  • Master Stencyler
  • *
April 20, 2018, 10:23:03 am
Make a boolean attribute that is set to true when you toggle full screen.  Then when drawing, check if the boolean is true and then draw an empty space on a separate line just after your other text.  That will force the buffer to redraw without having any visual change to your game.


yoplalala

  • Level 5 Stencyler
April 21, 2018, 07:28:32 am
« Last Edit: April 21, 2018, 07:32:02 am by yoplalala »


Pages: 1

Details

  • Reported
    April 19, 2018, 08:10:21 pm
  • Updated
    April 21, 2018, 07:28:32 am

  • View Status
    Public
  • Type
    Bug
  • Status
    Confirmed
  • Priority
    Normal
  • Version
    3.5.0 beta 1
  • Fixed in
    (none)
  • Assigned to
    (none)
  • Category
    Game Settings

Tags