Plots aren't drawn under sprites

Report any Hollywood bugs here
Post Reply
User avatar
jPV
Posts: 603
Joined: Sat Mar 26, 2016 10:44 am
Location: RNO
Contact:

Plots aren't drawn under sprites

Post by jPV »

I tried to draw a Plot() under a sprite, but it doesn't seem to be drawn. Tested on MorphOS.

Code: Select all

CreateBrush(1, 32, 32, #BLUE)
CreateSprite(1, #BRUSH, 1)
DisplaySprite(1, 100, 100)
Plot(110, 90, #RED)
Box(115, 90, 1, 1, #GREEN)
Plot(110, 110, #RED) ; Plot under a sprite isn't drawn
Box(115, 110, 1, 1, #GREEN) ; Box is drawn though
Print("Press the LMB to reveal dot(s) under the sprite.")
WaitLeftMouse()
DisplaySprite(1, 200, 100)
WaitLeftMouse()
User avatar
airsoftsoftwair
Posts: 5443
Joined: Fri Feb 12, 2010 2:33 pm
Location: Germany
Contact:

Re: Plots aren't drawn under sprites

Post by airsoftsoftwair »

Code: Select all

- Fix: Plot() didn't draw anything if the pixel to be drawn collided with the opaque area of a sprite
Post Reply