The following warnings occurred:
Warning [2] Undefined array key 0 - Line: 1677 - File: showthread.php PHP 8.2.31 (Linux)
File Line Function
/inc/class_error.php 157 errorHandler->error
/showthread.php 1677 errorHandler->error_callback
/showthread.php 916 buildtree




Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
v1.8.9 bright 8 does not work (*solved*)
#1
Hello Boriel,
I found a problem wih bright 8
I'm coding some routines for a game and I need use bright 8 to draw four lines on a square with attributes: ink 2 and bright 1
I set paper 8, ink 8 and bright 8 to draw lines in this zone but zxbasic changes the brightness to zero and seems doesn't works.

Thanks

Code:
ink 2: bright 1 plot 117,154: draw 0,-8: draw 1,0: draw 0,-5: draw -1,0: draw 0,-8: draw 8,0: draw 0,1: draw 5,0: draw 0,-1: draw 8,0: draw 0,8: draw -1,0: draw 0,5: draw 1,0: draw 0,8: draw -8,0: draw 0,-1: draw -5,0: draw 0,1: draw -8,0 do ..... if IN 32766 = 190 go sub fire print paper 6;over 1; INK 0;AT 5,15;" ";AT 6,15;" " loop fire: ink 8: paper 8: bright 8: over 1 for n=1 TO 2 plot 0,191:draw 126,-47 plot 255,191:draw -126,-47 plot 80,75: draw 48,69 plot 175,75:draw -48,69 next n over 0 return
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)