This file contains hidden or 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
#東方弾幕風[Stage] | |
#ScriptVersion[3] | |
#Title[""] | |
#Text[""] | |
#Image[""] | |
#System[""] | |
@Initialize | |
{ | |
SetStgFrame(0,0,GetScreenWidth,GetScreenHeight,20,80); |
This file contains hidden or 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
#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; |