Skip to content

Instantly share code, notes, and snippets.

View KinoAR's full-sized avatar
🏠
Working from home

Kino KinoAR

🏠
Working from home
View GitHub Profile
@KinoAR
KinoAR / TemplateLiterals.js
Last active October 16, 2016 17:25
An example of template literals syntax vs ES5 strings for Endless Illusion Software ES6 features tutorial.
//Template Literals
//Multiline Strings
//ES5
var es5string = "Hello sir, welcome to our store, I'm sure you've had"
+ "\na tough day sir."
+ "\nDon't worry, we can still help you!";
//ES6
//=============================================================================
// Block Scoped Variables
//=============================================================================
//Variable Types
//var
//let
//ES5
@KinoAR
KinoAR / Symbols.js
Last active October 31, 2016 14:33
A gist for my symbols tutorial for RPGMaker MV
//=============================================================================
// Symbols
//=============================================================================
//Creating Local Symbol
var localSymbol = Symbol("My Symbol");
//Creating Global Symbol
var mySymbol2 = Symbol.for("My Symbol2");
@KinoAR
KinoAR / Strings.js
Last active November 1, 2016 04:45
//=============================================================================
// Strings
//=============================================================================
//String Examples
//String Literals
//Double quotes
@KinoAR
KinoAR / Librarium.json
Last active November 6, 2016 20:17
A basic JSON template for the EISLibrarium RPGMAKER MV Plugin
[
{
"title": "A Testing Guide",
"pages": [
{
"pageNumber": 1,
"pageText": "This is the first page.\\TX[Dic-Anime]"
},
{
"pageNumber": 2,
@KinoAR
KinoAR / ObserverPattern.js
Created November 8, 2016 16:51
RPGMakerMV pattern for observing changes to player inventory.
//=============================================================================
// Observer Pattern
//=============================================================================
//This creates an observer in RPGMaker MV
//This is an example of checking whether an item exists on an observer
(function() {
@KinoAR
KinoAR / SocialSystem.txt
Created November 18, 2016 03:49
SocialSystem Help
//=============================================================================
// Introduction
//=============================================================================
*
* This plugin allows you to create a social system in-game.
* It stores the information on contacts on a map, and generates
* a list of contacts / people.
*
//=============================================================================
// Notetags
//=============================================================================
// How To Use
//=============================================================================
*
* This plugin uses both the ASK system and Rem System; we use comments
* to make them work together and make your life easier.
*
* First, create a new comment in RPGMaker MV.
* Within the comment type <lbite> </lbite>
* Inside that comment you type the text files you want to attach line by line.
//=============================================================================
// Introduction
//=============================================================================
*
* This plugin is completely touched based at the moment. This is based off
* FF14's Grid Inventory system. As of right now, you have quite a few options
* in terms of grid size, and items. You can also have tabs based on your inven-
* tory size (multiple pages). It comes with a mini window to open the inventory.
*
//=============================================================================
@KinoAR
KinoAR / Saber_Heart.js
Created November 25, 2016 18:08
Saber Heart Script Calls
//=============================================================================
// Script Calls
//=============================================================================
Saber.getWeapon(weaponName)
//Example
Saber.getWeapon("Rampart");
//Gets the weapon by the name in the database.
Saber.levelupWeapon(weaponName);