fixed mono audio

master
Zac 4 years ago
parent 5c545f31af
commit 7647b930b0
  1. 2
      scenes/Page.tscn
  2. 4
      scripts/globals/AudioManager.gd
  3. 2
      test_files/Test_Scene.tscn

@ -5,7 +5,7 @@
[ext_resource path="res://assets/TypeWriter_Italic.tres" type="DynamicFont" id=3]
[ext_resource path="res://assets/TypeWriter_Regular.tres" type="DynamicFont" id=4]
[node name="Page" type="Control" index="0"]
[node name="Page" type="Control"]
anchor_left = 0.0
anchor_top = 0.0

@ -16,8 +16,8 @@ const BusInfo = {
const CensorStream = "res://audio/sfx/censor.wav"
# the vars that hold refs to audio players
var _track_player = AudioStreamPlayer2D.new()
var _censor_player = AudioStreamPlayer2D.new()
var _track_player = AudioStreamPlayer.new()
var _censor_player = AudioStreamPlayer.new()
# private vars that don't need to get out ;)
var _current_track

@ -4,7 +4,7 @@
[ext_resource path="res://scripts/CensorControl.gd" type="Script" id=2]
[ext_resource path="res://scenes/Page.tscn" type="PackedScene" id=3]
[node name="Test" type="Control"]
[node name="Test" type="Control" index="0"]
anchor_left = 0.0
anchor_top = 0.0

Loading…
Cancel
Save