Skip to content

Commit

Permalink
Add a demo song
Browse files Browse the repository at this point in the history
Remember to include it in the export
  • Loading branch information
pattlebass committed Aug 10, 2022
1 parent 080e6ff commit 1d50aa5
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions demo.mdj
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
[[4,11,11,11,11,11,11,19,20,27,28,0,0,0,0],[0,0,0,11,12,11,12,19,20,27,28,0,0,0,0],[0,0,0,0,0,11,12,19,20,27,28,0,0,0,0],[0,3,0,3,0,0,0,19,20,27,28,0,0,0,0]]
4 changes: 4 additions & 0 deletions scenes/Variables.gd
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,10 @@ func _ready() -> void:
dir.make_dir_recursive(projects_dir)
dir.make_dir_recursive(exports_dir)

# Demo song
if not dir.file_exists(projects_dir.plus_file("Demo.mdj")):
dir.copy("res://demo.mdj", projects_dir.plus_file("Demo.mdj"))

# Options
timer = Timer.new()
timer.one_shot = true
Expand Down

0 comments on commit 1d50aa5

Please sign in to comment.