Report any Hollywood bugs here
sinisrus
Posts: 269
Joined: Tue Apr 21, 2015 5:43 pm

SetFormStyle(#ANTIALIAS)

/**********************************************************************************/

CreateBrush(1,350,100,#WHITE)

SelectBrush(1)
BOX(50,#CENTER,50,50,#BLACK)
Circle(#CENTER,#CENTER,25,#BLACK)

v = {}
v[0] = 0 ;X1
v[1] = 50 ;Y1
v[2] = 25 ;X2
v[3] = 0 ;Y2
v[4] = 50 ;X3
v[5] = 50 ;Y3
v[6] = 0 ;X4
v[7] = 50 ;Y4
Polygon(#RIGHT-50, #CENTER, v, 4, #BLACK)
EndSelect

/**********************************************************************************/

DIST=0 ROT=0
Function p_Loop()

CreateBrush(1,350,100,#WHITE)
SelectBrush(1)
BOX(50,#CENTER,50,50,#BLACK)
Circle(#CENTER,#CENTER,25,#BLACK)

v = {}
v[0] = 0 ;X1
v[1] = 50 ;Y1
v[2] = 25 ;X2
v[3] = 0 ;Y2
v[4] = 50 ;X3
v[5] = 50 ;Y3
v[6] = 0 ;X4
v[7] = 50 ;Y4
Polygon(#RIGHT-50, #CENTER, v, 4, #BLACK)
EndSelect

DisplayBrush(1,#CENTER,#CENTER)

IF (ROT=0)&(DIST<50)
DIST=DIST+5
IF (DIST=50) THEN ROT=1
ENDIF

IF (ROT=1)&(DIST>0)
DIST=DIST-5
IF (DIST=0) THEN ROT=0
ENDIF

EndFunction

/**********************************************************************************/

SetInterval(1, p_Loop, 1000/25)

/**********************************************************************************/

/* Boucle infinie */
Repeat
WaitEvent
Forever

sinisrus
Posts: 269
Joined: Tue Apr 21, 2015 5:43 pm

I have this bug:

only circle is affected

airsoftsoftwair
Posts: 3355
Joined: Fri Feb 12, 2010 2:33 pm
Location: Germany
Contact:

Right, this looks like a bug. Thanks for reporting! I'll fix it.

airsoftsoftwair
Posts: 3355
Joined: Fri Feb 12, 2010 2:33 pm
Location: Germany
Contact:

``````- Fix: When using #FILLGRADIENT fill style and #ANTIALIAS and #SHADOW form style with one of the