jbeder / yaml-cpp

A YAML parser and emitter in C++
MIT License
4.91k stars 1.78k forks source link

Is it possible to export multiple map #1220

Closed Renardjojo closed 9 months ago

Renardjojo commented 10 months ago

Hello, I've looked in the tutorial and in the issues but I haven't found an answer to this question. I would like to export several maps like this:

Game :
    FPS: 60
    RandomSeed: -1
Physic:
    PhysicFrameRate : 60
    Bounce: 0.6
GamePlay :
    CoyoteTimeCursorMovement: 0.05

It loads correctly but I can't find a way to export it like this without creating a sequence or without creating several documents with the "---" separator.

Thank you

Renardjojo commented 9 months ago

Oh simple, I found the answere into your tutorial. I need to create my own node and them use emitter to export it into my file