Skip to content
  • Hjem
  • Seneste
  • Etiketter
  • Populære
  • Verden
  • Bruger
  • Grupper
Temaer
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Kollaps
FARVEL BIG TECH
  1. Forside
  2. Ikke-kategoriseret
  3. refined the 3d cursor a bit.

refined the 3d cursor a bit.

Planlagt Fastgjort Låst Flyttet Ikke-kategoriseret
eniblockgamegamedevindiedevprocgen
7 Indlæg 1 Posters 0 Visninger
  • Ældste til nyeste
  • Nyeste til ældste
  • Most Votes
Svar
  • Svar som emne
Login for at svare
Denne tråd er blevet slettet. Kun brugere med emne behandlings privilegier kan se den.
  • eniko@mastodon.gamedev.placeE This user is from outside of this forum
    eniko@mastodon.gamedev.placeE This user is from outside of this forum
    eniko@mastodon.gamedev.place
    wrote sidst redigeret af
    #1

    refined the 3d cursor a bit. pretty happy with it. the thickness will be user adjustable. it also shows through terrain, but slightly dimmer where it's obscured by the terrain

    also showing "mouse pointer mode" where you can mouse over anywhere on screen to interact with blocks, and you mouselook with the right mouse button

    thinking of keeping this as a toggleable mouse mode. thoughts?

    #EniBlockGame #GameDev #IndieDev #ProcGen

    eniko@mastodon.gamedev.placeE 1 Reply Last reply
    1
    0
    • eniko@mastodon.gamedev.placeE eniko@mastodon.gamedev.place

      refined the 3d cursor a bit. pretty happy with it. the thickness will be user adjustable. it also shows through terrain, but slightly dimmer where it's obscured by the terrain

      also showing "mouse pointer mode" where you can mouse over anywhere on screen to interact with blocks, and you mouselook with the right mouse button

      thinking of keeping this as a toggleable mouse mode. thoughts?

      #EniBlockGame #GameDev #IndieDev #ProcGen

      eniko@mastodon.gamedev.placeE This user is from outside of this forum
      eniko@mastodon.gamedev.placeE This user is from outside of this forum
      eniko@mastodon.gamedev.place
      wrote sidst redigeret af
      #2

      fun fact: in order to draw the cursor as translucent i had to use the stencil buffer, because the boxes that make up the "lines" overlap at the corners, so without the stencil buffer it'd be more opaque at the corners

      #EniBlockGame #GameDev #IndieDev

      eniko@mastodon.gamedev.placeE 1 Reply Last reply
      0
      • jwcph@helvede.netJ jwcph@helvede.net shared this topic
      • eniko@mastodon.gamedev.placeE eniko@mastodon.gamedev.place

        fun fact: in order to draw the cursor as translucent i had to use the stencil buffer, because the boxes that make up the "lines" overlap at the corners, so without the stencil buffer it'd be more opaque at the corners

        #EniBlockGame #GameDev #IndieDev

        eniko@mastodon.gamedev.placeE This user is from outside of this forum
        eniko@mastodon.gamedev.placeE This user is from outside of this forum
        eniko@mastodon.gamedev.place
        wrote sidst redigeret af
        #3

        testing customizable thickness/opacity for the 3d cursor. think being able to set this to whatever you want will be nice for accessibility

        #EniBlockGame #GameDev #IndieDev

        eniko@mastodon.gamedev.placeE 1 Reply Last reply
        0
        • eniko@mastodon.gamedev.placeE eniko@mastodon.gamedev.place

          testing customizable thickness/opacity for the 3d cursor. think being able to set this to whatever you want will be nice for accessibility

          #EniBlockGame #GameDev #IndieDev

          eniko@mastodon.gamedev.placeE This user is from outside of this forum
          eniko@mastodon.gamedev.placeE This user is from outside of this forum
          eniko@mastodon.gamedev.place
          wrote sidst redigeret af
          #4

          oooohhhh what if i made it jiggly??

          #EniBlockGame #GameDev #IndieDev

          eniko@mastodon.gamedev.placeE 1 Reply Last reply
          0
          • eniko@mastodon.gamedev.placeE eniko@mastodon.gamedev.place

            oooohhhh what if i made it jiggly??

            #EniBlockGame #GameDev #IndieDev

            eniko@mastodon.gamedev.placeE This user is from outside of this forum
            eniko@mastodon.gamedev.placeE This user is from outside of this forum
            eniko@mastodon.gamedev.place
            wrote sidst redigeret af
            #5

            added an outline to the 3d cursor so it's always visible

            #EniBlockGame #GameDev #IndieDev

            eniko@mastodon.gamedev.placeE 1 Reply Last reply
            0
            • eniko@mastodon.gamedev.placeE eniko@mastodon.gamedev.place

              added an outline to the 3d cursor so it's always visible

              #EniBlockGame #GameDev #IndieDev

              eniko@mastodon.gamedev.placeE This user is from outside of this forum
              eniko@mastodon.gamedev.placeE This user is from outside of this forum
              eniko@mastodon.gamedev.place
              wrote sidst redigeret af
              #6

              i can now overlay a block breaking decal on blocks, and it works on blocks with shell texturing and even nominally on objects like ferns and flowers

              i draw the block's faces again using the stencil buffer, then draw the breaking decal with depth read/write off, masking using the stencil buffer

              the way it works for ferns/flowers is i just draw all faces of the breaking pattern block, and any pixels outside the object model are masked

              #EniBlockGame #GameDev #IndieDev #ProcGen #PixelArt

              eniko@mastodon.gamedev.placeE 1 Reply Last reply
              0
              • eniko@mastodon.gamedev.placeE eniko@mastodon.gamedev.place

                i can now overlay a block breaking decal on blocks, and it works on blocks with shell texturing and even nominally on objects like ferns and flowers

                i draw the block's faces again using the stencil buffer, then draw the breaking decal with depth read/write off, masking using the stencil buffer

                the way it works for ferns/flowers is i just draw all faces of the breaking pattern block, and any pixels outside the object model are masked

                #EniBlockGame #GameDev #IndieDev #ProcGen #PixelArt

                eniko@mastodon.gamedev.placeE This user is from outside of this forum
                eniko@mastodon.gamedev.placeE This user is from outside of this forum
                eniko@mastodon.gamedev.place
                wrote sidst redigeret af
                #7

                major milestone in block game development: the first actual gameplay! you can go around and hold the left mouse button on blocks in order to break em 😄

                #EniBlockGame #GameDev #IndieDev #ProcGen #PixelArt

                1 Reply Last reply
                1
                0
                Svar
                • Svar som emne
                Login for at svare
                • Ældste til nyeste
                • Nyeste til ældste
                • Most Votes


                • Log ind

                • Har du ikke en konto? Tilmeld

                • Login or register to search.
                Powered by NodeBB Contributors
                Graciously hosted by data.coop
                • First post
                  Last post
                0
                • Hjem
                • Seneste
                • Etiketter
                • Populære
                • Verden
                • Bruger
                • Grupper