- Bullets make a sound when they hit a wall
- Image gets color shifted, desaturated and noisy if player has too few bits
- Added doors
- Player names (non-editable yet)
- "Tutorial rooms" - very short, stripped down rooms, which aim to make certain game play concepts/mechanics clear
- A way to choose input type at the start of the program
- A lot more maps
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
local trace = require("trace") | |
local imageIndex = 1 | |
local image | |
local outline | |
local boundingBox | |
function updateBoundingBox(padding) | |
-- minX, minY, maxX, maxY | |
boundingBox = {math.huge, math.huge, 0, 0} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import os | |
import sys | |
cmd = 'ffmpeg -r 60 -i "{dirName}/%d.png" -y -c:v libx264 -vf "format=yuv420p" -r 60 "{dirName}.mp4"' | |
for dirName in os.listdir("."): | |
if os.path.isdir(dirName) and (len(sys.argv) <= 1 or dirName in sys.argv[1:]): | |
os.system(cmd.format(dirName=dirName)) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#ifndef __SIGNAL_HPP_INCLUDED__ | |
#define __SIGNAL_HPP_INCLUDED__ | |
#include <cstdio> | |
#include <vector> | |
#include <functional> | |
// eraz on ##c++@freenode helped me with this, by pointing me to std::function! | |
// Here we use std::function like template syntax, by defining a generic Signal and |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
entityTypes["levelGeometry"] = { | |
label = "Level geometry", | |
components = { | |
{ | |
id = "core", | |
componentType = "Core", -- every entity type has to have a core component | |
}, | |
{ | |
id = "transforms", | |
componentType = "Transforms", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"RadioPanel.txt" | |
{ | |
//"SFUI_StandardRadio" | |
//"SFUI_GroupRadio" | |
//"SFUI_ReportRadio" | |
"Groups" | |
{ | |
"standard" | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
mp_respawn_on_death_ct 1 | |
bot_stop 1 | |
say Please execute bot_kick before executing this file. 10 bots will be placed | |
bot_add_ct | |
bot_add_ct | |
bot_add_ct | |
bot_add_ct | |
bot_add_ct |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sv_cheats 1 | |
bot_kick | |
bot_stop 1 | |
mp_autokick 0 | |
mp_freezetime 0 | |
mp_roundtime 60 | |
mp_roundtime_defuse 60 | |
mp_roundtime_hostage 60 | |
mp_limitteams 0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Launch options: -console -novid -threads 4 -high -nojoy | |
echo " ___ _ _ ___ _ | |
echo " |_ | | |( ) / _ \ | | " | |
echo " | | ___ ___ | ||/ ___ / /_\ \ _ _ | |_ ___ ___ __ __ ___ ___ " | |
echo " | | / _ \ / _ \| | / __| | _ || | | || __| / _ \ / _ \\ \/ / / _ \ / __|" | |
echo "/\__/ /| (_) || __/| | \__ \ | | | || |_| || |_ | (_) || __/ > < | __/| (__ " | |
echo "\____/ \___/ \___||_| |___/ \_| |_/ \__,_| \__| \___/ \___|/_/\_\ \___| \___|" | |
echo "" | |
echo "Saved in <Steam Library>\SteamApps\common\Counter-Strike Global Offensive\csgo\cfg" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import re | |
import sys | |
from collections import defaultdict | |
class Node: | |
def __init__(self, string, parent = None): | |
self.string = string | |
self.parent = parent | |
self.children = [] | |