user avatar
2DArray
@2DArray
I make games and silly code demos. Some of my games: 2darray.itch.io Some free gamedev tutorials: demoman.net
Nebraska, USA
Joined November 2008
Posts
  • Pinned
    user avatar
    Replying to @2DArray
    Completion LawnCare is now available to play! the full game works in your browser, but the desktop version runs a bit faster and allows fullscreen mode (for a minimum price of $0)
  • user avatar
    when you need to shoot exactly four evenly-spaced dudes
  • user avatar
    i wish there was a better way to do this
  • user avatar
    Replying to @TylerGlaiel
    changing the FOV factor by 1000x gave me completely illegible results so i cheated and settled for 10x instead
    00:00
  • user avatar
    PSA: don't use WinDirStat use WizTree instead does the same thing, still free, but way way way faster (scans a drive in 1-2 seconds instead of 1-2 minutes)
  • user avatar
    ::_::cls()for k=-1,1,2 do for j=8-8*k,8+8*k,k do x=59.5q=1-mid(2-t()/4%2-j/16,1)^2p=1-q y=84.5+(16-j)/2*p+q*j/2w=q/2 for i=0,1,.02 do c=6+j%2 if(j*i==0or j>15)c=4 if(sgn(x-60)==k)line(x,y,x+10,y-40,c)line(x,y,x+10,y-41) x+=cos(w)y+=sin(w)w-=p*.035*q*(1-i)end end end flip()goto _
    GIF
  • user avatar
    Replying to @DanielGrave6
    i only use switch if there are exactly two options, because that's how a switch works. if there were more than two options then it'd be a fader
  • user avatar
    Replying to @2DArray
    the key is to carry several variants at once, in case the four dudes have a different spacing than you were expecting (at their current distance away from you)
  • user avatar
    people debugging vector/quaternion problems
  • user avatar
    Replying to @HTMLFormElement
    now we're talking
  • user avatar
    The "trigonometry for #gamedev" slideshow is finished! It's got 26 slides (they all have captions, which aren't shown here), more than half of the slides are interactive, and it progresses from zero-trig-knowledge to making-a-homing-rocket demoman.net/?a=trig-for-ga…
    GIF
  • user avatar
    The fluid is now acid, and it destroys the map. (Please corrode responsibly) #unity3d #gamedev
    00:00
  • user avatar
    Replying to @tommulgrew
    you've led me to a horrible discovery
  • user avatar
    Better lighting on the water! #pico8
    GIF