Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
Tags
A jam submission

Cubicle CommotionView game page

A miniature game for TweetTweetJam 6
Submitted by Akzidenz (@groteskly) — 7 days, 13 hours before the deadline
Add to collection

Play game

Cubicle Commotion's itch.io page

How many characters of code did you use?
557

Include your code here, if you'd like to show it off!
DragonRuby Code:

def^o;intersect_rect?o;end
def r;X,Y,W,L=630,350,0,[Q+=0.02,Q].map(&:rand_sign)end
def tick a
A||=(B,C,N,O,R,T,Q=a.keyboard.key_down,[D=440,E=160,G=400,G],0,10,[0,0,S=1e4,S,F=255,0]*3,0,3;r;[D,E,D,U=560,V=840,U,V,E])
C[0]=R[7]>0?D+rand(9)-5:D
rand<0.05&&W+=1
b=W<1?[0,0]:L
O>0&&(j=[X+=b.x,Y+=b.y,K=20,K,F]
A.rotate!2*B.left_right
I=[A.x-K,A.y-K,40,40,T]
j^C||(r;O-=1;R[7]=F)
j^I&&(r;N+=1;T=F;N%10==0&&O+=1))
R[7]-=5;T-=5
B.enter&&A=p
a.borders<<C<<[630,350,K,K]
a.solids<<[R,C+[F]*3,j,I]
a.labels<<[640,600,"#{N}/#{O}",1,1]
a.lines<<[D,E,V,U]<<[D,U,V,E]end

Leave a comment

Log in with itch.io to leave a comment.

Comments

Developer

I made this game using DragonRuby (that's why the code looks funny to you). https://dragonruby.itch.io/dragonruby-gtk