SpriteFont optimization breaks use with Paster

Report Construct 2 bugs here.

Post » Sun Feb 21, 2016 12:37 am

Problem Description
A common trick is to draw off screen with R0J0hound's Paster plugin. However, the SpriteFont plugin has an optimization that prevents it from drawing characters if they are outside of the Viewport.

Attach a Capx
http://www.blackhornettechnologies.com/ ... r_bug.capx

Description of Capx
With Paster partially off of the viewport, and a Spritefont on top, paste the Spritefont into Paster, then move the Paster object over so you can see that the Spritefont text gets clipped.

Observed Result
Text gets clipped

Expected Result
I propose a simple property that would turn off the optimization so that Spritefont can be use offscreen with Paster.

Affected Browsers
N/A

Operating System and Service Pack
N/A

Construct 2 Version ID
221
ImageImageImage
B
71
S
22
G
274
Posts: 3,826
Reputation: 151,295

Post » Sun Feb 21, 2016 12:58 am

More of a feature request.
@Yann What are we doing tonight?
Image ImageImage
B
173
S
50
G
195
Posts: 8,570
Reputation: 121,876

Post » Sun Feb 21, 2016 3:38 am

It's the same with particles and tilemaps too as I recall. It could be nice to be able to disable the visibility culling, but it's done per plugin and probably will run into performance issues with some users.

The workaround is to move the object onscreen before pasting it, which I suppose could also be done by the paster plugin...
B
95
S
34
G
128
Posts: 5,493
Reputation: 81,674

Post » Sun Feb 21, 2016 12:30 pm

@newt I dunno, maybe a pizza or a burger somewhere close by, my fridge is quite empty today.
B
69
S
22
G
14
Posts: 1,488
Reputation: 16,594

Post » Sun Feb 21, 2016 11:22 pm

@R0J0hound In my case, I'm actually drawing into an area much larger than the viewport, so even moving things on-screen would not help in this case.
ImageImageImage
B
71
S
22
G
274
Posts: 3,826
Reputation: 151,295


Return to Bugs

Who is online

Users browsing this forum: No registered users and 1 guest