Skip to content

Instantly share code, notes, and snippets.

@jetrotal
jetrotal / CommandStoreCommands.cpp
Last active November 22, 2023 19:17
CommandStoreCommands
//...
case static_cast <Game_Interpreter::Cmd>(2099): //easyrpg_storeCommands
return CommandStoreCommands(com);
//...
bool Game_Interpreter::CommandStoreCommands(lcf::rpg::EventCommand const& com) {
//$storeCommands "preffix",[evtType_isVar, evtType, evtId_isVar, evtId, evtPage_isVar, evtPage, targetStrVar_isVar, targetStrVar]
// 2099, "@easyrpg_raw", [1,4, 1,5, 1,6, 1,7], 0;
int evtType = ValueOrVariable(com.parameters[0], com.parameters[1]);
@jetrotal
jetrotal / 2d-slider-xy-pad.markdown
Created July 27, 2022 10:28
2D Slider / XY Pad
@jetrotal
jetrotal / 2d-slider-xy-pad.markdown
Created July 27, 2022 10:10
2D Slider / XY Pad
@jetrotal
jetrotal / 2d-slider-xy-pad.markdown
Created July 27, 2022 10:05
2D Slider / XY Pad
@jetrotal
jetrotal / 2d-slider-xy-pad.markdown
Created July 27, 2022 10:04
2D Slider / XY Pad
@jetrotal
jetrotal / 2d-slider-xy-pad.markdown
Created July 27, 2022 09:24
2D Slider / XY Pad
@jetrotal
jetrotal / export_SVG_cc2017.jsfl
Last active May 15, 2019 21:20 — forked from Hoikohroh/export_SVG_003.jsfl
Flash script(jsfl):export SVG
/*
This Script exports all frames from a FLA project to a sequence of SVG files.
It was made to work with Animate CC 2017.5 (not tested on others versions)
Based on Hoikohroh Original's code from 2014: https://gist.github.com/Hoikohroh/f2fb49c78efde4e705b5
*/
//fl.outputPanel.clear();
var doc = fl.getDocumentDOM();