Author Topic: What part of the code draws the red and the blue box on top of the cursor ?  (Read 955 times)

Offline Skybuck

  • Colonel
  • ****
  • Posts: 223
    • View Profile
I am thinking/would like to use this graphics for debugging purposes, maybe that is not possible, but I would like to try it anyway.

It might be a bit more cleaner than the green snot that I have right now, see picture below.

However the green snot was set via setSmoke so at least it is part of the map, and it's kinda easy to set with the code I have so far:

         if (_save != 0)
         {
            fpos = Position( cx, cy, cz );
            fTile = _save->getTile(fpos);

            if (fTile != 0)
            {
               fTile->setSmoke( 250 );
            }
         }

If there is any better graphical technique to use, to set/fill tiles as the "scanner/scanlines/fast traversal algorithm" passes over tiles than I would love to know ! ;)

I see my stream was shutdown cause I played some soundcloud music in side of it, which kinda sucks but ok, but I just restarted it and here you can see a bit what I am doing:

https://www.youtube.com/watch?v=l6jkPAmrTQE

Right now I am trying to see if retrowave radio is allowed inside of it.

Bye for now,
  Skybuck.