Skip to content

Instantly share code, notes, and snippets.

View sleepycrow's full-sized avatar
🐦
caw caw!

a sleepy crow sleepycrow

🐦
caw caw!
  • Cracow, Poland
View GitHub Profile
@sleepycrow
sleepycrow / cymmo.js
Created July 10, 2021 17:44
A Tiled extension for exporting CyTube MMO format maps.
/*
* koton.js
*
* A Tiled (https://www.mapeditor.org/) extension for exporting CyTube MMO format maps.
*
* Usage:
* 1) Create a new map with two tile layers - "map" and "collision". On "map",
* just draw the map, and on "collision" - with any tile - draw over the tiles
* that the player shouldn't be able to pass through.
* 2) When done, export the map as a 'koton map format (*.js)' file.
@sleepycrow
sleepycrow / cymmo-aether.js
Created January 28, 2022 14:45
CyTube MMO example map
window.cyGameConf.maps[0] = {
name: "Aether",
assets: {
tiles: 'https://i.postimg.cc/CMRM3wdK/shitaether.png',
bg: 'https://i.postimg.cc/ry7yc7tN/shitclouds.png'
},
bgColor: '#FFFFFF',
bgImage: 'bg',
tileset: 'tiles',
tileSize: 16,
@sleepycrow
sleepycrow / postinstall.sh
Last active June 22, 2023 00:32
My Arch postinstall script~ 🎉️
# prepare
notify(){
echo -e "Step finished, waiting 5 seconds... \007 "
sleep 5
}
clear
echo "Starting postinstall..."
MY_HOME=$(eval echo ~$SUDO_USER)
echo "My runner is: ${SUDO_USER}"