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


Pages: 1

mdotedot

  • Level 5 Stencyler
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

  • Level 5 Stencyler
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

  • Level 5 Stencyler
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

  • Subscriber - Stencyl Studio
  • *
April 21, 2018, 07:28:32 am
« Last Edit: April 21, 2018, 07:32:02 am by yoplalala »


Justin

  • Master Stencyler
  • *
June 18, 2018, 06:14:46 pm
I'm not noticing anything wrong here, following the same steps, and testing in a way that allows the scales to change as well.

I'll need a sample game with the issue reproduced, otherwise I'll presume this to be fixed.
  • Status changed from Confirmed to Need Info
  • Issue Assigned from (none) to Justin


Issue updated by Justin - June 29, 2018, 12:24:05 pm
  • Tags added: graphics


mdotedot

  • Level 5 Stencyler
July 21, 2018, 01:37:22 am
Confirmed to have been fixed on 9927 MacOS


FMStudioGameDev

  • Subscriber - Stencyl Studio
  • *
July 21, 2018, 06:53:31 am
Confirmed to have been fixed on 9927 MacOS
Actually the issue still exists for me in 9927. To avoid it I need to draw the boolean "fullscreen enabled" far off the screen, as Rob1221 suggested.

« Last Edit: July 21, 2018, 06:55:22 am by FMStudioGameDev »


Justin

  • Master Stencyler
  • *
July 21, 2018, 07:45:05 am
As I said, I'll need a sample game with the issue reproduced. I saw nothing wrong following the steps mdotedot described.


Bombini

  • Subscriber - Stencyl Indie
  • *
August 01, 2018, 05:30:41 am
Just sent you a msg.
Cheers!


PixylWorld

  • Level 1 Stencyler
August 02, 2018, 08:23:35 am
I have this issue as well on a Mac. I've created a test game to show the problem. What is the best way to upload the file to you?


Justin

  • Master Stencyler
  • *
August 02, 2018, 01:10:28 pm
Bombini sent me a test game that made the problem obvious. I've fixed it in b9941.
  • Status changed from Need Info to Resolved


PixylWorld

  • Level 1 Stencyler
August 02, 2018, 07:30:29 pm
I'm still having the issue. I'm testing to Mac & am using bitmap fonts. I put up a video last week here:
http://community.stencyl.com/index.php?action=dlattach;topic=56983.0;attach=59715

If you'd like to see my stencyl backup file, let me know.


Justin

  • Master Stencyler
  • *
August 02, 2018, 07:44:22 pm
I'm not sure what's happening in your video, but it doesn't look like the problem I just fixed. Could you make a new issue with the sample project attached? (You can make the issue private.)


PixylWorld

  • Level 1 Stencyler
August 04, 2018, 09:37:46 am
I created a new issue with a description and link to the .stencyl file.


Pages: 1

Details

  • Reported
    April 19, 2018, 08:10:21 pm
  • Updated
    August 04, 2018, 09:37:46 am

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

Tags