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
// raylib+Bullet physics | |
// Sam Jackson | |
// Partially based off this: https://github.com/bulletphysics/bullet3/blob/master/examples/HelloWorld/HelloWorld.cpp | |
#include <vector> | |
#include <btBulletDynamicsCommon.h> | |
#include <raylib.h> | |
btDefaultCollisionConfiguration* collision_configuration; |
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 pyglet | |
from pyglet import shapes | |
from pyglet.math import Vec2 | |
from random import random | |
window_width = 800 | |
window_height = 600 | |
mouse_position = Vec2(0, 0) | |
window = pyglet.window.Window(window_width, window_height) |
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
<!DOCTYPE html> | |
<html lang="en" dir="ltr"> | |
<head> | |
<meta charset="utf-8"> | |
<title></title> | |
</head> | |
<style media="screen"> | |
canvas { | |
background-size: 100px 100px; |
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
-- Script for first person in Silent Hill in BizHawk | |
-- | |
-- Submit improvments at https://gist.github.com/samfromcadott | |
-- | |
-- Copyright 2021 Sam Jackson | |
----------------------------- | |
-- Memory addresses | |
----------------------------- |
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
-- Free camera script for Silent Hill in BizHawk | |
-- Only tested with the North American version | |
-- | |
-- L3+R3 to toggle on and off | |
-- | |
-- Submit improvements at https://gist.github.com/samfromcadott/ | |
-- Fell free to adapt this for other games | |
-- | |
-- Copyright 2021 Sam Jackson | |
----------------------------- |