Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines
(1 edit)

Here is a clean, natural translation in English with the updated explanation and code context:

You can do a manual mapping of the music in a file, like...

Music Second
1 0:01 blue, 0:02 blue, 0:03 red

And make a simple script so that when you press "Space", it maps the note—that way you sync with the rhythm and build it as you play 

Then, you create a mathematical equation to predict how many pixels it needs to move to hit a target position X, which matches the current second, defining exactly when to hit it:

position.x += equation

It’s similar to how Friday Night Funkin' (FNF) works, just a bit simpler. This lets you sync everything through code in real time. You can store it in a simple .json file and load it later into a global variable, like:

var track_map : Dictionary = Global.TRACK_MAP[Global.level]

I translate this with Gemini, but don't worry. I write it 100%

No I mean like I'm not good at writing music

u dont need 2 write music, only do a key mapping. Like music_01.json for sync the music with the keys