Skip to content

Instantly share code, notes, and snippets.

View fodi's full-sized avatar
:shipit:

Bence Fodor fodi

:shipit:
View GitHub Profile
const rules = {
"Level": { // a pálya tulajdonságai
"Title": "", // pálya neve, amit a játék is megjelenít valahol (jelenleg fent középen)
"Columns": 9, // oszlopok száma
"Rows": 7, // sorok száma
"Tile_Gap_Percent": 15, // tile kihagyások százalékos mértéke (0-100)
"Tile_Delay_Close": 0.8, // tile visszazáródási idő
},
"Camera": { // a kamera beállításai
@fodi
fodi / GDK-rip-tear-todo.md
Last active January 21, 2026 16:51
[GDK] Rip-Tear todo

Teendők

  • a pályát elhagyó objektumok likvidálása
  • high score
  • mozgó háttér / parallax?
  • particle effektek (robbanások, etc)
  • kezdőképernyő
  • nehezedés idővel
  • pause képernyő
  • credits képernyő
  • save/load?
@fodi
fodi / slamy-collect.bat
Last active January 20, 2026 19:55
Windows batch file for copying sound files from a Slamy set file (.slaset) to the current working directory and subfolders based on the comments
@echo off
setlocal EnableDelayedExpansion
if "%~1"=="" (
echo Usage: %~nx0 file.slaset
exit /b 1
)
set "INPUT=%~1"
set "SOURCE="
const startExport = () => {
console.info("Starting export...");
let pte_export = [];
document.querySelectorAll("#tetris tr").forEach((elRow) => {
let row = [];
elRow.querySelectorAll("td").forEach((elCell) => {
let borders = "";
borders += elCell?.style?.borderLeftColor === "rgb(0, 0, 0)" ? "L" : "";
borders += elCell?.style?.borderRightColor === "rgb(0, 0, 0)" ? "R" : "";
borders += elCell?.style?.borderTopColor === "rgb(0, 0, 0)" ? "T" : "";
### Keybase proof
I hereby claim:
* I am fodi on github.
* I am fodi (https://keybase.io/fodi) on keybase.
* I have a public key ASCVTG0urR_ABPI1CDWB_OsYzseQQUGEHFDTpYo6HMaRWQo
To claim this, I am signing this object: