dwitter.net | #game

+ New dweet
function u(t) {
} //
122/140


Please log in (or register) to post a dweet (copy-paste the code somewhere safe to save it meanwhile)


u(t) is called 60 times per second. t: Elapsed time in seconds. S: Shorthand for Math.sin. C: Shorthand for Math.cos. T: Shorthand for Math.tan. R: Function that generates rgba-strings, usage ex.: R(255, 255, 255, 0.5) c: A 1920x1080 canvas. x: A 2D context for that canvas.
Try the new frontend: beta.dwitter.net
Current theme challenge: #Opposites
show FPS hide FPS share 1 remix fullscreen

function u(t) {

}//
101/140


Please log in (or register) to post as a new dweet (copy-paste code somewhere safe to save it meanwhile).

  • ♛ QUEEN'S GAMBIT ♛ - You may need to go to d/14031, and scroll down and up until the game starts (may take 7 times). Arrow keys move. Mouse aims. R restarts. God save the Queen! #Game

Please log in (or register) to comment.

show FPS hide FPS share fullscreen

function u(t) {

}//
140/140


Please log in (or register) to post as a new dweet (copy-paste code somewhere safe to save it meanwhile).

  • two player #pong (Q↑↓A vs L↑↓P) dweet split experiment [1/3] - full code at codegolf.tk/a/363
  • u/metamero
    #game instructions: scroll down and back sometimes to begin. click on canvas and play with keys Q/A for one player and L/P for the other. also works when seeing/executing all the tree parts/dweets d/14017 d/14016 and d/14015 . or just scroll my page up to the last part u/metamero
  • u/cantelope
    update: codegolf.tk (and all .tk domains), is permanently offline... for now there are a handful of working mirrors, e.g. https://whr.rf.gd/shorty/65NAW

Please log in (or register) to comment.

show FPS hide FPS share fullscreen

function u(t) {

}//
140/140


Please log in (or register) to post as a new dweet (copy-paste code somewhere safe to save it meanwhile).

  • two player #pong (Q↑↓A vs L↑↓P) dweet split experiment [2/3] - full code at codegolf.tk/a/363
  • u/metamero
    #game instructions: scroll down and back sometimes to begin. click on canvas and play with keys Q/A for one player and L/P for the other. also works when seeing/executing all the tree parts/dweets d/14017 d/14016 and d/14015 . or just scroll my page up to the last part u/metamero
  • u/metamero
    for the game to work on this window you first have to open/run the first part d/14017

Please log in (or register) to comment.

show FPS hide FPS share fullscreen

function u(t) {

}//
138/140


Please log in (or register) to post as a new dweet (copy-paste code somewhere safe to save it meanwhile).

  • two player #pong (Q↑↓A vs L↑↓P) dweet split experiment [3/3] - full code at codegolf.tk/a/363
  • u/metamero
    #game instructions: scroll down and back sometimes to begin. click on canvas and play with keys Q/A for one player and L/P for the other. also works when seeing/executing all the tree parts/dweets d/14017 d/14016 and d/14015 . or just scroll my page up to the last part u/metamero
  • u/metamero
    for the game to work on this window you first have to open/run the other parts d/14017 d/14016

Please log in (or register) to comment.

show FPS hide FPS share fullscreen

function u(t) {

}//
140/140


Please log in (or register) to post as a new dweet (copy-paste code somewhere safe to save it meanwhile).

  • Dweety Dweet HD Widescreen Edition - CLICK TO FLAP!

Please log in (or register) to comment.

show FPS hide FPS share 1 remix fullscreen

function u(t) {

}//
140/140


Please log in (or register) to post as a new dweet (copy-paste code somewhere safe to save it meanwhile).

  • Dweety Dweet HD - Now with improved graphics & separate score (Thanks pavel)

Please log in (or register) to comment.

show FPS hide FPS share fullscreen

function u(t) {

}//
139/140


Please log in (or register) to post as a new dweet (copy-paste code somewhere safe to save it meanwhile).

Please log in (or register) to comment.


function u(t) {

}//
139/140


Please log in (or register) to post as a new dweet (copy-paste code somewhere safe to save it meanwhile).

  • u/KilledByAPixel
    c.width|=onclick=_=>V=1;x.scale(20,20);X=99-T%120;i=T++/120|0;Y=25+(i*i)%25;t&&y<99&!(X>-9&X<15&(y>Y|y<Y-14))?y-=V-=.03:(T=V=y=0);for(j=2;j--;x.fillRect(X,Y-120*j,19,99));x.fillText(i,9,y,9)

Please log in (or register) to comment.

show FPS hide FPS share 1 remix fullscreen

function u(t) {

}//
140/140


Please log in (or register) to post as a new dweet (copy-paste code somewhere safe to save it meanwhile).

  • u/KilledByAPixel
    umcompressed... onmousemove=e=>u[1]=e.x/6 t&&(Y+99)%255?c.width=99:(u[0]=X=Y=20,V=W=1) u[0]=X-7+9*S(t+C(t)) x[F='fillRect'](X+=V=X%96?V:-V,Y+=W,2,2) for(i=2;i--;W=Y==H&X>I-2&X<I+16?-W:W)x[F](I=u[i],H=i*53,16,3)
  • u/KilledByAPixel
    fixed uncompressed... onmousemove=e=>u[1]=e.x/6;t&&(Y+99)%255?c.width=99:(u[0]=X=Y=20,V=W=1);u[0]=X-7+9*S(t+C(t));x[F='fillRect'](X+=V=X%96?V:-V,Y+=W,2,2);for(i=2;i--;W=Y==H&X>I-2&X<I+16?-W:W)x[F](I=u[i],H=i*53,16,3)
  • u/katkip
    I won

Please log in (or register) to comment.

show FPS hide FPS share 1 remix fullscreen

function u(t) {

}//
136/140


Please log in (or register) to post as a new dweet (copy-paste code somewhere safe to save it meanwhile).

  • u/KilledByAPixel
    Uncompressed... t?x[F='fillRect'](X,53,8,c.width=99):Z=X=-9;Z>-9?x[F](W,Z--,2,5):(W=X+3,Z=55);O=15+9*S(t);B=t*9%70-11;for(i=9;i--;onmousemove=e=>X=e.x/6)i!=W-O>>3||Z-B>>3?x[F](i*8+O,B,!u[i]*4,12):u[i]=1
  • u/magna
    Awesome!
  • u/prplz
    i happen to like default
  • u/KilledByAPixel
    These are evil defaults though, you can tell cause they are lower res then normal defaults.
  • u/katkip
    Wow

Please log in (or register) to comment.

Loading...
Next page