View Issue Details

IDProjectCategoryView StatusLast Update
0030191RunnerSurfacesPublic2018-12-31 12:29
ReporterStewart BishopAssigned ToMike Dailly 
PriorityLowSeverityC - GeneralReproducibility100%
Status ClosedResolutionNo Change Required 
Product Version2.2.1 
Target VersionFixed in Version 
Summary0030191: Surfaces: Turning off the automatic drawing of the application surface changes the alpha of your sprites
DescriptionWithin the specific project it draws some particles and a sprite either manually drawing the application surface or automatically, if you change between automatic or manually drawing of the surface the alpha of your sprites and particles change.
Steps To Reproduce1) Run the sample
2) Click to change between manual and automatic
TagsRunner
1.4 Found In
2.x Runtime Found In2.2.1.277
2.x Runtime Verified In

Activities

Stewart Bishop

2018-11-12 14:50

Developer  

ApplicationSurfaceBug.yyz (38,531 bytes)

Mike Dailly

2018-11-15 11:22

Developer   ~0062053

This is working as designed. Unlike other surfaces, the application_surface is draw without alpha blending when it's drawn by the system. To draw it the same way as the system, you do this.

gpu_set_blendenable(false);
draw_surface_ext(application_surface,0,0,1,1,0,c_white,1)
gpu_set_blendenable(true);

Dan

2018-12-31 12:29

Adminstrator   ~0062329

Closing per the above comment, but I have notified Mark in case we need to clarify the docs here.