1
Ask a Question / Music playing Issue - Windows/Linux
« on: May 31, 2016, 01:30:02 pm »
The issue I'm having is only when I test my game in either Windows or Linux. Flash works great.
Stencyl version: 3.4.0 (beta3)
So have a trigger event in behavior block that runs in the create event for the scene. The event in the behavior checks if a new song should be played and which song based on what I selected for that scene. Unfortunately, no music plays.
I tested just playing the music when the scene is created and that works, but the setup I have allows me to set the music for the scenes easier as well as easily allow a "loop song" to play right after the "start song" within the same behavior. I also added print to console blocks to the behavior and it seems the event is never triggering in Windows/Linux. So can I not run a trigger event block on a create event? If not, could anyone give me another solution for the outcome I want? Thanks!
Stencyl version: 3.4.0 (beta3)
So have a trigger event in behavior block that runs in the create event for the scene. The event in the behavior checks if a new song should be played and which song based on what I selected for that scene. Unfortunately, no music plays.

I tested just playing the music when the scene is created and that works, but the setup I have allows me to set the music for the scenes easier as well as easily allow a "loop song" to play right after the "start song" within the same behavior. I also added print to console blocks to the behavior and it seems the event is never triggering in Windows/Linux. So can I not run a trigger event block on a create event? If not, could anyone give me another solution for the outcome I want? Thanks!