Skip to content

Instantly share code, notes, and snippets.

@rare25
rare25 / 2Dto3D.txt
Created October 14, 2019 11:55
弾幕風で2D座標から3D座標を求めるスクリプト
#東方弾幕風[Stage]
#ScriptVersion[3]
#Title[""]
#Text[""]
#Image[""]
#System[""]
@Initialize
{
SetStgFrame(0,0,GetScreenWidth,GetScreenHeight,20,80);
@rare25
rare25 / main.cpp
Last active October 24, 2020 01:03
DxLibとOpenCVの動画出力サンプル
#define _CRT_SECURE_NO_WARNINGS 1
#include "DxLib.h"
#include <opencv2/opencv.hpp>
void MixSound(int main, int sub, int samplePos) {
int sampleNum = GetSoftSoundSampleNum(sub);
for (int i = 0; i < sampleNum; i++) {
int ch1 = 0;