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
///PERSONAL KEYBINDINGS SINCE VSCODE IS A BIT OF A BITCH | |
[ | |
{ | |
"key": "cmd+r", | |
"command": "workbench.action.debug.continue", | |
}, | |
{ | |
"key": "cmd+r", | |
"command": "workbench.action.debug.start", |
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
package; | |
import kha.Framebuffer; | |
import kha.Color; | |
import kha.Assets; | |
import kha.audio2.Audio; | |
import kha.audio2.Buffer; | |
class Project { | |
public function new() { |
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
// /CUSTOM SETTING SINCE KODE STUDIO IS MY BITCH | |
{ | |
"editor.tabSize": 2, | |
"editor.fontSize": 16, | |
"editor.minimap.enabled": false, | |
"editor.wordWrap": "on", | |
"workbench.colorTheme": "Lestle", | |
"kha.khaPath": "/usr/local/lib/kha", | |
// "kha.ffmpeg": "/usr/local/lib/ffmpeg", |
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
///MY CUSTOM INIT SCRIPT FOR USE WITH KODE STUDIO, BECAUSE ITS MY BITCH | |
"use strict"; | |
const fs = require('fs'); | |
const path = require('path'); | |
function run(name, from, projectfile) { | |
if (!fs.existsSync(path.join(from, projectfile))) { | |
fs.writeFileSync(path.join(from, projectfile), "let project = new Project('New Project');\n" | |
+ "project.addAssets('Assets/**');\n" | |
+ "project.addSources('Sources');\n" |
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
{ | |
/* | |
KHA/HAXE SNIPPETS | |
Lewis Lepton | |
https://lewislepton.com | |
*/ | |
"new function": { | |
"prefix": "function", | |
"body": [ | |
"public function ${NAME}(){", |
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
/* | |
<samplecode> | |
<abstract> | |
Utility classes to manage audio formats and buffers for an audio unit implementation's input and output audio busses. | |
</abstract> | |
</samplecode> | |
*/ | |
#import <AudioToolbox/AudioToolbox.h> | |
#import <AudioUnit/AudioUnit.h> |
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
/* | |
AUTO-COMPLETE SNIPPETS FOR GLSL WITHIN VISUAL CODE STUDIO | |
Lewis Lepton | |
https://lewislepton.com | |
useful places that i grabbed info from | |
http://www.shaderific.com/glsl | |
https://www.khronos.org/opengl/wiki/OpenGL_Shading_Language | |
plus various other papers & books | |
*/ |