Skip to content

Instantly share code, notes, and snippets.

View ZeroPyrozen's full-sized avatar
🎯
Focusing

Pyrozen ZeroPyrozen

🎯
Focusing
View GitHub Profile
@ZeroPyrozen
ZeroPyrozen / How to resize video to fit in osu!taiko playfield.md
Created February 8, 2022 12:15
How to resize video to fit in osu!taiko playfield

[Guide] How to resize video to fit in osu!taiko playfield

Introduction

osu!taiko is one of game mode in osu!. This game mode has playfield divided into two section vertically, the upper half contains taiko slider and the lower half contains the drum and empty field reserved for the rest of background image or video.

Problem

When osu!taiko or converted osu!taiko beatmap has video the playfield always cover the upper half of video. For example, スヤリス姫 (CV: 水瀬いのり) - 快眠!安眠!スヤリスト生活 (TV Size) beatmap contains video. When the beatmap played in osu!mania, the video show perfectly but when played in osu!taiko, the video is covered by playfield.

Storyboard

A storyboard (SB) is a custom-made animated background that accompanies a beatmap, often for decorative and sometimes for gameplay purposes. A storyboard can be comprised of just about anything, but usually they consist of visual effects designed to make a map more aesthetically pleasing and distinctive to users. Storyboards are inspired from the animated backgrounds found in [Osu! Tatakae! Ouendan](https://osu.ppy.

using System;
using System.Collections.Generic;
using System.Text.RegularExpressions;
using System.Linq;
namespace Test
{
public class Nasabah
{
public int NoAntrian{get; set;}
public string Nama{get; set;}
void GenerateFruit(float positionH, int startTime, int endTime, float customHeight = 0f)
{
var fruitLayer = GetLayer("fruit");
var fruitOverlayer = GetLayer("overlay");
var fruitOver = fruitLayer.CreateSprite("SB/catch/grape-overlay.png", OsbOrigin.Centre);
var fruit = fruitOverlayer.CreateSprite("SB/catch/grape.png", OsbOrigin.Centre);
var explosion = fruitLayer.CreateSprite("SB/catch/explosion.png", OsbOrigin.CentreLeft);
var explosion2 = fruitLayer.CreateSprite("SB/catch/explosion2.png", OsbOrigin.CentreLeft);
float hitHeight = 400f;
using Newtonsoft.Json;
using RestSharp;
using System;
using System.IO;
using System.Threading;
using System.Threading.Tasks;
namespace RankedScoreOverlay
{
class Program
@ZeroPyrozen
ZeroPyrozen / SimpleStageSelectionByVoteSystem.cs
Created March 31, 2021 10:22
Simulation of Stage Selection in C#
using System;
using System.Collections.Generic;
using System.Linq;
public class Program
{
public static void Main()
{
SimulateSingleWinningStage();
SimulateMultipleWinningStage();
}
#include <stdio.h>
int main()
{
int x, subTotal, total;
x = 5;
total = 0;
for(int i=1; i<=x; i+=2)
{
subTotal = 0;
#include<iostream>
#include<conio.h>
#include<string.h>
#include<stdio.h>
using namespace std;
int main()
{
char kata1[300];
@ZeroPyrozen
ZeroPyrozen / SingleLinkedList.c
Created March 29, 2020 13:16
Single Linked List Example in C Program
#include <stdio.h>
#include <stdlib.h>
int main()
{
//Data Structure Initialization
struct SingleLinkedListNode
{
int nodeID;
char nodeItemName[100];
#define _CRT_SECURE_NO_WARNINGS
#include <iostream>
#include <stdio.h>
#include <conio.h>
#include <iomanip>
namespace std {};
using namespace std;
struct gaji {