Skip to content

Instantly share code, notes, and snippets.

hedgehog90

Block or report user

Report or block hedgehog90

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View the.real.sonic.the.hedgehog.part.002.1080p.mp4.credits.txt
Video:
Sonic The Hedgehog 1 [Gameplay Footage] (1991)
Bride of Frankenstein (1935)
Sonic The Hedgehog [TV Series] (1993-1994)
QVC UK - Gold Ring (2019)
Jerry Springer - Klanfrontation Fight (1995)
Music:
@hedgehog90
hedgehog90 / get_anim_datas
Created Mar 31, 2019
a helpful function for finding most of the animation datas used in a context or scene
View get_anim_datas
def get_anim_datas(context=None):
if context is None: context = bpy.context
found = set()
materials = set()
textures = set()
def found_add(o):
if o is None: raise Exception()
found.add(o)
found_add(context.scene)
View game.as
//When it comes to implementing user interfaces (buttons, detecting key presses, etc.), depending on the language & framework it is different.
//I was brought up with the concept of events and event listeners. An event is something that happens, a listener is something that will allow you to respond to certain events.
//Every game engine/framework will implement a system like this, to allow the app and the user to communicate back and forth.
//Some examples of an event would be 'Click' or 'KeyPress'. these would allow you (the coder) to detect what part of the screen the user is clicking or what keys are being pressed.
//There are also system events that you would depend on for making the game run at all, like 'EnterFrame' (fired at the beginning of each frame) or 'OnExit' if you want to perform an action (like saving the user's progress) before the app is terminated.
//By listening for these events, it's possible to create a simple game loop.
//An example of a mouse click listener:
function OnClick(e:Mouse
View basics.py
# I'm sure you already know about basic data types, like ints, floats, strings and bools, so let's start with loops and basic data structures.
# Let's see all the ways we might generate a sequence of numbers from 0-9.
# First, using a while loop and a list:
zero_to_nine = []
i = 0
while i < 10:
zero_to_nine.append(i)
i += 1
View gist:7f838a6b1ac4a7896a1ac63585595c6a
import sys
ans = sys.stdin.readline().split(" ")
guess = sys.stdin.readline().split(" ")
def count_white(ans, guess):
temp_ans = ans[:]
pegs = 0
for i in guess:
if i in temp_ans:
View lost.highway.1997.1080p.bluray.dd5.1.hevc.x265.rmteam.txt
General
Unique ID : 39283267530506054814815985473680893167 (0x1D8DAE9FBF187610E3061C098C58E4EF)
Complete name : F:\Video\Film (new)\+David Lynch Collection\lost.highway.1997.1080p.bluray.dd5.1.hevc.x265.rmteam\lost.highway.1997.1080p.bluray.dd5.1.hevc.x265.rmteam.mkv
Format : Matroska
Format version : Version 4 / Version 2
File size : 1.56 GiB
Duration : 2 h 14 min
Overall bit rate : 1 667 kb/s
Movie name : - RMTeam, Rapidmoviez.com
Description : Encoded By RMTeam, Rapidmoviez.com
View gist:cfd8bf573a01aa101c36
sprite = new Sprite({
name: "bg",
texture: tex_diffuse,
size: Luxe.screen.size,
uv: Luxe.screen.bounds,
centered: false
});
var target_texture:RenderTexture = new RenderTexture({ id:'rtt', width:512, height:512 });
var batcher:Batcher = Luxe.renderer.create_batcher({ name:'target_batcher' });
You can’t perform that action at this time.