build :main do dynamic_library "sdl2" include_path "extra/include" define :debug flag "-Wall" source "src/**/*.cpp" dest "build" use :cxx end Magicafile
Scene.define :starter do character(:aotoki).say 'Hi, Player' say 'Welcome to use DSL in your game' confirm 'Are you read to start?' do yes do goto :first_level end no do exit_game end end end DSL Sample