o
odin.langpkg.dev
packages / library / breakout

breakout

735f5b3library

No description provided.

No license · updated 1 year ago

make the mayus to just be a layer where all the letters are well mayus

but conserving the modifier keys and stuff

and the bloq mayus to actually toggle it back or the tab id

			if ball_pos.x == SCREEN_SIZE - BALL_RADIUS {
				ball_dir = {-1, 0}
			}
			if ball_pos.x == 0 {
				ball_dir = {1, 0}
			}

			ball_pos.x += ball_dir.x * BALL_SPEED * rl.GetFrameTime()
			ball_pos.x = clamp(ball_pos.x, 0, SCREEN_SIZE - BALL_RADIUS)