Author Topic: DotsSprite double dot  (Read 79 times)

Astrosynthesist

  • Newbie
  • *
  • Posts: 40
    • View Profile
DotsSprite double dot
« on: January 05, 2018, 06:37:24 PM »
Code: [Select]
call scaleSprite(32)
call dotsSprite({{0,128}})
If a coordinate is greater than 127 two dots drawn on screen, similar to how drawing a line longer than 127 creates multiple line segments to complete the draw. Similarly if a coordinate is greater than 255 then three dots are drawn on screen.

Vectrex32

  • Administrator
  • Full Member
  • *****
  • Posts: 114
    • View Profile
Re: DotsSprite double dot
« Reply #1 on: January 05, 2018, 07:21:09 PM »
I've added this to my bug list.

- Bob

Vectrex32

  • Administrator
  • Full Member
  • *****
  • Posts: 114
    • View Profile
Re: DotsSprite double dot
« Reply #2 on: January 14, 2018, 06:23:21 PM »
I've looked at this and concluded there's no real fix. Inserting lines into the Vectrex's Line List structure works to make long lines out of short lines, but inserting dots into the Dot List structure creates the extra dots you're seeing.

I'm just going to have to document this.

- Bob

Astrosynthesist

  • Newbie
  • *
  • Posts: 40
    • View Profile
Re: DotsSprite double dot
« Reply #3 on: January 14, 2018, 07:36:18 PM »
What about drawing the undesired dots with an intensity of zero?

Vectrex32

  • Administrator
  • Full Member
  • *****
  • Posts: 114
    • View Profile
Re: DotsSprite double dot
« Reply #4 on: January 14, 2018, 07:40:01 PM »
The Vectrex BIOS routine I'm using is called DotList. It takes an array of points, but uses the same intensity for all of them. There are no BIOS routines that will do what we want.

- Bob