Skip to content

Instantly share code, notes, and snippets.

Avatar

robertpfeiffer

View GitHub Profile
@robertpfeiffer
robertpfeiffer / readme.txt
Created Apr 10, 2020
_______________ (PuzzleScript Script)
View readme.txt
Play this game by pasting the script in http://www.puzzlescript.net/editor.html
@robertpfeiffer
robertpfeiffer / readme.txt
Created Apr 10, 2020
_______________ (PuzzleScript Script)
View readme.txt
Play this game by pasting the script in http://www.puzzlescript.net/editor.html
@robertpfeiffer
robertpfeiffer / readme.txt
Created Apr 10, 2020
_______________ (PuzzleScript Script)
View readme.txt
Play this game by pasting the script in http://www.puzzlescript.net/editor.html
@robertpfeiffer
robertpfeiffer / readme.txt
Created Apr 10, 2020
_______________ (PuzzleScript Script)
View readme.txt
Play this game by pasting the script in http://www.puzzlescript.net/editor.html
View terminal.py
# Copyright (c) 2020 Robert Pfeiffer
# Terminal simulator
import pygame
pygame.init()
screen=pygame.display.set_mode((640,480), pygame.SCALED)
clock=pygame.time.Clock()
class Terminal(object):
View jrpg_dialogue_example.py
import pygame
import sys
import webm_recording
from yarn.ninepatch import NinePatchTemplate
from yarn.jrpg_froentend import Dialogue
pygame.init()
screen=pygame.display.set_mode((320,240), pygame.SCALED)
group=pygame.sprite.Group()
@robertpfeiffer
robertpfeiffer / FlxYarn.hx
Created Dec 11, 2015
Flixel+Yarn base code for Ludum Dare
View FlxYarn.hx
//COPYRIGHT (c) 2015 Robert Pfeiffer
//ALL RIGHTS RESERVED
package;
import flixel.FlxG;
import flixel.FlxObject;
import flixel.FlxSprite;
import flixel.FlxState;
import flixel.text.FlxText;
View gist:1354738
(use 'clojure.algo.generic.arithmetic)
(use '[de.blubberquark.autodiff.core :only [derivative]])
(defn fun [x]
(reduce *
(for [i (range 20)] (+ x(* x i)))))
(fun 3N)
((derivative fun) 3N)
@robertpfeiffer
robertpfeiffer / headers.txt
Created Sep 27, 2011
XeTex für Org Mode
View headers.txt
#+LATEX_CMD: xelatex
#+LATEX_HEADER: \setmainfont[Mapping=tex-text]{Gentium}
#+LATEX_HEADER: \setdefaultlanguage{german}
View gist:862499
libxml2-dev zlib1g-dev libcurl4-gnutls-dev libc6-dev libfreetype6-dev libgdal1-dev libgif-dev libxi-dev libxmu-dev freeglut3-dev libcoin60-dev libjasper-dev libjasper-dev libjpeg62-dev libc6-dev libopenal-dev libgl1-mesa-dev libglu1-mesa-dev libpng12-dev libc6-dev libtiff4-dev libxine-dev zlib1g-dev git subversion git-svn cmake checkinstall build-essential
You can’t perform that action at this time.